I'm running a 4-core Windows Server 2012 VDS, intended for hosting a couple of garrysmod servers.
To keep the servers at bay and work independently, I want to set the core affinity of srcds separately so they use 1 core each. This can be done through task manager or other thirdparty tools, but setting this everytime I want srcds to start is quite annoying, so I read up that you can use the /affinity switch on cmd's start command. I've tried using this is multiple ways, the server starts without errors but the affinity is ALWAYS set to core 0 and core 0 only, always.
I'd need some help here.
List of things I've tried:
- start "" /affinity 5 srcds.exe blablabla
- start "" /affinity 0x5 srcds.exe blablabla
- start /affinity 5 srcds.exe blablabla
- start /affinity 0x5 srcds.exe blablabla
I've tried /affinity with other apps, and it doesn't work there either. It actually feels like all apps (non-multithreaded??) starts with only core0, using start or just doubleclicking them. I can set them to all cores in taskmanager however.
tl;dr:
core affinity is completly messed up in my windows server 2012 installation.