04-12-2010, 06:00 AM
Server OS: Ubuntu Server 8.04 64-bit
Kernel: 2.6.26.8-rt16-rt
Processor: Intel® Core2 Quad CPU Q9550 @ 2.83GHz
Ram: 8Gb
Bandwidth: 100mbits
I have some problem with my gameservers. when someone join in and only just when someone join in the gameserver spike.
I have follow http://wiki.fragaholics.de/index.php/EN:Linux_Kernel_Optimization to compile my kernel
I have only 6 CSS servers on this box. All with tickrate 100 +fps_max 0.
#1 - 24 slot - taskset -c 0 screen ./srcds_run
#2 - 24 slot taskset -c 2 screen ./srcds_run
#3 - 12 slot taskset -c 2 screen ./srcds_run
#4 - 24 slot taskset -c 1 screen ./srcds_run
#5 - 24 slot taskset -c 3 screen ./srcds_run
#6 - 12 slot taskset -c 3 screen ./srcds_run
But there was just the #1 and the #4 with players in it
I use /usr/local/sbin/resched.sh
I really don't know where is the problem, can you help me ?
Kernel: 2.6.26.8-rt16-rt
Processor: Intel® Core2 Quad CPU Q9550 @ 2.83GHz
Ram: 8Gb
Bandwidth: 100mbits
I have some problem with my gameservers. when someone join in and only just when someone join in the gameserver spike.
I have follow http://wiki.fragaholics.de/index.php/EN:Linux_Kernel_Optimization to compile my kernel
I have only 6 CSS servers on this box. All with tickrate 100 +fps_max 0.
#1 - 24 slot - taskset -c 0 screen ./srcds_run
#2 - 24 slot taskset -c 2 screen ./srcds_run
#3 - 12 slot taskset -c 2 screen ./srcds_run
#4 - 24 slot taskset -c 1 screen ./srcds_run
#5 - 24 slot taskset -c 3 screen ./srcds_run
#6 - 12 slot taskset -c 3 screen ./srcds_run
But there was just the #1 and the #4 with players in it
I use /usr/local/sbin/resched.sh
Code:
#!/bin/bash
PIDS=`ps ax | grep sirq-hrtimer | grep -v grep | sed -e "s/^ *//" -e "s/ .*$//"`
for p in $PIDS; do
chrt -f -p 99 $p
done
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=`ps ax | grep sirq-net-rx | grep -v grep | sed -e "s/^ *//" -e "s/ .*$//"`
for p in $PIDS; do
chrt -f -p 99 $p
done
PIDS=`ps ax | grep sirq-net-tx | grep -v grep | sed -e "s/^ *//" -e "s/ .*$//"`
for p in $PIDS; do
chrt -f -p 99 $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
Code:
cat /sys/devices/system/clocksource/clocksource0/current_clocksource
tsc
I really don't know where is the problem, can you help me ?