1

Topic: Server bandwith requirements

Is there any data on how much a server requires in terms of bandwith? Would be nice to know. I'll do my own measurements but I think that in the longterm it would be great to have some guidelines. I guess we're not talking about large amounts here but it is good to know.

2 (edited by ALeXiS 2008-02-06 15:53:16)

Re: Server bandwith requirements

You can look my server stats here :
http://rps.alcd.be/cgi-bin/collection.cgi

On debian 4 linux (OVH Real Private Server) : 12 slots DM & 10 slots CTV.

The bandwith graph is here : http://rps.alcd.be/cgi-bin/collection.cgi/traffic/eth0

This is my serv :

http://pix.nofrag.com/f/0/6/c173e7c20c461bd89731b7a4fba42.jpg

3 (edited by ALeXiS 2008-02-06 15:45:57)

Re: Server bandwith requirements

After several hours ... I think 1Mbps it's okay for 12 players MAX.

http://pix.nofrag.com/1/d/1/89a6dce1c6e4d0f181cc732e7251d.png

Now, I have added a second CTF server (10 slots) wink (+ 1 DM 12 slots)

4

Re: Server bandwith requirements

Ah, thanks for that!
I guess it's a linear correlation between number of users and bandwith.

5

Re: Server bandwith requirements

Yes.

Now the stats you can view here : http://rps.alcd.be/cgi-bin/collection.cgi/traffic/eth0 is for 3 servers.

1 DM 12 slots.
1 TDM 10 slots.
1 CTF 12 slots.

6

Re: Server bandwith requirements

ALeXiS: your server is really nice, try getting one of those stats systems and I wont play on another server x)

Official Teeworlds map developer and community moderator
Administrator for the Teeworlds community Teesites

7

Re: Server bandwith requirements

No problem smile

8 (edited by Clawbug 2008-03-08 13:28:11)

Re: Server bandwith requirements

Moriarty wrote:

Ah, thanks for that!
I guess it's a linear correlation between number of users and bandwith.

A bit of a bump, but it isn't linear really, but expotential.

base_value * (N+N^2)

where the base_value is the average network load one teewars client produces to the server, and N is amount of players in the server. I have no clue how much base_value is really.

Ok, I made an graph showing the average bandwidth usage when base_value was assumed being 196.

http://img393.imageshack.us/img393/1951/teebwjb2.th.png

But again, please note that I have absolutely NO clue how much does one teewars client produce bandwidth to the server, thus the graph may not be very accurate.

Edit: After playing around with debug=1, it seems that send = 900(!!) constantly(!). I believe there is ALOT optimizing headroom in the network code. Hopefully that value isn't correct/there will be optimizing in near future.