Posts: 482
Threads: 6
Joined: Apr 2008
Reputation:
5
The idler is quite weird. Why does it work that way? Did you come up with this by yourself or do you have reference to somewhere else? It's weird that the kernel itself doesn't have this kind of "loop switch" you can enable if it boosts the system performance.
Posts: 2,031
Threads: 27
Joined: Nov 2008
Reputation:
17
It is indeed mysterious how it works, I really don't know. I found out accidentally, when I noticed that the fps were more stable with the system under load. I'm afraid that it would require really deep knowledge of the linux (realtime) scheduler (which I don't have) to understand it. Or maybe it is related to the clock system (which of course also very important for the fps stability), but that sounds somehow unlikely ^^
Posts: 8
Threads: 0
Joined: Jan 2009
Reputation:
0
Ok how many should I run though?
Posts: 8
Threads: 0
Joined: Jan 2009
Reputation:
0
01-21-2009, 09:51 AM
(This post was last modified: 01-21-2009, 11:08 AM by Dario.)
Sir,
After re-trying your whole guide I noticed this:
WARNING: Couldn't open directory /lib/modules/2.6.26.8-rt13: No such file or dir ectory
FATAL: Could not open /lib/modules/2.6.26.8-rt13/modules.dep.temp for writing: N o such file or directory
No modules available for kernel "2.6.26.8-rt13".
mkinitrd failed
make[1]: *** [install] Error 1
make: *** [install] Error 2
At the end of the kernel compile is what I got above, is it ok to proceed?
EDIT:
I went ahead and found this error when executing the resched.sh manually:
audit_log_user_command(): Connection refused
audit_log_user_command(): Connection refused
audit_log_user_command(): Connection refused
audit_log_user_command(): Connection refused
audit_log_user_command(): Connection refused
audit_log_user_command(): Connection refused
audit_log_user_command(): Connection refused
audit_log_user_command(): Connection refused
audit_log_user_command(): Connection refused
I am using CentOS 5.2, is this an error that I should ignore?
Edit: I removed 'sudo' command from each line and it works now. However after following each step of your guide I am experiencing even more frequent dips. I notice dips to 500 FPS from 1000.
Posts: 108
Threads: 11
Joined: Apr 2005
Reputation:
4
Well... I finally made some progress...
CPU In Out Uptime Users FPS Players
88.00 0.00 0.00 0 1 25000.00 0
stats
CPU In Out Uptime Users FPS Players
95.50 0.00 0.00 0 1 27777.78 0
stats
CPU In Out Uptime Users FPS Players
97.00 0.00 0.00 0 1 27777.78 0
stats
CPU In Out Uptime Users FPS Players
99.90 0.00 0.00 0 1 29411.76 0
stats
CPU In Out Uptime Users FPS Players
99.90 0.00 0.00 0 1 30303.03 0
stats
CPU In Out Uptime Users FPS Players
99.90 0.00 0.00 0 1 29411.76 0
stats
CPU In Out Uptime Users FPS Players
99.90 0.00 0.00 0 1 30303.03 0
stats
CPU In Out Uptime Users FPS Players
99.90 0.00 0.00 0 1 50000.00 0
stats
CPU In Out Uptime Users FPS Players
99.90 0.00 0.00 0 1 62500.00 0
stats
CPU In Out Uptime Users FPS Players
99.90 0.00 0.00 0 1 47619.05 0
stats
CPU In Out Uptime Users FPS Players
99.90 0.00 0.00 0 1 58823.53 0
stats
CPU In Out Uptime Users FPS Players
99.90 0.00 0.00 0 1 25000.00 0
stats
CPU In Out Uptime Users FPS Players
99.90 0.00 0.00 0 1 26315.79 0
stats
CPU In Out Uptime Users FPS Players
99.90 0.00 0.00 0 1 47619.05 0
stats
CPU In Out Uptime Users FPS Players
99.90 0.00 0.00 0 1 62500.00 0
stats
CPU In Out Uptime Users FPS Players
77.00 0.00 0.00 0 1 58823.53 0
stats
CPU In Out Uptime Users FPS Players
77.00 0.00 0.00 0 1 55555.55 0
stats
CPU In Out Uptime Users FPS Players
81.80 0.00 0.00 0 1 55555.55 0
stats
CPU In Out Uptime Users FPS Players
81.80 0.00 0.00 0 1 35714.29 0
stats
CPU In Out Uptime Users FPS Players
85.33 0.00 0.00 0 1 66666.67 0
stats
CPU In Out Uptime Users FPS Players
85.33 0.00 0.00 0 1 41666.67 0
stats
CPU In Out Uptime Users FPS Players
99.90 0.00 0.00 0 1 28571.43 0
Posts: 2,031
Threads: 27
Joined: Nov 2008
Reputation:
17
lol... what did you do? disable the sleep?
is that server playable at all? the engine is not designed for this ^^
Posts: 2,031
Threads: 27
Joined: Nov 2008
Reputation:
17
nevertheless, nice work! perhaps you can try not going so high but keeping the fps constant instead....
Posts: 14
Threads: 1
Joined: Feb 2009
Reputation:
0
Hi, im running 4 hlds servers (1.5 and 1.6) on same machine, Ive got a Gentoo Linux, Q9650, Intel Mother DQ45CB, 8gb Kingston DDR2 800mhz ram, an 400 mbit internet connection directly from a datacenter and the machine dedicated to game servers.
My servers, fluctuates fps all the time, like this:
14:58:38 CPU In Out Uptime Users FPS Players
17.00 25.57 25.65 7020 76488 57.26 14
14:58:39 CPU In Out Uptime Users FPS Players
16.80 25.19 25.20 7020 76488 62.50 14
14:58:55 CPU In Out Uptime Users FPS Players
21.00 26.12 26.00 7020 76488 84.13 14
14:59:23 CPU In Out Uptime Users FPS Players
10.25 28.50 28.36 7020 76491 23.31 14
I have tried -pingboost, sys_ticrate 0/100/250/1000, i have recompiled my kernel a lot of times, with/out Dynamic Ticks, 100/250/1000 HZ, and nothing works, always have fluctuation in my fps with "rcon stats" command on server.
Can you help me to resolve this problem? I really dont know what else to do.
Thanks,
krp@datafull.com
Posts: 2,031
Threads: 27
Joined: Nov 2008
Reputation:
17
err, you have less than 100 fps, that is really bad.
first, try sys_ticrate 2500
then also make sure that your kernel has hrtimer support
have you tried following my kernel howto?
Posts: 307
Threads: 18
Joined: Jan 2009
Reputation:
1
i tried a 100hz kernel more than often, but i got only very unstable fps at hl1 and hl2 thats a no-go !
someone told me lenny+dyntick should be very good?!
Is someone here with experience about it?
Gruß
Posts: 2,031
Threads: 27
Joined: Nov 2008
Reputation:
17
02-13-2009, 06:38 PM
(This post was last modified: 02-13-2009, 06:38 PM by BehaartesEtwas.)
if HZ=100 does not work, dyntick won't either... make sure that hrtimers are enabled