Raised This Month: $ Target: $400
 0% 

Is upload bandwidth-to-players function linear or exponential?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bobis
Senior Member
Join Date: Jun 2010
Location: Athens, Greece
Old 12-08-2014 , 12:56   Is upload bandwidth-to-players function linear or exponential?
Reply With Quote #1

Accordinng to this site http://whisper.ausgamers.com/wiki/index.php/Tickrate it says that the formula

of upload bandwidth used in relation to current players has the following structure:

upload bandwidth / 8 * 1000 / player number = the theoretical maximum sv_maxrate you can run your server at.

This implies that the relation between upload bandwidth and players is linear.

But , I own a server and counted the upload bandwidth usage when the server was empty , near-empty, near-full and full and just found out that this is not right , I mean @ 10 players , the upload usage may be 120 KB/s but at 30 players , we expect it to be 3 * 120 KB/s , but it is near 900 KB/s!!!! So , that means that this function is maybe exponential instead of linear.

Guys , what do you think? I was expected to host around 80 maxplayers with my 9 Mbps (1152 KB/s) upload but in fact I cannot host more than 35 players!!!

Also , I try to find out the minimum sv_maxrate which the server has no choke at all.

Thanks.
bobis is offline
xSpeced
AlliedModders Donor
Join Date: Aug 2013
Old 12-08-2014 , 14:54   Re: Is upload bandwidth-to-players function linear or exponential?
Reply With Quote #2

It depends on what's going on in the game. The more things happening, the more the server needs to send to each player. It just happens that the more players, more things happen. It's not exactly linear/exponential as the amount of variables at play changes constantly.

I haven't observed more than 30-40k/s upload per player on a 32 slot TF2 server when full.
xSpeced is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-10-2014 , 05:44   Re: Is upload bandwidth-to-players function linear or exponential?
Reply With Quote #3

Like above post said.

You can host 2 x 32 players server with default rates.
sv_maxrate 30000
sv_minratre 30000
sv_maxupdaterate 20
sv_minupdaterate 20


Rates calculation
You should follow net_graph when there a lot players in same area fighting each other.
- Find average in: value what appear most of time in diagram. for example 800
- Multiply it max updaterate, ex. 66 (800 x 66 = 52800 Bytes/s)
- Now if you restrict this as sv_maxrate 52800, when ever one of those 66 packets get bigger than 800 will cause some CHOKE to players, remember that.
- Max upload bandhwidth can be 52.8 KB/s x 30 players = 1584 Kilo Bytes/s (~12,672Mega bits per sec)

---
If you want host more players with low bandhwidht, you need lower max updaterate.

9 Mbps ~ 1.125 MB/s
1.125 MB/s / 80 players = 0,0140625 MB/s
0,0140625 / 1000000 = 14062,5 B/s sv_maxrate
14062,5 B/s / in: value 800 = 17,5 sv_maxupdaterate
Bacardi is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:47.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode