SRCDS Steam group


Best Linux OS & How many servers?
#1
Hi there,

I'm buying this server soon:

2.6Ghz P4
2GB RAM
80GB Hard Drive
100mbit line

..and I'm wondering:

- Which OS will provide the best speed and stability for srcds (excluding windows and *BSD).

- How many servers this machine will handle at once.


Thanks.
Reply
#2
I have had best results with debian based distros such as debian itself and Ubuntu server edition (uptime, driver updates, ease of use etc).

With a 2.6Ghz P4, if you run a 66tick public, possibly 1 server with 20-24 slots. At 33tick, possibly 2 x 12-16 slots. I'm not so good at guestimating slots for older hardware, anyone else have an idea?
Reply
#3
I am a great fan of debian - I run it on most of my servers because it's such a solid distro. I've heard that CentOS is better for performance in srcds, though.

Right now I'm on:

2.6Ghz P4
1GB RAM
160GB HD
10mbit pipe..

...and I can run a 32-man deathmatch (66-tick) server quite well. It lags up after I hit 26 players, though. I'm hoping I'll be able to run this and a smaller 33-tick funserver alongside. Do you think I'll manage this?
Reply
#4
Will probabaly be lagging after 26 cause round start CPU usage will be almost maxing the CPU. With a 2.8, you won't see very much increase in performance. Maybe take the 66 tick down to 20 slots to fit the funserver on.

This assuming both servers would be full.
Reply
#5
You can host up to 40 players at 100 tick at 2.8GHz (but that'll be pushing it to 90% at least, Tested it myself)

2.6/2.8 really doesnt make a big difference..

In order to achieve the above mentioned you need some serious tuning on the OS (well at windows at least, dunno much bout linux)
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#6
Drocona Wrote:You can host up to 40 players at 100 tick at 2.8GHz (but that'll be pushing it to 90% at least, Tested it myself)

2.6/2.8 really doesnt make a big difference..

In order to achieve the above mentioned you need some serious tuning on the OS (well at windows at least, dunno much bout linux)

40 players at 100 tick is great. Max I'll be supporting is about 46 players at 66/33 tick on Linux. Hopefully I'll cope. Thanks.

Muppet Wrote:Will probabaly be lagging after 26 cause round start CPU usage will be almost maxing the CPU. With a 2.8, you won't see very much increase in performance. Maybe take the 66 tick down to 20 slots to fit the funserver on.

This assuming both servers would be full.

I tweaked the sv_* rate settings and now I can start a round pretty peacefully. I've just been playing with about 26 people on, and there was only any real lag when people (3+) were using their mic's at once.

Maybe that's due to my limited (10mb burstable) bandwidth.
Reply
#7
you're not hitting anywhere close to your max bandwidth with just 26 people at most it would be ~5Mb and thats with everyone using maxrate of 30000 which is nearly impossible, well maybe if it was a 13v13 firefight, with everyone throwing nades, explosions, barrels flying everywhere AND the bomb going off.

i'd run top and watch it when this happens to see what the load on the cpu is.
Reply
#8
This is my top output:

Code:
top - 10:31:26 up 12 days, 12:54,  1 user,  load average: 1.18, 1.24, 1.41
Tasks:  52 total,   4 running,  48 sleeping,   0 stopped,   0 zombie
Cpu(s): 46.5%us,  1.3%sy,  0.0%ni, 51.2%id,  0.0%wa,  0.3%hi,  0.7%si,  0.0%st
Mem:    970616k total,   957240k used,    13376k free,    58204k buffers
Swap:  4233116k total,       32k used,  4233084k free,   579456k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
11198 xxxx1     15   0  175m 105m  15m R 42.2 11.1  97:05.07 srcds_i686
7536 xxxx2     15   0  166m  93m  14m S  1.0  9.8  14:08.81 srcds_i686
    1 root      15   0  1948  652  556 S  0.0  0.1   0:03.87 init
    2 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/0
    3 root      34  19     0    0    0 S  0.0  0.0   0:00.21 ksoftirqd/0
    4 root      10  -5     0    0    0 S  0.0  0.0   0:00.02 events/0
    5 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 khelper
    6 root      19  -5     0    0    0 S  0.0  0.0   0:00.00 kthread
    9 root      10  -5     0    0    0 S  0.0  0.0   0:00.15 kblockd/0
   10 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 kacpid
   96 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kseriod
  135 root      15   0     0    0    0 S  0.0  0.0   0:08.98 pdflush
  136 root      15   0     0    0    0 S  0.0  0.0   0:07.15 pdflush
  137 root      10  -5     0    0    0 S  0.0  0.0   0:01.96 kswapd0
  138 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 aio/0
  599 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 khubd

This is with 25 players online. The map had just changed, so there's a possibility some people were downloading the map (I use fast downloads with Lighttpd) or still "Sending Client Info".

The peak bandwidth usage over about 30 seconds was 9.05mb/s (according to iftop).

Note: xxxx1 is the 32-slot Surf DM (66tick), and xxxx2 is a 10-slot match server that is empty 95% of the time.


EDIT: Do you want to see my server.cfg and/or autoexec.cfg to see the rate settings I'm using?
Reply
#9
i don't see any issue unless one of the instances was changing a map while the other was busy, that's the only think i can think of. does it happen if you turn one of the servers off? do you have any bots? (they take up cpu)
Reply
#10
No bots at all. The addons I use are:

- MetaMod
- EventScripts
- Mani Admin Plugin
- CSSDM
- Couple of small eventscript.. scripts.
Reply
#11
CSSDM will use a pretty nice amount of CPU to run tho Wink Not like the any normal server.
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#12
Are there any less "heavy" deathmatch mods?


Also, will Debian be the best OS (purely because I've used it more), or is there another OS which will provide better performance?
Reply
#13
As far as I know there's only 1 good deatchmatch mod and that's made by bailopan (CSSDM)
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#14
Ok, thank you.


Any ideas about operating systems - which one will give me the best performance?
EDIT: I'm going to stick with Debian Stable Smile
Reply
#15
bdw talking about monitoring traffic .. is there any way to monitor the bandiwdth usage and shows them in a website ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)