Apparently there is still a lot of confusion on what rate, sv_minrate 
and sv_maxrate do.

1) there is the rate variable, each client has its own,
2) if the client rate cvar is less than sv_minrate then the value of 
sv_minrate is used instead,
3) if the client rate cvar is more than sv_maxrate then the value of 
sv_maxrate is used instead.

So now we have the rate value that is guaranteed to be at least 
sv_minrate but no more than sv_maxrate. This rate is used by the server 
and client to suppress/delay updates that would otherwise cause 
bandwidth usage higher than the rate. Server or client is simply not 
allowed to send more than the rate value but it is perfectly fine to 
send less, less than sv_minrate or even 0 bytes.

For TF2 the highest average bandwidth I saw (reported by net_graph 4) 
with cl_updaterate 66 and 24 players is ~35KB/s. Choke was obviously 
showing 0. The server had sv_minrate 50000 and sv_maxrate 100000, 
effective client rate value was 100000.

Conclusions: You don't need a connection that is at least sv_minrate fast.

I am yet to get any complains of lag on the server.

Cc2iscooL wrote:
> Technically it doesn't matter what the max rate is as long as your server's
> pipe is big enough. If the client can't achieve the max rate, they just
> won't achieve the max rate, whether it be due to their connection or rate
> settings. I find 50000 to be a sufficient maxrate for 24 player servers,
> though. Minrate on the other hand will affect clients, seeing as if it's too
> low, they won't get enough updates and will warp (especially if they don't
> know how to set their own rates) or if it's too high and their connection is
> saturated already (either by other people, themselves, problems in the
> tubes, or whatever) it will also cause them issues. Not to mention, the
> higher you set your minrate, the more bandwidth usage you will have on
> clients that do not set their rates. Like I said before, 15000 seems to be a
> good amount for a 24 slotter. You do get a bit of choke and loss at that
> rate, but it's not noticeable due to the engine's lag compensation.
> 
> --
> Cc2iscooL
> Head Admin/Owner
> http://www.cc2iscool.com
> 
> 
> On Mon, Jul 27, 2009 at 1:49 PM, Adam Nowacki <[email protected]> wrote:
> 
>> rate cvar is the rate upper limit, having higher than required rate
>> won't make the server send you more data. If the server needs to send
>> 20KiB/s to cover all updates then only this will be sent, no matter if
>> rate 20000 is set or 99999999.
>>
>> Richard Eid wrote:
>>> The CVar 'rate' accepts values in bytes/second.  Therefore, a rate of
>> 50000
>>> would require a minimum of a 400 Kb/s Internet connection.
>>>
>>>                                                     -Richard Eid
>>>
>>>
>>> On Mon, Jul 27, 2009 at 12:59 PM, Donnie Newlove
>>> <[email protected]>wrote:
>>>
>>>> Rate is in bit per second, is it not? To even be able to max out a 2
>>>> Mbps connection you would need rate 2000000. So forcing rate 50000
>>>> means the player need a 0.05 Mbps connection. How could that
>>>> unfriendly? Only dial-up users would be affected and seriously, the
>>>> Internet forgot about them a long time ago and for a good reason.
>>>> Please correct me if I'm horribly wrong.
>>>>
>>>> On Sun, Jul 26, 2009 at 4:48 PM, Saul Rennison<[email protected]>
>>>> wrote:
>>>>> "Obviously an AOL user isn't going to join, but than again, do AOL
>> users
>>>>> play CSS?"
>>>>> I have many friends whose parents refuse to change ISPs (who are using
>>>> AOL),
>>>>> and they play CS:S, albeit at 2Mbps...
>>>>>
>>>>> Thanks,
>>>>> - Saul.
>>>>>
>>>>>
>>>>> 2009/7/26 Steven Crothers <[email protected]>
>>>>>
>>>>>> Even so, your only looking at ~50kb/s which in todays day and age
>> isn't
>>>>>> bad.
>>>>>> The people who don't have at least that wouldn't be playing for other
>>>>>> reasons (ping being the primary reason). Obviously an AOL user isn't
>>>> going
>>>>>> to join, but than again, do AOL users play CSS?
>>>>>> Anyway the personal settings I use are 10k/30k for my low/highs.
>> However
>>>> in
>>>>>> TF2 I noticed that you need to toss more rate into it and haven't
>>>> explored
>>>>>> it much.
>>>>>>
>>>>>> On a side note, was the ability to set the clients rate from the
>> server
>>>>>> removed in TF2 as well? I never really looked into it, but I remember
>>>> back
>>>>>> in the day I could install a plugin and change a users rates from an
>> ES
>>>>>> mod.
>>>>>>
>>>>>> On Sun, Jul 26, 2009 at 12:36 AM, Richard Eid <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>> Adam, forcing a minrate of 50000 on people is not a friendly thing to
>>>> do.
>>>>>>> Lots of users around the world are still on what most of us would
>>>>>> consider
>>>>>>> pretty frickin' slow connections.  50000 means the user would need to
>>>>>> have
>>>>>>> a
>>>>>>> minimum of a 400 kb/s connection, and probably a little more to
>>>> provision
>>>>>>> for any overhead or another process running on the client's PC that
>>>> may
>>>>>>> also
>>>>>>> be sucking bandwidth, along with the potential that others may be
>>>> using
>>>>>> the
>>>>>>> connection concurrently.  400 kb/s may sound slow to you and me, but
>>>> some
>>>>>>> parts of the world lucky enough to have Internet connections at all
>>>> would
>>>>>>> love to have even half that speed.  To assume that "most players out
>>>>>> there
>>>>>>> should have at least" that isn't really fair.
>>>>>>>
>>>>>>> A few of us subscribed to the list had a discussion about it in the
>>>>>>> unofficial #hlserveradmins IRC channel a while back.  It is
>> ultimately
>>>>>> your
>>>>>>> decision to make, but there isn't really anything wrong with allowing
>>>> a
>>>>>> low
>>>>>>> rate.  It's mostly going to be at the user's detriment who may be
>>>> using a
>>>>>>> low rate as they would probably experience some warping and other
>>>> network
>>>>>>> related issues, but I think a little note about it in the MOTD would
>>>>>>> suffice
>>>>>>> as an FYI to the players visiting your server.  Instead of *forcing*
>>>> them
>>>>>>> to
>>>>>>> possibly have a poor experience on your server, I always figure it's
>>>> best
>>>>>>> to
>>>>>>> let them make the decision.
>>>>>>>
>>>>>>> If you feel this may hurt the experience players have while visiting
>>>> your
>>>>>>> server, the nice part is that you can change maxrate and minrate
>>>> settings
>>>>>>> on
>>>>>>> the fly.  So you can have a core group of players on your server
>>>> observe
>>>>>>> and
>>>>>>> report any oddities that may occur as you test this network variable.
>>>>>>>  There
>>>>>>> are SourceMod plugins available that allow you to monitor the rate of
>>>>>>> connected users, so this should help you to add detail to your
>>>>>>> documentation
>>>>>>> for making your final judgement.  You can always stop by the chat and
>>>>>>> discuss it further with us.
>>>>>>>
>>>>>>> Anyway, this is about CS 1.6.  The maximum value for rate in the
>>>>>> GoldSource
>>>>>>> engine is 20000.  So set sv_maxrate to 20000(or 0), and minrate to
>>>>>> whatever
>>>>>>> you feel comfortable with.  sv_maxupdaterate and sv_minupdaterate
>> must
>>>>>> also
>>>>>>> be set properly, and in the spirit of not getting too long winded, do
>>>>>> your
>>>>>>> homework.  These are basic settings you need to know to get up and
>>>>>> running
>>>>>>> properly.
>>>>>>>
>>>>>>> There's also nothing wrong with making sure that your users have
>> their
>>>>>>> rates
>>>>>>> set properly, client-side.
>>>>>>>
>>>>>>> If all else fails, make sure that you actually have enough bandwidth
>>>>>>> available to provide for those game servers.  Also, you didn't finish
>>>>>>> telling us what value you were using for +sys_ticrate.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>                                                    -Richard Eid
>>>>>>>
>>>>>>>
>>>>>>> On Sat, Jul 25, 2009 at 10:05 PM, Adam Nowacki <[email protected]>
>> wrote:
>>>>>>>> ics wrote:
>>>>>>>>> Default rate is 10000, which isnt enough for 66tick servers or
>>>>>> 100tick
>>>>>>>>> either. It's barely enough for 33tick. Sometimes even 25000 isnt
>>>>>>> enough,
>>>>>>>>> atleast on 33tick TF2 servers with 30 players.
>>>>>>>> Want a choke free tf2 server?
>>>>>>>>
>>>>>>>> sv_minrate 50000
>>>>>>>> sv_maxrate 100000
>>>>>>>> sm_cvar net_maxcleartime 0.001
>>>>>>>> sm_cvar net_splitrate 2
>>>>>>>> sm_cvar net_splitpacket_maxrate 50000
>>>>>>>>
>>>>>>>> Most players out there should have at least 512kbit/s connections.
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> To unsubscribe, edit your list preferences, or view the list
>>>> archives,
>>>>>>>> please visit:
>>>>>>>> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> To unsubscribe, edit your list preferences, or view the list
>> archives,
>>>>>>> please visit:
>>>>>>> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>>>>>>>
>>>>>> _______________________________________________
>>>>>> To unsubscribe, edit your list preferences, or view the list archives,
>>>>>> please visit:
>>>>>> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>>>>>>
>>>>> _______________________________________________
>>>>> To unsubscribe, edit your list preferences, or view the list archives,
>>>> please visit:
>>>>> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>>>>>
>>>> _______________________________________________
>>>> To unsubscribe, edit your list preferences, or view the list archives,
>>>> please visit:
>>>> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>>>>
>>> _______________________________________________
>>> To unsubscribe, edit your list preferences, or view the list archives,
>> please visit:
>>> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>>>
>>>
>>
>> _______________________________________________
>> To unsubscribe, edit your list preferences, or view the list archives,
>> please visit:
>> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
> 
> 


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to