RegisterRegister    Log inLog in    SearchSearch   

Post new topic   Reply to topic
 
View previous topic :: View next topic  
Author Message
chumly



PostPosted: Wed Nov 29, 2006 7:43 am    Post subject: stats page request Reply with quote

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.

Thanks!
Great work.
Chumly
Back to top
View user's profile Send private message
adbot



PostPosted: Thu Mar 31, 2011 3:57 am 

Kybber



PostPosted: Wed Nov 29, 2006 9:14 am    Post subject: Reply with quote

We run 1000Hz jiffies in our kernels too, but no
problems with scaling in GC. Could it be a problem
with your CSS-settings?
Back to top
View user's profile Send private message
chumly



PostPosted: Thu Nov 30, 2006 11:00 am    Post subject: Reply with quote

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?

Thanks!
Chumly
Back to top
View user's profile Send private message
Kybber



PostPosted: Sun Dec 03, 2006 11:02 am    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
chumly



PostPosted: Sun Dec 03, 2006 2:48 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Kybber



PostPosted: Mon Dec 04, 2006 7:49 am    Post subject: Reply with quote

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 Smile
Back to top
View user's profile Send private message
Kybber



PostPosted: Mon Dec 04, 2006 10:33 pm    Post subject: Reply with quote

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%.

What are your FPS-values?
Back to top
View user's profile Send private message
chumly



PostPosted: Tue Dec 05, 2006 12:58 am    Post subject: Reply with quote

Hi!

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. Smile

Thanks!
Chumly
Back to top
View user's profile Send private message
Kybber



PostPosted: Tue Dec 05, 2006 11:03 pm    Post subject: Reply with quote

Agreed - I've sent you an email. Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
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


Forum powered by phpBB © 2001, 2005 phpBB Group
GameCreate Service Terms | Privacy Policy | © Copyright Mammoth Media 2001-2007
GameCreate™ is a trademark of Mammoth Media Pty Ltd. GameCreate® is a registered trademark in Australia.