SRCDS Steam group


rcon stats vs console stats differs alot
#1
Just noticed huge differences in FPS between checking stats with "rcon stats" in cs:s and typing "stats" in the server console.

"rcon stats" through the game console in cs:s gave almost all the time over 990fps with just some small drops to around 800fps.
Quote:] rcon stats
CPU In Out Uptime Users FPS Players
66.00 81901.94 285776.41 42 0 993.05 16
66.00 81204.66 283383.62 42 0 992.06 16
66.00 81109.12 279235.09 42 0 993.05 16
65.00 82140.85 275876.00 42 0 993.05 16
65.00 83716.77 265854.88 42 0 990.10 16
65.00 85642.62 241471.25 42 0 993.05 16
64.00 86644.31 230843.59 42 0 993.05 16
64.00 87680.70 222634.62 42 0 991.08 16


"stats" into server console gave almost all the time fps around 130-180 with some random increases above 800.
Quote:stats
CPU In Out Uptime Users FPS Players
51.60 71309.70 179398.41 40 0 168.12 14
51.60 71266.35 188147.19 40 0 194.93 14
52.00 71203.33 186000.89 40 0 151.26 14
52.00 71950.43 179852.98 40 0 152.79 14
52.00 72928.95 175630.56 40 0 153.26 14
52.50 72540.50 178075.66 40 0 161.84 14
52.50 72991.67 186125.52 40 0 859.11 14
52.50 73157.40 192680.97 40 0 153.92 14
52.67 74460.56 194633.94 40 0 153.07 14
52.67 74065.50 198560.41 40 0 136.97 14
53.50 74089.45 202884.66 40 0 882.61 14

Anyone who can comment the differences?
"the box said 'requires windows xp or better'. so i installed linux"
Linux Ubuntu 9.04 Server 2.6.30-vanilla #1 SMP PREEMPT x86_64
Reply
#2
same amount of people in game each time?
Reply
#3
usually i get the same amounts and my cpu usage never went that high...well my css server never had over 12 or 14 people in at the same time lol, but still
Reply
#4
More CPU is used while you are remoted into your server Wink
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Reply
#5
HBS|Ryan Wrote:same amount of people in game each time?
njoker555 Wrote:usually i get the same amounts and my cpu usage never went that high...well my css server never had over 12 or 14 people in at the same time lol, but still

16 players in the first example and 14 in the second.
(You can see number of players in the rightmost column of the stats)
The high cpu usage might be cpufreq was on "ondemand" rather than "performance" at this time.

btw.
It's a CSS DeathMatch server at tick100.
Running on Intel Q6600 and
Debian4r3 kernel 2.6.25.8-rt7-vanilla #1 SMP PREEMPT RT Tue Jun 24 18:09:35 CEST 2008 i686 GNU/Linux
"the box said 'requires windows xp or better'. so i installed linux"
Linux Ubuntu 9.04 Server 2.6.30-vanilla #1 SMP PREEMPT x86_64
Reply
#6
still have this issue...

no matter what kernel it seems.
Currently 2.6.26.8-rt12 and console still differs from rcon...

Am I really the only one?

