SRCDS Steam group


SRCDS affinity problem
#1
Question 
Hi, so I bought a 4-core VPS server from a GSP and I am currently running 4 servers from it (1 server per core), Im running 3 gmod servers and 1 TF2 server. My main gmod server, which is darkrp and has 45 slots, uses a lot more CPU then my other servers, and if I don't assign it to its own core it causes other servers, and itself, to get lag spikes and random FPS drops. I have tried using the /affinity command in the startup line, but it never starts on the right core. Example: If I have /affinity 3 on the startup line, it would use cores 1 & 2, or if I was to put /affinity 1 or 4, they both use core 2. And I know that for windows anyway, core 1 is considered core 0, but if I put /affinity 0 in the startup line, the server refuses to start and displays an error that I cant read because the window seems to try and "spam" restart the server so fast it just flickers. My startup line for my Gmod server is:
Code:
start /abovenormal /affinity 3 /wait C:\con_gaming\srcds.exe -console -game garrysmod +gamemode darkrp +port 27015 +map rp_downtown_v4c -maxplayers 45
My CPU is: Intel Xeon E5-2690 @ 2.9 GHz, And I have 4 GB of ram. Like I said, this is a VPS, so maybe that's why its not working right. I Don't know. Anyway, thanks for any help in advance.
Reply
#2
No one knows eh? Im not surprised. This problem is really weird : /
Reply
#3
Hi there, Mr Source Guy!

Do you've Windows Server 2008 R2, Windows Server 2008 R2 Enterprise, Windows Server 2008 R2 Database, Windows Server 2012 R2 or Windows Server 2012 R2 Database?
For more help, just hit me:
Steam: bilbodog
Skype: bilbodog2
Facebook: http://www.facebook.com/bilbodog2

And don't forget to +rep [Image: NET-5.png]
- Best Regards bilbodog (Casper Thomsen)
Reply
#4
It just says Windows Server 2012 R2, I don't know if its database or enterprise. Also, note that if I put /affinity 6 in the startup line, the server runs on cores 1, 2 and 3. I find this really odd because I only have a 4 core VDS.

EDIT: I looked at the OS information and it says its Windows Server 2012 R2 Standard.
Reply
#5
If you still looking for this, you'll need to use hex codes

Take look here
http://www.eightforums.com/tutorials/40339-cpu-affinity-shortcut-program-create-windows.html
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)