SRCDS Steam group


Affinity: 1 gameserver per cpu core
#1
Found this out some time ago:

put in commandline of ur bat/restart script:

start /min /wait /b /affinity 2 srcds.exe
So this means srcds.exe runs now on only core 1

affinity 1 = core 0
affinity 2 = core 1
affinity 4 = core 2
affinity 8 = core 3
affinity 10 = core 4
affinity 20 = core 5
affinity 40 = core 6
affinity 80 = core 7

Everything between affinity numbers is a combination of multiple cores
Reply
#2
thanks Big Grin. Ill put this in my favorites
Slå den med jeres fiberforbindelser...

[Image: 1308107839.png]
Reply
#3
thanks for this, great stuf
Jim
CEO
Co-Founder
Veloci Servers
¤ø„¸¨°º¤ø„¸ ¸„ø¤º°¨¸„ø¤º°¨
¨°º¤ø„¸ Hardstyle ¸„ø¤º°¨
¸„ø¤º°¨ Q Dance ``°º¤øFrom Ireland
Reply
#4
Hmmm, im sure i made a post about it somewhars...

Ok from what i have tested (based on a 4 core system on server 2003) basically all this is doing is telling srcds which cores it can use and if one of the cores are overloaded it switches to a different one
#1 : Core 1
#2 : Core 2
#3 : Core 1,2
#4 : Core 3
#5 : Core 1,3
#6 : Core 2,3
#7 : Core 1,2,3
#8 : Core 4
#9 : Core 2,4
#10 : Core 1,4
#11 : Back to Core 1 (didnt test anything past 10)
Hmmm seemed to miss one, will check later and repost update one, core 3,4 missing

Ok, so all the affinity does is tell which cores it can use and which cores it cant, it still only uses one core for processing but if that core has too many applications it can change to a different core.
Has the numbers between them (i dont have an 8 core server (octo-server))
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)