Posts: 16
Threads: 2
Joined: Mar 2011
Reputation:
0
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.
Posts: 2,031
Threads: 27
Joined: Nov 2008
Reputation:
17
did you try the other things I propose there? especially realtime scheduling can sometimes help...
Posts: 504
Threads: 9
Joined: Oct 2009
Reputation:
3
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.
Posts: 16
Threads: 2
Joined: Mar 2011
Reputation:
0
After "make rpm" and installing kernel "rpm -ivh kernel x.x.x" doesent make .img file in /boot/
Posts: 2,031
Threads: 27
Joined: Nov 2008
Reputation:
17
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
Posts: 16
Threads: 2
Joined: Mar 2011
Reputation:
0
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
Posts: 2,031
Threads: 27
Joined: Nov 2008
Reputation:
17
ehm, is that a virtual server (VPS or whatever you call it)? then it doesn't work, usually you cannot exchange the kernel there...
Posts: 16
Threads: 2
Joined: Mar 2011
Reputation:
0
03-10-2011, 10:36 PM
(This post was last modified: 03-10-2011, 10:37 PM by taavi56.)
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.
Posts: 2,031
Threads: 27
Joined: Nov 2008
Reputation:
17
what kind of virtual machine is it? (i.e. which software is it based on)
Posts: 2,031
Threads: 27
Joined: Nov 2008
Reputation:
17
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.