Bandwitdh

ConfusedConfused Wait. What? Join Date: 2003-01-28 Member: 12904Members, Constellation, NS2 Playtester, Squad Five Blue, Subnautica Playtester
<div class="IPBDescription">?</div> waht kind of bandwidth does a server need i know net_graph says i use like 3kb up and down is this consistant or is it lying to me:)

Comments

  • masterswordmanmasterswordman Join Date: 2002-12-21 Member: 11303Members
    A 20 person ns takes around 512 Kbps, But to stay on the safe side, get at least 1 Mbps for each 20 person, it's a bit much, but it's worth it. Don't get cogent. I would recomend 888.net for you bandwith, or just get a $99 a month server shack server that has 400 GB of trasfer, that's more then enough.
  • verboseverbose Join Date: 2002-11-25 Member: 9968Members, Constellation
    <!--QuoteBegin--confused!+Feb 10 2003, 04:24 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (confused! @ Feb 10 2003, 04:24 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> waht kind of bandwidth does a server need i know net_graph says i use like 3kb up and down is this consistant or is it lying to me:) <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    I believe it's reporting bytes. 3 kilobytes/sec * 8 bits/byte * 20 players = 480 kbps, which is consistent with a few reports I've read, including MSM's above.
  • ConfusedConfused Wait. What? Join Date: 2003-01-28 Member: 12904Members, Constellation, NS2 Playtester, Squad Five Blue, Subnautica Playtester
    aiight thx i was trying to figure out how to set my $*** up so i wasnt gonna lagg any one if i ever get my map up for a play test. thus 512 kb dsl wil get me say 16 or so.. sweet thankls yall.
  • masterswordmanmasterswordman Join Date: 2002-12-21 Member: 11303Members
    It's not the bandwith that matters for NS, it's the server processing speed, and it's ram.
  • eagleceaglec Join Date: 2002-11-25 Member: 9948Members, Constellation
    OK, just ignore him... no offense.
    You can run a server for 16 players on anything P3-600 and up so long as you have 80mb more ram than the OS uses and dont mind fiddling about to get the thing running sweet. Bndwidth is important but 512 is normally your download speed, that's important for browsing the internet and getting your e-mail but you need to check you upload speed (normally this is less than download speed on dls/cable lines) .
    On a limited line like you (and I) have you have to be a bit more careful about your set up. If you dont want horrendous choke you will need to limit your server to only use the bandwidth you can gurantee. This has been worked out in a pinned topic and its all about sv_maxrate (there's lots more to running a server but this is about bandwidth) you should also make consideration for contention...

    Again I repeat.. sv_maxrate = bytes per second per player
    If you have 512,000 bits per second upload speed
    with contention that could be 50:1 (standard UK deal)
    this gives you guaranteed network speed of between 10,420 and 512,000 (yes ouch, but it is very unlikely that all 50 users you are contending with are using full bandwidth at the same time so just bear in mind that you wont get 512,000)
    and you want to run 16 players
    So we take say 480,000bps (to give you some breathing space) and divide by 16 = 30000bps
    now divide this by 8 to get your bytes (8bytes in a bit) = 3750

    So in server.cfg include the line sv_maxrate 3750
    You can afford to give yourself a bit more breathing room and will find that a 16player server runs fine down to sv_maxrate 2000, this also reduces cpu overhead.

    so bps / players / 8 = sv_maxrate

    ...prep for dustoff
Sign In or Register to comment.