SRCDS Steam group


Multiple servers on differents CPU's cores ?
#1
Question 
Hello !

I would like to know something about SRCDS for Linux : Is it possible to host a server on a specific CPU core ? If yes how you do it ? For exemple, I would like to host my CSS Fun & War servers on the first CPU core, my TF2 Idle and Trade servers on the second core, the Killing Floor and ZPS servers on the third etc...

I'm running "Debian 6.0 Squeeze (64 bits)" on a "3.2.13 x86_64 & SMP & HZ_1000" kernel hosted by OVH.

Thanks for the help

Shepard
Reply
#2
it hardly is SRCDS specific but you are looking for command "nice"
try "man nice"
Best Regards,
Stinkyfax
Reply
#3
He's looking for "affinity":
http://www.cyberciti.biz/tips/setting-processor-affinity-certain-task-or-process.html
Warning Level: 0%
Reply
#4
Thanks for the replies guys, but can you help me a bit further, I am not very experienced in Linux =D
Reply
#5
http://www.cyberciti.biz/tips/setting-processor-affinity-certain-task-or-process.html
http://www.ibm.com/developerworks/linux/library/l-affinity/index.html
http://linux.die.net/man/1/taskset

Time to read boy
Warning Level: 0%
Reply
#6
(04-28-2012, 06:33 AM)Arjen Wrote:  http://www.cyberciti.biz/tips/setting-processor-affinity-certain-task-or-process.html
http://www.ibm.com/developerworks/linux/library/l-affinity/index.html
http://linux.die.net/man/1/taskset

Time to read boy
Thank you both ! taskset solved my problem ! =)
Reply
#7
Nice is useless. Use chrt. Nice does nothing as the scheduler has more logic for chrt as SCHED_FIFO/SCHED_RR is /alot/ better to use than renicing a process.
http://leaf.dragonflybsd.org/~gary

“The two most common elements in the universe are hydrogen and stupidity.”








Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)