Hi Jungs , haben eine Suse 9 Server und lassen es als Gameserver laufen , jedoch mit Leistungsproblemen .
Das Game ist Counterstrike Source und die Empfehlung dabei ist dass der Server mit einer Tickrate von 100 laufen sollte . Aber dies tut der Server nicht ... nach nächtelanger sucherei habe ich dann mit meinem kaputten Englisch herausgefunden das man mit dem Befehl make menuconfig etwas aufruft und eine Zeile ändern muss ...
Zitat :
Linux Kernel Timer Instructions
Thanks to triphammer in the STEAM Linux SRCDS Forum
You need to do a custom (re)compile of the linux kernel in order to change kernel interruptability / timer.
Since Kernel 2.6.14 you change the HZ with "make menuconfig", just go to: "Processor type and features" > "Timer frequency (XXXXX HZ)". The default HZ for 2.4 Kernels is 100. You can also change the HZ via the "USER_HZ" variable located in: include/asm-<arch>/param.h.
param.h:
define USER_HZ 100 /* .. some user interfaces are in "ticks" */
More along the lines of your question, you can also set the kernel timer frequency by chaning the HZ variable in the same file
define HZ 1000 /* Internal kernel timer frequency */
Also:
+ config HZ
+ int "Frequency of the Timer Interrupt (1000 or 100)"
+ range 100 1000
+ default 1000
+ help
+ Allows the configuration of the timer frequency. It is customary
+ to have the timer interrupt run at 1000 HZ but 100 HZ may be more
+ beneficial for servers and NUMA systems that do not need to have
+ a fast response for user interaction and that may experience bus
+ contention and cacheline bounces as a result of timer interrupts.
+ Note that the timer interrupt occurs on each processor in an SMP
+ environment leading to NR_CPUS * HZ number of timer interrupts
+ per second.
+
endmenu
For a server fps to cater for you high tickrate under Linux, you either need to recompile your 2.4 Kernel, with its Kernel timer resolution changed, but the easiest and probably best course of action is to use the 2.6 Kernel and change the "USER_HZ" variable, (I would suggest starting at 500 and seeing what happens before experimenting with other numbers) which will enable higher server fps on your Linux server.
nur wenn ich make menuconfig eingebe kommt eine Fehlermeldung "make: *** No rule to make target `menuconfig'. Stop."
auch wenn ich vorher in den linux ordner vorher gehe ... der heisst zwar bei mir net linux sondern mit anhängseln hintendran aber der ordner linux... enthält keine dateien sondern nur einen unterordner "i386" und dieser einen "default" unterordner usw ...
brauche hilfe dringeeeeeeend ...
Danke im vorraus ....