"stats" by RCON once per second:
Code:
CPU   In    Out   Uptime  Users   FPS    Players
56.00 111398.15 292726.66     466     9  992.06      18
55.50 112002.80 311917.88     466     9  982.32      18
55.60 111462.51 313173.66     466     9  986.19      18
55.60 109297.99 305961.38     467     9  982.32      18
54.00 107160.23 300207.97     467     9  965.25      18
58.00 114405.33 283205.19     467     9  970.87      18
58.00 115641.80 287166.72     467     9  987.17      18
58.00 114746.30 296758.38     467     9  971.82      18
57.60 114528.09 298710.88     467     9  992.06      18
54.00 113233.98 298475.88     467     9  982.32      18
54.00 111464.80 306797.50     467     9  972.76      18
54.00 110268.87 296729.16     467     9  982.32      18
54.00 108587.48 289082.53     467     9  983.28      18
54.67 107984.42 285185.88     467     9  992.06      18
54.67 108347.61 294310.47     467     9  981.35      18
54.00 105758.39 290176.62     467     9  981.35      18
53.00 108189.84 257065.30     467     9  982.32      18
53.00 108845.09 274566.88     467     9  977.52      18
53.00 109137.43 264646.88     467     9  982.32      18
53.00 110209.82 252635.53     467     9  972.76      18
53.50 110770.31 248515.23     467     9  963.39      18
53.50 111399.18 253998.06     467     9  970.87      18
53.67 110115.88 264072.28     467     9  981.35      18
53.67 107498.84 279087.47     467     9  992.06      18
53.25 106842.24 276171.16     467     9  970.87      18
53.25 106656.19 261740.94     467     9  976.56      18
53.60 109330.23 256584.52     467     9  984.25      18
53.60 112436.18 249451.59     467     9  982.32      18
53.00 114402.31 254242.67     467     9  990.10      18
53.00 116733.37 261713.38     467     9  968.99      18
54.50 117665.64 258511.88     467     9  982.32      18
54.50 117684.45 255958.34     467     9  957.85      18
55.00 118610.98 257430.58     467     9  982.32      18
55.00 118379.62 260114.61     467     9  976.56      18
55.00 116869.35 268564.00     467     9  982.32      18
55.00 115225.01 278955.09     467     9  982.32      18
55.20 114112.83 281996.59     467     9  982.32      18
55.20 113489.90 287210.41     467     9  991.08      18

"stats" by direct input to console once per second:
Code:
CPU   In    Out   Uptime  Users   FPS    Players
54.50 116266.01 323584.72     471     9  165.84      18
54.40 116494.45 305256.00     471     9  151.45      18
54.40 118747.20 299028.03     471     9  976.56      18
52.00 119845.41 294395.31     471     9  175.65      18
52.50 119214.38 295227.84     471     9  154.18      18
52.50 117255.49 280492.50     471     9  965.25      18
53.00 117128.36 269723.56     471     9  142.37      18
52.50 117236.46 262313.09     471     9  162.97      18
52.50 118289.59 249574.11     471     9  146.39      18
52.60 118291.72 262415.16     471     9  163.83      18
55.00 119805.11 286030.44     471     9  971.82      18
55.00 118335.99 296946.81     471     9  975.61      18
54.50 118447.03 308149.62     471     9  158.98      18
54.33 117286.97 303529.44     471     9  137.57      18
54.33 118707.05 319373.69     471     9  174.55      18
55.00 118575.46 328833.06     471     9  152.11      18
55.00 119091.74 316768.19     471     9  149.57      18
55.00 120502.76 314216.66     471     9  151.95      18
57.00 120265.10 323057.31     471     9  138.77      18
57.50 122710.70 325175.88     471     9  956.02      18
57.50 121041.80 327744.34     471     9  152.11      18
56.67 118356.82 322876.97     471     9  971.82      18


Attached Files
.gz   config.gz (Size: 12.42 KB / Downloads: 3)
"the box said 'requires windows xp or better'. so i installed linux"
Linux Ubuntu 9.04 Server 2.6.30-vanilla #1 SMP PREEMPT x86_64
Reply
#7
Surely, this is only due to the fact your actually interrupting the console itself and will cause it to jitter? Rather then using less CPU usage and doing it remotely using HLSW or ingame.
Reply
#8
@janne
Very strange. I got similar results myself too.

I used Zyrain's rcon tool [ http://trog.qgl.org/browse/docs/code/hl2rcon.c ] and looped it in a shell script doing one "stats" every one second. Then at the same time I did "stats" directly to the console. I didn't count, but in the 20-25 seconds I got about 20 times maximum ~250 FPS with rcon tool, and from console I got it about 5-10 times.

@drazah
Sure thing.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)