SRCDS Steam group


Q: Low fps on the server.
#1
Hi.
I've got some problem with very low fps on my public server, when there are more than 10-12 players. The server is 22 slots max.
Running under fedora 12.

fps like this...
Code:
statsCPU   In    Out   Uptime  Users   FPS    Players
66.19 89929.25 174114.36     129     2   37.26      21
stats
CPU   In    Out   Uptime  Users   FPS    Players
74.46 89167.84 175306.30     129     2   41.44      21
stats
CPU   In    Out   Uptime  Users   FPS    Players
74.46 88722.98 177621.44     129     2   57.69      21
stats
CPU   In    Out   Uptime  Users   FPS    Players
74.46 88402.11 182173.27     129     2   49.17      21

This is my cpuinfo
Code:
processor    : 0
vendor_id    : GenuineIntel
cpu family    : 15
model        : 4
model name    : Intel(R) Xeon(TM) CPU 3.00GHz
stepping    : 3
cpu MHz        : 3000.000
cache size    : 2048 KB
physical id    : 0
siblings    : 2
core id        : 0
cpu cores    : 1
apicid        : 0
initial apicid    : 0
fdiv_bug    : no
hlt_bug        : no
f00f_bug    : no
coma_bug    : no
fpu        : yes
fpu_exception    : yes
cpuid level    : 5
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pebs bts pni dtes64 monitor ds_cpl cid cx16 xtpr
bogomips    : 5985.23
clflush size    : 64
cache_alignment    : 128
address sizes    : 36 bits physical, 48 bits virtual
power management:

processor    : 1
vendor_id    : GenuineIntel
cpu family    : 15
model        : 4
model name    : Intel(R) Xeon(TM) CPU 3.00GHz
stepping    : 3
cpu MHz        : 3000.000
cache size    : 2048 KB
physical id    : 3
siblings    : 2
core id        : 0
cpu cores    : 1
apicid        : 6
initial apicid    : 6
fdiv_bug    : no
hlt_bug        : no
f00f_bug    : no
coma_bug    : no
fpu        : yes
fpu_exception    : yes
cpuid level    : 5
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pebs bts pni dtes64 monitor ds_cpl cid cx16 xtpr
bogomips    : 5984.80
clflush size    : 64
cache_alignment    : 128
address sizes    : 36 bits physical, 48 bits virtual
power management:

processor    : 2
vendor_id    : GenuineIntel
cpu family    : 15
model        : 4
model name    : Intel(R) Xeon(TM) CPU 3.00GHz
stepping    : 3
cpu MHz        : 3000.000
cache size    : 2048 KB
physical id    : 0
siblings    : 2
core id        : 0
cpu cores    : 1
apicid        : 1
initial apicid    : 1
fdiv_bug    : no
hlt_bug        : no
f00f_bug    : no
coma_bug    : no
fpu        : yes
fpu_exception    : yes
cpuid level    : 5
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pebs bts pni dtes64 monitor ds_cpl cid cx16 xtpr
bogomips    : 5984.73
clflush size    : 64
cache_alignment    : 128
address sizes    : 36 bits physical, 48 bits virtual
power management:

processor    : 3
vendor_id    : GenuineIntel
cpu family    : 15
model        : 4
model name    : Intel(R) Xeon(TM) CPU 3.00GHz
stepping    : 3
cpu MHz        : 3000.000
cache size    : 2048 KB
physical id    : 3
siblings    : 2
core id        : 0
cpu cores    : 1
apicid        : 7
initial apicid    : 7
fdiv_bug    : no
hlt_bug        : no
f00f_bug    : no
coma_bug    : no
fpu        : yes
fpu_exception    : yes
cpuid level    : 5
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pebs bts pni dtes64 monitor ds_cpl cid cx16 xtpr
bogomips    : 5984.79
clflush size    : 64
cache_alignment    : 128
address sizes    : 36 bits physical, 48 bits virtual
power management:
Then a bit more info:
Motherboard:
Code:
description: Motherboard
       product: X6DA8

