SRCDS Steam group


CS:S spike when someone join
#1
Server OS: Ubuntu Server 8.04 64-bit
Kernel: 2.6.26.8-rt16-rt
Processor: Intel® Core™2 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 ?
Reply
#2
+fps_max 0 (Unlimited) humm...... Try setting it to a more stable fps (+fps_max 300)
[Image: signature.jpg]

Reply
#3
same problem with +fps_max 300 , when players join it spike
Reply
#4
a spike? you mean higher fps than nominal? e.g. fps > 1000 if you are running with fps_max 0 at 1000 fps? can you show us a fps-meter measurement showing this?

did you try other clock sources than tsc?
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#5
I mean when someone join the game. All players are warping/teleporting. I'ill do a fps-meter soon.
Reply
#6
Have you got any server modifications installed? If so disable or remove them and see if it still happens.
[Image: signature.jpg]

Reply
#7
(04-12-2010, 10:11 PM)kain86 Wrote:  I mean when someone join the game. All players are warping/teleporting. I'ill do a fps-meter soon.

that is not a spike for sure :-) If it has something to do with the FPS it will be a massive drop.
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)