[mohaa] Bandwidth
Eric Koldeweij
eric at no-sense.net
Tue Jul 1 15:30:18 EDT 2003
Eduardo E. Silva wrote:
>I know this question has been probably been kicked around MANY tims. Here
>is one more permutation. I have a Linux server and a Windows XP hooked on
>the same LAN -- 10/100 switch. I have noticed that I have RARELY received
>more than 2600 bytes (2.6k) from server when there are about 10 players
>from all over the world. my current rate settings for my 768/1500 full
>duplex cable modem are:
>
>seta sv_maxRate "9000" // bandwith allowed per client, in bytes/sec
>seta sv_minRate "4000" // bandwith allowed per client, in bytes/sec
>
>I have played with the sv_minRate back and forth (1000-4000) and have not
>see ANY degradation and or improvements. Now When I do a 'status' on the
>console and get a 30000-5000 from most players. What are the units of
>these numbers ? Bits per second ? Bytes per second ? Or??? What is more
>critical the min rate or the max rate?
>
Both maxrate and minrate are expressed in bytes per second, as are the
client rates.
As far as I know (I'm almost but not 100% sure on this, if I'm wrong
somsone please correct me), the maxrate is more important than the
minrate. The maxrate of the server is compared to the client's rate and
the lowest value of them is the maximum number of bytes per second the
server will send to the client. The minrate is (I think) only used at
connection time. If a client advertises a lower rate than the sv_minrate
the client won't be allowed to connect, is has no impact on performance
AFAIK. If you want to deny slow clients you better experiment with
sv_maxping and sv_minping. I also think setting your maxrate to value
higher than your bandwidth is a killer for your clients.
>Can everybody post or email me the server bandwith (T1, Cable. DSL) along
>these settings. I would also like to know if players have lagg.
>
My 16 public player Spearhead server's got a full 100mbit/sec
connection, minping 0, maxping 500, minrate 0, maxrate 7000. The clients
do experience lag on some maps but that is solely caused by hardware
being inadequate or the Spearhead server consuming too many resources. I
even had to shut down the "old" MOHAA server because of the shortage in
CPU power.
The 7000 bytes/sec rate is more than enough for good gameplay. Most of
the times the traffic will indeed be around 2-3kbyte/sec but it does
have "spikes", sudden bursts of data transfer.
Hope this helps,
Eric.
More information about the Mohaa
mailing list