Posted: Wed Nov 29, 2006 7:43 am Post subject: stats page request
Hi!
I like the look of the stats page, however I have one little problem that you might be able to sort out for me...
On our tweaked linux kernel, we run 1000hz... which is 10x more then srcds is expecting.. so it reports the cpu usage to be 10x higher than what it really is...
Do you think you could put a variable on the page to allow us to input a adjustment value? Some people are running at 500hz, some at 250... so its never the same.
Well I'm unaware of any css settings that I would be able to change to adjust this, and the problem isn't specific to gamecreate. Every srcds cpu reporting system has always reported high for my systems.
So, I guess I could ask you then, what is your userspace and kernel hz set to?
I might as well continue this line of thought with, what kernel are you running?
What is you max FPS?
I am using Gentoo-sources of various versions, for
example 2.6.12. Kernel Hz is set to 1000 while
User_Hz is at 100. I guess you have also modified
User_Hz and that is the reason why I am not
seeing the same as you?
Thats exactly why.
Kernel at 1000hz, userspace at 100hz... normal cpu usage readings
Kernel at 1000hz, userspace at 1000hz... cpu usage 10x real usage.
srcds doesn't realize it's running at 1000hz.
What sort of performance are you getting? ( fps, number of slots, tic rates, number of servers per box )
I had to boost the userspace to allow srcds to use more than 50% cpu per process. but it may be too much of a boost, and it may be hurting now. I see choke on any server with more than 24 players. ( but its not much, not I shouldn't have ANY from a single 100tic 12 man... )
I had done the 1000hz kernel patch, but it was still fairly poor performance, and putting the userspace to 1000hz, and turning off hyperthreading fixed it up fairly well.
We run exclusively 100tick servers. We normally
get FPS flipping between ~111 and ~334, according to
rcon statsx. Sometimes it drops to ~80. This is the
same on 16, 20 and 25-player servers (latter has
one sourcetv slot). We normally only run one game-
server per CPU, typically two CPUs per box.
However, over the past month or two we have
been getting more and more complaints about lag
on our servers. tick drops to 20-30 and the servers
become almost unplayable. I am hoping the user_hz
setting may be the solution. I've read about people
getting 500-1000 fps with user_hz=1000, so this
may be the road to CSS-Nirvana
I just recompiled the kernel with user_hz=1000
and rebooted. Still shows max fps at around 333,
and CPU-usage is reported as 99.9% in rcon stats,
even though the actual CPU-usage is only ~13%.
Yes, without changing the userspace to 1000hz, you dont get above 333.
I was thinking about dropping it to 500hz, and see if I can still show above 333fps, and more than 80% true cpu usage.
I'm holding 500fps ( type fps_max 600 in console... fps_max must be set above 450 to make any effect... ) with some bad drops near round start, but still acceptable. I'm really wondering if running at 100tic is such a good idea. Sticking doors, miserable fps drops, grenades do nasty job of server fps... I would prefer a smooth server. Anyone running at 75? 80? does it make a difference?
Our 66 tic server run really really well with this config.
Give max_fps 600 a try, and see how it works for you.
If you want to chat some more, please PM me, as we probably shouldn't be clogging up andrews forums with non-related topics.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum