View previous topic :: View next topic |
Author |
Message |
hippe2k n00b
Joined: 20 Jul 2011 Posts: 12
|
Posted: Wed Jul 20, 2011 10:10 pm Post subject: Kernel for Counter-Strike Source game server |
|
|
heej all,
I heart that for Counter-Strike Source i need a tweaked kernel.
can some1 help me with that?
kind regards
hippe2k |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23082
|
Posted: Thu Jul 21, 2011 2:23 am Post subject: |
|
|
It is very unlikely that you need a special kernel for a simple game server. If you cite the location(s) which claim to require a special kernel, we can review them for accuracy and correctness. |
|
Back to top |
|
|
hippe2k n00b
Joined: 20 Jul 2011 Posts: 12
|
Posted: Thu Jul 21, 2011 6:54 am Post subject: |
|
|
Hu wrote: | It is very unlikely that you need a special kernel for a simple game server. If you cite the location(s) which claim to require a special kernel, we can review them for accuracy and correctness. |
the reason, they told me is:
With a basic kernel the fps that the game server wil get isn't higher then 150/200.
For some leagues the rules specifie that the server fps must me 500 or higher. |
|
Back to top |
|
|
barul Guru
Joined: 28 May 2010 Posts: 434
|
Posted: Thu Jul 21, 2011 7:03 am Post subject: |
|
|
WHO told you? |
|
Back to top |
|
|
hippe2k n00b
Joined: 20 Jul 2011 Posts: 12
|
Posted: Thu Jul 21, 2011 7:08 am Post subject: |
|
|
hostingcompany,
i3d.com
also an admin from creativehosting told me that they do it to for half life2 based servers
edit:
not sure if this helps and i don't know annything about this,
default the kernel is 100 Hz, you need to make that 1000 Hz for counter-strike source server. |
|
Back to top |
|
|
Yuu Apprentice
Joined: 23 Dec 2008 Posts: 223 Location: France
|
Posted: Thu Jul 21, 2011 8:19 am Post subject: |
|
|
Hi hippe2k,
maybe you should try first to monitor your server's performance, and see if you've got "lags" or "lag spikes" before thinking about optimisation. Other running application could affect your server's performance, like Apache, heavy PHP scripts or whatever.
To monitor your srcds server, you can use commands like "stats", or use a FPS meter. But remember that you don't really need 500 or 1000 fps, sometimes it's just fine with the default tick rate/fps.
In addition to that, more Hz = more cpu usage. Also, I read that the 1000 Hz rule is only valid for single core processors; for example, quad cores should have 250 Hz per core, to get the 1000 Hz. I don't remember where I read that, but it could help you.
If you think you really need that, you can read this tutorial about kernel optimisation.
Good luck. _________________ Main laptop : T8300 cpu | 200 GB hard drive | 2 GB of ram | 8600M GT | Gentoo x86_64
Server : Celeron 220 cpu | 250 GB hard drive | 2 GB of ram | SiS 662 VGA | Gentoo x86_64 |
|
Back to top |
|
|
Mad Merlin Veteran
Joined: 09 May 2005 Posts: 1155
|
Posted: Sun Jul 24, 2011 3:09 am Post subject: |
|
|
If you want 1000 Hz, then pick 1000 Hz in the kernel config. Alternatively, you can pick NOHZ, which should be the default nowadays, and should do at least as well as 1000 Hz. _________________ Game! - Where the stick is mightier than the sword! |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sun Jul 24, 2011 12:51 pm Post subject: |
|
|
Use a zen-sources kernel and set the HZ to 10000. |
|
Back to top |
|
|
|