Posts: 7
Threads: 3
Joined: Oct 2007
Reputation:
0
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
Posts: 1,127
Threads: 22
Joined: Sep 2008
Reputation:
10
thanks

. Ill put this in my favorites
Slå den med jeres fiberforbindelser...
[IMG]*****www.speedtest.net/result/1308107839.png[/IMG]
Posts: 1,006
Threads: 65
Joined: Feb 2008
Reputation:
14
thanks for this, great stuf
Jim
CEO
Co-Founder
Veloci Servers
¤ø„¸¨°º¤ø„¸ ¸„ø¤º°¨¸„ø¤º°¨
¨°º¤ø„¸ Hardstyle ¸„ø¤º°¨
¸„ø¤º°¨ Q Dance ``°º¤øFrom Ireland
Posts: 1,033
Threads: 13
Joined: Oct 2008
Reputation:
11
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))
[img]*****cache.www.gametracker.com/server_info/173.58.194.29:27015/b_350x20_C002748-004880-FFFFFF-000000.png[/img]