Disk:
Code:
description: ATA Disk
                product: Corsair CSSD-V32
                size: 29GiB (32GB)

And x4 512 DDR2 400 Mhz ECC Registered memory.

On the css server there are plugins:
Code:
0:      "Metamod:Source 1.8.2"
1:      "DoS Attack Fixer, www.sourceop.com"
Code:
01 "Swear Replacement" (1.4) by Hell Phoenix
  02 "Players Votes" (1.5.0) by The Resident, pZv!
  03 "High Ping Kicker - Lite Edition" (1.0.0.1) by Liam
  04 "Basic Votes" (1.3.2) by AlliedModders LLC
  05 "Anti-Flood" (1.3.2) by AlliedModders LLC
  06 "Player Commands" (1.3.2) by AlliedModders LLC
  07 "SuperLogs: CSS" (1.2.2) by psychonic
  08 "Basic Commands" (1.3.2) by AlliedModders LLC
  09 "Fun Commands" (1.3.2) by AlliedModders LLC
  10 "Anti-Micspam" (0.5) by FLOOR_MASTER and Bor3dGaming.com
  11 "Kigen's Anti-Cheat" (1.2.1.2) by CodingDirect LLC
  12 "Advertisements" (0.5.5) by Tsunami
  13 "HLstatsX CE Ingame Plugin" (1.6.10) by psychonic
  14 "Anticamp Source" (1.0.8.8) by Blade
  15 "Basic Comm Control" (1.3.2) by AlliedModders LLC
  16 "Admin Help" (1.3.2) by AlliedModders LLC
  17 "Admin Menu" (1.3.2) by AlliedModders LLC
  18 "Quake Sounds" (1.8) by dalto
  19 "Radio Spam Block" (1.0.0) by exvel
  20 "SourceBans" (1.4.6) by InterWave Studios Development Team
  21 "AFK Manager" (3.2.7) by Rothgar
  22 "Nextmap" (1.3.2) by AlliedModders LLC
  23 "Weapon Restrict" (2.2.7) by Dr!fter
  24 "Reserved Slots" (1.3.2) by AlliedModders LLC
  25 "Anti-Rejoin" (2.0.0) by exvel
  26 "RCON Lock" (0.6.5) by devicenull
  27 "Sound Commands" (1.3.2) by AlliedModders LLC
  28 "Client Preferences" (1.3.2) by AlliedModders LLC
  29 "Name Checker" (1.5) by Silent_Water
  30 "Basic Chat" (1.3.2) by AlliedModders LLC
  31 "Admin File Reader" (1.3.2) by AlliedModders LLC
  32 "Extra Cash" (0.2) by Peoples Army
  33 "Fun Votes" (1.3.2) by AlliedModders LLC
  34 "Basic Info Triggers" (1.3.2) by AlliedModders LLC
  35 "Anti-TK" (1.0.10) by Rothgar
  36 "SteamBans.Ru - Единая Российская Бан-Система" (1.7)

Can anyone answer the question. Is that the problem with the computer configuration or with the css server configuration?

On this computer also running a bhop server for 12 slots.
The load of cpu is lower than 50% always..
The nice is -20.
Reply
#2
Didn't you read the other threads ? ....
Your system is ok for running those servers,recompile a kernel with zen-patches and set 100 hz with dyn ticks and hrt and zen-profile (server).Also you should use fps_max 0 , host_framerate 0 , -tickrate 33/66 , sourcetv=0.
Reply
#3
(07-29-2010, 02:49 PM)saintjimmygd Wrote:  -tickrate 33/66
that command doesn't exist anymore... it's always tickrate 66, unless you reduce sv_maxcmdrate and sv_maxupdaterate e.g. to 33.

