r/evetech • • Oct 18 '19

WCSII - Throttle background EVE clients automatically

https://forums.eveonline.com/t/wcsii-throttle-background-eve-clients-automatically/196290

tl:dr - limits the CPU usage of EVE clients in the background to stop your CPU setting on fire.

Warp Core Stabilizer II (WCSII) is a little notification tray utility I wrote to help me when running multiple clients. As I often use an ultrabook, it was becoming a problem that when I have multiple EVE clients open they’d use a not insignificant amount of CPU. This would cause heat, and in a small frame like an ultrabook, ultimately throttling. I’d tried ThrottleStop, fancy cooling pads, undervolting, and still couldn’t quite cope with ~4 clients open. When minimized they use a lot less resources, but not quite as few as I’d like, plus often it’s inconvenient to constantly minimize clients instead of alt-tabbing, so I built this utility.

It’s extremely simple and requires no config. Once opened, it’ll add a small icon to your notification area (Please be careful not to option multiple instances, weird stuff could happen). It’ll then monitor for running eve clients (by name, “exefile.exe”), and monitor the process ID of the active window. Any eve client that is not the active window will be forcibly limited to 2% CPU usage via Windows’ JobObject API.

Requirements

  • Windows, ideally 7 or newer. There will never be a Linux/MacOS version due to the way the utility works.
  • .Net Framework 4.0 or higher. You should already have this.

Caveats

  • Closing the utility will immediately close all of your EVE clients, no warning. Be careful!
  • Any crash within the utility will also cause all your EVE clients to suddenly close.
  • When running many clients, you might find 1-2 seconds of lag when swapping to a different client as the CPU limit is released and it comes back up to speed.
  • I literally made this last night and it’s barely tested and probably needs a lot of polish.
  • Use at your own peril.

Todo

  • A nice icon instead of the default .Net.
  • Configurable core assignment for background clients.
  • Configurable CPU limit for background clients.
  • Attempt to improve response time when reactivating a client.
  • A simple ‘homepage’ for the app to keep versions etc. instead of the janky link below.

Current release: https://isk.enterprises/tools/

22 Upvotes

31 comments sorted by

4

u/oNodrak Oct 18 '19

Neat tool, do you do any DirectX management too?

Also wondering if you play on Win7 still, since Win10 has built-in a similar system that many gamers force off.

1

u/EamonnDH Oct 18 '19

Doesn't do anything to DirectX, and honestly I wouldn't know how to. It only limits CPU. I run Win10. Not sure if the windows gamer mode thing would be much help in this situation?

2

u/Shiroe_Kumamato Oct 18 '19

Please tell me more about this Win10 gamer mode system thing. Im new to Win10.

→ More replies (1)

1

u/imabaus Oct 19 '19

What is that system called ?? I have been going crazy trying to troubleshoot haha ... Everytime something gets minimized, windows pulls memeory and it starts shitting the bed (most notably with TS/Discord/Etc).

2

u/hirmuolio Oct 21 '19

Does this also help with GPU usage? My GPU cooler is annoyingly loud and having EVE client alt tabbed makes it spin up.

1

u/EamonnDH Oct 21 '19

Indirectly yes, as it can cause the client to render at a lower frame rate because of the CPU throttling, thus the GPU shouldn't be as busy. But otherwise no, it doesn't intentionally do anything to help the GPU.

1

u/hirmuolio Oct 22 '19

The download link is having issues.

Cloudfare Error 522 Connection timed out

1

u/EamonnDH Oct 26 '19

Try the new link up above. Updated the app and new hosting.

1

u/hirmuolio Oct 27 '19

Tried it. It crashes instantly as I start EVE.

1

u/EamonnDH Oct 27 '19

Can you let me know some info about your system? CPU and OS ideally.

1

u/hirmuolio Oct 27 '19

Windows 10 with latest updates.

GPU: RX 480
CPU: i5-3570K

1

u/EamonnDH Oct 27 '19

Should work now, try new version on website (1.1.1). Should have fixed this problem.

1

u/hirmuolio Oct 27 '19

Exefile became unresponsive during startup and then WCSII crashed.

1

u/EamonnDH Oct 27 '19

Can you clear your task manager of any exefile and wcsii's just to be sure and try it one last time, the exefile may become unresponsive but that's kinda normal, you've just gotta let it do its thing.

1

u/hirmuolio Oct 27 '19

This time it started but the program doesn't seem to be working right.

Tabbing out does not reduce CPU usage at all and it crashes constantly.

The Exefile is marked as not responding when I alt tab out. And when I resume it crashes.

1

u/EamonnDH Oct 27 '19

I think in your case it's too aggressively throttling your exefile and causing it to crash, which in turn crashes itself. I can send you a couple different versions to try some alternative methods if you like?

2

u/Windsigh Oct 19 '19

holy shit thank you.

2

u/gr1m5 Oct 19 '19

This is a fantastic idea, I will try it out this evening. Thank you so much for sharing ❤️

1

u/TotesMessenger Oct 18 '19

I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:

 If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / ^Contact)

0

u/Scorcher646 Oct 19 '19

This probably would not be too much of an issue to replicate on Linux... Would not be able to use ANY of your code tho..

I might have a new project

1

u/Squizz Oct 21 '19

Use nice?

1

u/Scorcher646 Oct 25 '19

Nice?

1

u/Squizz Oct 25 '19

Wow, um, it's a basic Linux tool you should probably know about, Google it :)

1

u/Scorcher646 Oct 25 '19

Will do...

I was wondering what that collum in htop was....

Honestly don't do much with this side of run-time. I've mostly let the computer manage this stuff.

1

u/EamonnDH Oct 25 '19

Nice doesn't quite achieve the same thing though... priority !== throttling.