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.
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 ^^
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:
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.
Dario Wrote: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
there must have something gone wrong while compiling the kernel. were there any error messages during make? did you successfully run "make install modules_install"? what distribution are you working on?
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
01-23-2009, 11:53 PM (This post was last modified: 01-23-2009, 11:54 PM by DiSTANT.)
BehaartesEtwas Wrote:lol... what did you do? disable the sleep?
is that server playable at all? the engine is not designed for this ^^
Yeah I re-wrote my own usleep, nanosleep, and a couple others. Funny enough, the server was playable with 10 bots... however, I wouldn't actually want to try and put that server up as a public server. It would most likely bring down the box.
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.
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?