Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel for Counter-Strike Source game server
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
hippe2k
n00b
n00b


Joined: 20 Jul 2011
Posts: 12

PostPosted: Wed Jul 20, 2011 10:10 pm    Post subject: Kernel for Counter-Strike Source game server Reply with quote

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
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23082

PostPosted: Thu Jul 21, 2011 2:23 am    Post subject: Reply with quote

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
View user's profile Send private message
hippe2k
n00b
n00b


Joined: 20 Jul 2011
Posts: 12

PostPosted: Thu Jul 21, 2011 6:54 am    Post subject: Reply with quote

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
View user's profile Send private message
barul
Guru
Guru


Joined: 28 May 2010
Posts: 434

PostPosted: Thu Jul 21, 2011 7:03 am    Post subject: Reply with quote

WHO told you?
Back to top
View user's profile Send private message
hippe2k
n00b
n00b


Joined: 20 Jul 2011
Posts: 12

PostPosted: Thu Jul 21, 2011 7:08 am    Post subject: Reply with quote

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
View user's profile Send private message
Yuu
Apprentice
Apprentice


Joined: 23 Dec 2008
Posts: 223
Location: France

PostPosted: Thu Jul 21, 2011 8:19 am    Post subject: Reply with quote

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
View user's profile Send private message
Mad Merlin
Veteran
Veteran


Joined: 09 May 2005
Posts: 1155

PostPosted: Sun Jul 24, 2011 3:09 am    Post subject: Reply with quote

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
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sun Jul 24, 2011 12:51 pm    Post subject: Reply with quote

Use a zen-sources kernel and set the HZ to 10000.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum