Hello, comrades!
Can you tell me the best server.cfg configuration of Team Fortress 2 (srcds) server for
1) bball with 7 maxplayers (6 + 1 sourcetv)
2) cw server with 17 maxplayers (16 + 1 stv)
On the server there is running only one srcds of them!
Server's hardware
Cpu Xeon 1GHz reserved for each of 2 cores (max in peak 2GHz)
1Gb memory
OS Ubuntu x64 with kernel 2.6.24-22 and user_hz=1000
Internet speed ~50-70Mbit/s
There are always on sv_alltalk 1 and sourcetv. And can you tell me some recommendations for linux configuration. Xserver is always off and I am starting linux in runlevel 3. For srcds and samp I have set renice priority -10.
Also on server there is SAMP (san andreas) server with 10 players online, but it requests only ~5-10% of cpu and 10-20mb of ram. However srcds requests more resources. For example srcds with 2-4 players online requests 100mb of ram and 10-20% of cpu; with 4-8 players - 150mb of ram and 20-40% of cpu, but for 12 players srcds needs 60-80% of cpu and 200-300mb of ram.
Usually, there are 500mb free memory of 1Gb, so I have switched off swap. In my opinion, swap do not needs for my server with 500mb of ram free. But I have got one little problem: my srcds is little bit laggy when there are only 12 or more players online. Sometimes cpu usage increases from 10% or 40% (it is not important) up to 99.99% for no longer than 1 second. And sometimes server is lagging in this time, and it is lagging more and harder if there are more players and if average cpu usage is higher.
Can you tell me what should I do to stop these lags.
Thanks a lot and sorry for my very bad English!
Can you tell me the best server.cfg configuration of Team Fortress 2 (srcds) server for
1) bball with 7 maxplayers (6 + 1 sourcetv)
2) cw server with 17 maxplayers (16 + 1 stv)
On the server there is running only one srcds of them!
Server's hardware
Cpu Xeon 1GHz reserved for each of 2 cores (max in peak 2GHz)
1Gb memory
OS Ubuntu x64 with kernel 2.6.24-22 and user_hz=1000
Internet speed ~50-70Mbit/s
There are always on sv_alltalk 1 and sourcetv. And can you tell me some recommendations for linux configuration. Xserver is always off and I am starting linux in runlevel 3. For srcds and samp I have set renice priority -10.
Also on server there is SAMP (san andreas) server with 10 players online, but it requests only ~5-10% of cpu and 10-20mb of ram. However srcds requests more resources. For example srcds with 2-4 players online requests 100mb of ram and 10-20% of cpu; with 4-8 players - 150mb of ram and 20-40% of cpu, but for 12 players srcds needs 60-80% of cpu and 200-300mb of ram.
Usually, there are 500mb free memory of 1Gb, so I have switched off swap. In my opinion, swap do not needs for my server with 500mb of ram free. But I have got one little problem: my srcds is little bit laggy when there are only 12 or more players online. Sometimes cpu usage increases from 10% or 40% (it is not important) up to 99.99% for no longer than 1 second. And sometimes server is lagging in this time, and it is lagging more and harder if there are more players and if average cpu usage is higher.
Can you tell me what should I do to stop these lags.
Thanks a lot and sorry for my very bad English!