your processor is quite old, if I read the cpuinfo correctly. it is still a netburst (pentium 4) based cpu, so it is not comparable to recent xeon cpus, even with lower clock speeds. it actually might be that it is too slow since the orange box upgrade. other people have reported an increase of the cpu usage since that update (I don't see it but that doesn't mean it's there). you actually might try reducing the tickrate to 33 and limit the fps to e.g. ~333 (fps_max 400). also try, as saintjimmygd suggested, different kernels (see my howto for a guide and some suggestions which patches to try - but in your case I would disable the kernel preemption). also you might want to try disabling hyperthreading (probably a BIOS option, or disable it in the kernel).

and please let us know if something helped in the end (and what helped)!
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
#4
What's your fps_max (cvar) set at? If I remember correctly, Fedora has a very similar stock kernel to Redhat and CentOS...which stabilizes at 333hz. Thus if you're using the default value of fps_max 300, then it will do something funny like what you're posting. Try first setting fps_max 400 and see what happens.
Reply
#5
Ok. What i've got.
Recompiled and updated the kernel to 2.6.33 version. Patched wi rt patch.
Done as you said in your tutorial. Aplied 100 Hz.

Got the priority like this
Code:
1799 root     -99 -20  240m  93m  19m R 51.3  4.7   9:03.08 srcds_linux

The fps looks like this, but the server is not full.

Code:
99.57 71604.26 170727.22      21     0  107.49      14
stats
CPU   In    Out   Uptime  Users   FPS    Players
99.57 71824.38 171723.70      21     0  124.66      14
stats
CPU   In    Out   Uptime  Users   FPS    Players
99.57 71934.00 171530.34      21     0  475.06      14
stats
CPU   In    Out   Uptime  Users   FPS    Players
99.57 72102.11 170605.22      21     0  125.45      14
stats
CPU   In    Out   Uptime  Users   FPS    Players
49.77 72198.48 169299.02      21     0  467.73      14
stats
CPU   In    Out   Uptime  Users   FPS    Players
49.77 72255.58 168577.70      21     0  477.10      14
stats
CPU   In    Out   Uptime  Users   FPS    Players
49.77 72847.79 168018.86      21     0  108.53      14

have set the fps_max to 400

Trying different values and waiting till server get's full.

And there is a FPS test.
Still drops down to low fps, but holds 1000.
Fps test:
http://www.fpsmeter.org/p,view;82226.html
Reply
#6
how does it look with fewer players, or maybe none?
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
#7
Code:
CPU   In    Out   Uptime  Users   FPS    Players
0.00  0.00  0.00       0     0  642.26       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00  0.00  0.00       0     0  877.96       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00  0.00  0.00       0     0  896.06       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00  0.00  0.00       0     0  906.62       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00  0.00  0.00       0     0  914.08       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00  0.00  0.00       0     0  924.21       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00  0.00  0.00       0     0  904.98       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00  0.00  0.00       0     0  918.27       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00  0.00  0.00       0     0  912.41       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00  0.00  0.00       0     0  914.91       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00  0.00  0.00       0     0  913.24       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00  0.00  0.00       0     0  874.13       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00  0.00  0.00       0     0  885.74       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00  0.00  0.00       0     0  870.32       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00  0.00  0.00       0     0  919.96       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00  0.00  0.00       0     0  904.98       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00  0.00  0.00       0     0  876.42       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00  0.00  0.00       0     0  920.81       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00  0.00  0.00       0     0  907.44       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00  0.00  0.00       0     0  211.77       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00  0.00  0.00       0     0  907.44       0
noticed that the shooting and registration of hits is very different.
much easyer to hit and much better game play. but choke and fps is still strange..
Reply
#8
As BehaartesEtwa´s said you have an wery old cpu. But i know for fact that it can run very well. Because i have almost the same specs on my old box.

But you need to disable one plugin. But i also suggest that you remove them all. But this below is a must for you to have a chance to get better (more stable) fps.


Disable
11 "Kigen's Anti-Cheat" (1.2.1.2) by CodingDirect LLC


Why? Kigens anti cheat eats a tons of resources from your system
Reply
#9
I'll give it a try. Thank's for your advice.
Reply
#10
That's what i have now without KAC.
Code:
CPU   In    Out   Uptime  Users   FPS    Players
0.00 21687.48 42874.72      46     0  221.48       5
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00 21229.21 45363.19      46     0  917.43       5
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00 20959.33 47713.62      46     0  921.66       5
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00 20976.17 49086.77      46     0  909.09       5
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00 21193.94 49463.63      46     0  886.52       5
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00 21335.08 48434.33      46     0  908.27       5
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00 21466.85 46038.31      46     0  911.58       5
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00 21327.68 41426.69      46     0  287.03       5
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00 21019.32 38639.82      46     0  930.23       5
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00 20643.56 36144.26      46     0  914.91       5
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00 20307.34 33962.86      46     0  915.75       5
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00 20287.07 32179.79      46     0  924.21       5
stats
CPU   In    Out   Uptime  Users   FPS    Players
0.00 20546.19 30687.92      46     0  310.17       5
stats
CPU   In    Out   Uptime  Users   FPS    Players
19.90 20993.51 29530.95      46     0  925.93       5
stats
CPU   In    Out   Uptime  Users   FPS    Players
19.90 21428.81 28629.01      46     0  915.75       5
stats
CPU   In    Out   Uptime  Users   FPS    Players
19.90 21841.99 27978.22      46     0  918.27       5
Reply
#11
still that is strange, without players it should have constant 1000 fps. are you running on 32 or 64 bits?
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
#12
do you have sourcetv enabled?
Reply
#13
Running 32 bit version of fedora 12.
Sourcetv is disabled.

I think it could be trouble in DDR 400 mhz...
Can't guess why this is "DDR 400mhz". The memory is DDR2 ECC Registered.
Code:
*-memory
          description: System Memory
          physical id: 18
          slot: System board or motherboard
          size: 2GiB
        *-bank:0
             description: DIMM DDR Synchronous 400 MHz (2.5 ns)
             physical id: 0
             slot: DIMM#1A
             size: 512MiB
             width: 64 bits
             clock: 400MHz (2.5ns)
        *-bank:1
             description: DIMM DDR Synchronous 400 MHz (2.5 ns)
             physical id: 1
             slot: DIMM#2A
             size: 512MiB
             width: 64 bits
             clock: 400MHz (2.5ns)
        *-bank:2
             description: DIMM DDR Synchronous 400 MHz (2.5 ns) [empty]
             physical id: 2
             slot: DIMM#3A
             clock: 400MHz (2.5ns)
        *-bank:3
             description: DIMM DDR Synchronous 400 MHz (2.5 ns) [empty]
             physical id: 3
             slot: DIMM#4A
             clock: 400MHz (2.5ns)
        *-bank:4
             description: DIMM DDR Synchronous 400 MHz (2.5 ns)
             physical id: 4
             slot: DIMM#1B
             size: 512MiB
             width: 64 bits
             clock: 400MHz (2.5ns)
        *-bank:5
             description: DIMM DDR Synchronous 400 MHz (2.5 ns)
             physical id: 5
             slot: DIMM#2B
             size: 512MiB
             width: 64 bits
             clock: 400MHz (2.5ns)
        *-bank:6
             description: DIMM DDR Synchronous 400 MHz (2.5 ns) [empty]
             physical id: 6
             slot: DIMM#3B
             clock: 400MHz (2.5ns)
        *-bank:7
             description: DIMM DDR Synchronous 400 MHz (2.5 ns) [empty]
             physical id: 7
             slot: DIMM#4B
             clock: 400MHz (2.5ns)
Reply
#14
I think you are mistaken, your mainboard does not support DDR2:
http://www.superwarehouse.com/Super_Micro_Computer_SUPER_X6DA8-G_Motherboard/MBD-X6DA8-G-O/p/1512641

You should try with 64 bit. If I am not mistaken your CPU should support it. I have made a much better experience with 64 bit versions of Linux, as many other people here. Also I would recommend Debian. I don't know if it's better than Fedora, but I know many people have similar issues with CentOS, and both CentOS and Fedora are based on RHEL.
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
#15
Will think about 64 bit.
The cpu usage jumped from 60-70% to 30-40% after the kernel patching.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)