Comments On Server Config
Guspaz
Join Date: 2002-11-01 Member: 2862Members, Constellation
<div class="IPBDescription">For 256kbit upstream</div> I'm trying to think up some good settings for a server that is on a 256kbit (upstream) connection. The settings here are for <b>10</b> players. Here's what I have so far, can anybody make any suggestions/comments? (Assume CPU is not an issue)
sv_allowdownload 0 // Can't have people sucking bandwidth
sv_maxrate 2800 // ~219kbit total here, a bit of buffer
sv_maxupdaterate 30 // This is half the default of 60. Should it be higher/lower for a maxrate of 2800?
sv_minrate 2500 // Just to stop cheaters.
mp_lowlag 1 // This is a CS var IIRC, does it work well (at all) in NS?
sv_allowdownload 0 // Can't have people sucking bandwidth
sv_maxrate 2800 // ~219kbit total here, a bit of buffer
sv_maxupdaterate 30 // This is half the default of 60. Should it be higher/lower for a maxrate of 2800?
sv_minrate 2500 // Just to stop cheaters.
mp_lowlag 1 // This is a CS var IIRC, does it work well (at all) in NS?
Comments
i cannt play with it. To laggy.
Now that dsl and broadband are becoming more popular the high contention ratios imposed by most ISPs are become a problem for things like this.
I have had (a long time ago) 16 hldm players on my 256 line all with sub 100 pings including me from a freinds house with no noticible lag using a dynamic rate pluggin. I also had a few days after awful choke on the same settings with only 8 players.
I have given up running servers on my dsl, especially since I'm a member of Roob's team now and we have a brand spanking new server being delivered today <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->
i cannt play with it. To laggy. <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
most players don't notice half the time except in a full server battle but even then the CPU chokes just as much as the bandwidth
sv_maxrate 2800 // ~219kbit total here, a bit of buffer
sv_maxupdaterate 30 // This is half the default of 60. Should it be higher/lower for a maxrate of 2800?
sv_minrate 2500 // Just to stop cheaters.
mp_lowlag 1 // This is a CS var IIRC, does it work well (at all) in NS? <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
If you set allowdownload to 0 you should also set allowupload to 0 (e.g. to disable spraylogos uploads).
sv_maxrate should be normally 10000 and 2800 can only be a joke.
sv_maxupdaterate is also 30 at my server and it should be the default because i have not changed it.
sv_minrate should be 0 <span style='color:white'>***Nuked.***</span>
mp_lowlag is not a NS Cvar - just enter it intow your rcon console and nothing will return.
<!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->If you set allowdownload to 0 you should also set allowupload to 0 (e.g. to disable spraylogos uploads).
<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->Good point
<!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->If you set allowdownload to 0 you should also set allowupload to 0 (e.g. to disable spraylogos uploads).
sv_maxrate should be normally 10000 and 2800 can only be a joke.
<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->Untrue, sv_maxrate is there for a reason and 2800 is ok for a small server 10000 is the maximum and only for competition standard and LAN. If you haven't got the bandwidth then you should not use 10000, but we all know this dont we <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif'><!--endemo-->
<!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->sv_minrate should be 0 (lol - everyone calls everybody cheater and you probably dont know what cheating is).<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
I dont know about "cheating and sv_minrate" but I guess you dont either, perhaps someone can enlighten both of us. Setting a minrate kind of makes sense but may enforce lag or higher pings on your connection. Trial and error might be the best option.
sv_minrate should be 0 (lol - everyone calls everybody cheater and you probably dont know what cheating is).
<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
Incase you missed it, there is a post by MonsE paraphrased: If you don't have anything nice to say, keep your trap shut.
<span style='color:white'>***Nuked.*** Threatening other members is bad, OK?</span>
Sv_maxrate 10000 = 10KB/s per player. 7500 is usually adiqute but on cable/dsl servers 2800-5000 are usually the most common and practical. smaller servers dont' have 7v7 battles..its USUALLY 3v4 ro 2v2 at a time or at diff locations on the server. maxrate is just the MAXIMUM (notice how the word starts with max?) meaning half the time the players do not consume all 10KBs or even 2800. Logically, you can set sv_maxrate 5000 (which is over yourlimit) but inorder for this to work you will need to be able to use packet manipulation and queing on your DSL router otherwise you will overflow your DSL's buffer and cause a HUGE lag spike for everyone. I have yet to experiment and utilize this so i cannot provide you with a howto. minrate is used to lagout 56K players. I have yet to find a use for it but maybe someone has a better explination for us.
Moving on, what I'm most interested is if the sv_maxupdaterate is good for this particular sv_maxrate. The sv_maxrate won't change (much), due to the connection being a fixed quantity, however the sv_maxupdaterate may need to be tweaked. Anybody have any comments on it? Should it be lowered for sv_maxrate 2800? Maybe sv_maxupdaterate 20?
<b>sv_maxupdaterate :</b> set the maximum number of times per second to update clients
<a href='http://half-life.gamehelp.com/console/server.html' target='_blank'>http://half-life.gamehelp.com/console/server.html</a>
So yeah, I guess if you reduce the maximum ammount of data you should reduce the ammount of fps the client should expect. I think dropping it as low as 20 might be bad though.
I have an 8 person sven server running on a 256K connection with sv_maxrate set at 3500. <!--emo&::nerdy::--><img src='http://www.unknownworlds.com/forums/html/emoticons/nerd.gif' border='0' style='vertical-align:middle' alt='nerd.gif'><!--endemo-->
I'll look into those other varibles too. Thanks <!--emo&::lerk::--><img src='http://www.unknownworlds.com/forums/html/emoticons/lerk.gif' border='0' style='vertical-align:middle' alt='lerk.gif'><!--endemo-->
it was my understanding that sv_maxrate = KB/s*100
but i maybewrong
eaglec, no, sv_maxupdaterate does not affect the number of frames per second that the client sees. It would instead affect the smoothness of gameplay. Half-Life will interpolate between updates, the question is how much interpolation can you get away with?
What I mean is, if you have sv_maxupdaterate 20, and a client has an FPS of 100, then they're getting new data every five frames... So all the frames between updates are "guessed" by the client. So, at what level do errors or visual glitches begin creeping in? That's the big question.
Hrm, thats a good question. But we need more of a pro on the HL engine code to make more sense of that instead of us newbies <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
The server is currently using a maxrate of 2500 to improve the buffer (between what we use and what the line is rated at).
We're currently running with an sv_maxupdaterate of 20, and it still uses too much bandwidth, IE there is still quite high choke. Looks like we might have to decrease the update rate to 10 or 15... Though perhaps a combo of trying an updaterate of 15 and an increased maxrate of 2800 might help.