SRCDS Steam group


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Kernel and ticrate problem
#1
Hi

i have few months testing different kernels but i don't get 1000fps in HLDS. I have used RT patch. Try'd diffrent configs. When i use with pingboost 3 then it get's almost 900. Have any suggestions ? OS: Centos.

CPU: xenon 5520 and ram 8gb.
Reply
#2
what is your sys_ticrate?

also I've written a new howto for linux optimization: http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide
it's still not very well tested regarding technical details (like installing the kernel on all distributions), but maybe it helps you nevertheless (especially as you already got a custom kernel running, I suppose).
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
#3
I have been maked maybe 10 kernels with your guide, same thing every time Sad

Even if i set sys_ticrate to 10000 then actual fps is max 700, very very unstable. 300-700.
Reply
#4
did you try the other things I propose there? especially realtime scheduling can sometimes help...
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
#5
Also RT kernels are not that good for hlds servers. If you do not want maximum servercount you should try the bfs scheduler. Either as standalone or included in the -ck patch. 100hz, high res timer and dyn tics wil do the rest.

If you want maximum servers you could try the newest kernel branch setting the config the same. Also turn off the big kernel lock.
Interactive web based config creator for CS, CSS, TF2 and DODS
Creates server and client configs in an explained dialog.

You`ll also find precompiled debian gameserver kernels for download
Reply
#6
newest kernel branch setting ? My english isn't very good Toungue

I try that , newest kernel without big kernel lock
Reply
#7
After "make rpm" and installing kernel "rpm -ivh kernel x.x.x" doesent make .img file in /boot/
Reply
#8
in my new guide linked above I explain how to avoid the need of an initial ram disk (i.e. the .img file) so you can then just use make and make install to install your kernel... you don't need rpm
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
#9
after make



[root@test linux-2.6.36]# make install modules_install
sh /usr/src/linux-2.6.36/arch/x86/boot/install.sh 2.6.36-zen1 arch/x86/boot/bzImage \
System.map "/boot"
WARNING: Couldn't open directory /lib/modules/2.6.36-zen1: No such file or directory
FATAL: Could not open /lib/modules/2.6.36-zen1/modules.dep.temp for writing: No such file or directory
No modules available for kernel "2.6.36-zen1".
mkinitrd failed
make[1]: *** [install] Error 1
make: *** [install] Error 2
[root@test linux-2.6.36]# make install
sh /usr/src/linux-2.6.36/arch/x86/boot/install.sh 2.6.36-zen1 arch/x86/boot/bzImage \
System.map "/boot"
WARNING: Couldn't open directory /lib/modules/2.6.36-zen1: No such file or directory
FATAL: Could not open /lib/modules/2.6.36-zen1/modules.dep.temp for writing: No such file or directory
No modules available for kernel "2.6.36-zen1".
mkinitrd failed
make[1]: *** [install] Error 1
make: *** [install] Error 2
Reply
#10
ehm, is that a virtual server (VPS or whatever you call it)? then it doesn't work, usually you cannot exchange the kernel there...
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
#11
yes i created test virtualbox machine, where i test kernel's. Ok then i install it my original machine. But i are before changed kernels in VBox machine.
Reply
#12
what kind of virtual machine is it? (i.e. which software is it based 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
#13
VirtualBox - http://www.virtualbox.org/
Reply
#14
there you should be able to exchange the kernel, as it fully simulates a complete PC. can you post the output of the following two commands?
ls /lib/modules
ls /boot

but: you will not be able to test the performance of the kernel in a virtual machine. you can only use it to "train" compiling kernels without the risk of destroying a working system. even the kernel config will need to be different probably in your real environmnt.
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
#15
Code:
[root@test ~]# ls /lib/modules
2.6.18-194.el5  2.6.37
Code:
[root@test ~]# ls /boot
config-2.6.18-194.el5      symvers-2.6.18-194.el5.gz   System.map-2.6.37
grub                       System.map                  vmlinuz
initrd-2.6.18-194.el5.img  System.map-2.6.18-194.el5   vmlinuz-2.6.18-194.el5
lost+found                 System.map-2.6.36-zen1      vmlinuz-2.6.36-zen1
message                    System.map-2.6.36-zen1.old  vmlinuz-2.6.36-zen1.old


EDIT: yes , it's just for testing Smile i don't want broke my working system Toungue




Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)