SRCDS Steam group


How to set srcds afinity to each core?
#1
Hello !

I own a VPS with:
--------------------------------------------------------------------------------
2 dedicated cores Quad-Core AMD Opteron™ Processor 8387 @ 2800 MHz
1 GB RAM / 1 GB swap.
Ubuntu Server 12.04.3 LTS (GNU/Linux 2.6.32-042stab081.3 x86_64)
--------------------------------------------------------------------------------

I host a tf2 and a csgo server on it , but because I experience occasionaly lag spikes , I want to set the servers to use one core each , how to achieve that?

I have tried the following , I mean the command line , for example for tf2 server is:

Code:
taskset -c 1 screen -d -S tf2 -m nice -n -20....

but when I type "taskset -p {PID of srcds_run here}" I see the output:

Code:
"...current affinity mask: ffff"

which means that the affinity didn't set properly , what I made wrong?

Reply
#2
Is this code used to launch the game?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)