SRCDS Steam group


2000fps #sourcekernel
#61
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.
Reply
#62
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 ^^
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#63
Ok how many should I run though?
Reply
#64
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.
Reply
#65
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?
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#66
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
[Image: banner.php?t=2&bg=002244&amp...p;id=82023]

[Image: banner.php?t=2&bg=002244&amp...p;id=82024]
Reply
#67
I helped sorta Toungue
Reply
#68
lol... what did you do? disable the sleep?
is that server playable at all? the engine is not designed for this ^^
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#69
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.
[Image: banner.php?t=2&bg=002244&amp...p;id=82023]

[Image: banner.php?t=2&bg=002244&amp...p;id=82024]
Reply
#70
nevertheless, nice work! perhaps you can try not going so high but keeping the fps constant instead....
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#71
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
Reply
#72
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?
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#73
Yes, i tried all this: http://wiki.fragaholics.de/index.php/EN:Linux_Kernel_Optimization

now i have 2.6.26.8-rt16 SMP PREEMPT kernel
i tried sys_ticrate 2500

without the resched.sh still running like before:

10:37:52 stats
10:37:52 CPU In Out Uptime Users FPS Players
18.00 18.40 16.46 42 220 874.89 14
10:37:52 stats
10:37:52 CPU In Out Uptime Users FPS Players
18.00 18.65 16.69 42 220 267.45 14
10:37:53 stats
10:37:53 CPU In Out Uptime Users FPS Players
15.50 19.07 17.19 42 220 956.17 14
10:37:55 stats
10:37:55 CPU In Out Uptime Users FPS Players
15.50 19.27 17.39 42 220 26.17 14

with resched.sh the machine takes 100% in it four processors, load average go to the clouds and i cant do anything, nothing works.
Reply
#74
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ß
Reply
#75
if HZ=100 does not work, dyntick won't either... make sure that hrtimers are enabled
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)