05-10-2009, 08:22 PM
are you running hlds or srcds? can you post a fps-meter measurement?
also you can try the following (probably only useful for hlds):
Set the kernel HZ to 1000 (if not already set to it). Use the following resched.sh script:
run the idler 4 times, one for each core:
then run each hlds on a separate core:
etc.
I don't know if this helps, as similar things did not for me, but I have a different cpu (dual core E8200). I have found this in another howto: http://www.howto-cs16-root.de/gen_rest.htm (unfortunately in German). Please give me feed back, if this helps. Maybe I can extend my howto then...
also you can try the following (probably only useful for hlds):
Set the kernel HZ to 1000 (if not already set to it). Use the following resched.sh script:
Quote:#!/bin/sh
PIDS=`ps ax | grep sirq-timer | grep -v grep | sed -e "s/^ *//" -e "s/ .*$//"`
for p in $PIDS; do
chrt -f -p 51 $p
done
PIDS=`pidof srcds_i686`
for p in $PIDS; do
chrt -f -p 98 $p
done
PIDS=`pidof srcds_i486`
for p in $PIDS; do
chrt -f -p 98 $p
done
PIDS=`pidof hlds_i686`
for p in $PIDS; do
chrt -f -p 98 $p
done
run the idler 4 times, one for each core:
Code:
nice -n +19 taskset -c 0 screen -AmdS idler1 ./idler
nice -n +19 taskset -c 1 screen -AmdS idler2 ./idler
nice -n +19 taskset -c 2 screen -AmdS idler3 ./idler
nice -n +19 taskset -c 3 screen -AmdS idler4 ./idler
then run each hlds on a separate core:
Code:
taskset -c 0 screen -AmdS cs-server ./hlds_run blablabla
taskset -c 1 screen -AmdS cs-server ./hlds_run blablabla
taskset -c 2 screen -AmdS cs-server ./hlds_run blablabla
I don't know if this helps, as similar things did not for me, but I have a different cpu (dual core E8200). I have found this in another howto: http://www.howto-cs16-root.de/gen_rest.htm (unfortunately in German). Please give me feed back, if this helps. Maybe I can extend my howto then...
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!