What Does Latency Represent?

N_RecoupN_Recoup Join Date: 2005-01-17 Member: 36126Members
<div class="IPBDescription">I have no clue!</div> You know the little numbers by my name, under Latency? What do those numbers mean?

When playing NS, or Sven Coop, or Brainbread, my latency looks like this:

42...53...117...386...412...663...1012...72...32...

This is extremely annoying. The number will start in the 30's and 40's, and shoot up to the hundreds or thousands. Now, I know this is ISP related. I've had 4 technicians out here to look at this and they all noticed something was wrong.

So unless I get some hard evidence of what these numbers mean, I cant really say "My internet is slowing down". What I'm really looking for is the "kbps" or "mbps" that these numbers could represent. Maybe I could at least CONVERT them if I knew what they stood for.

Any help?

Comments

  • Gecko_God_Of_DooomGecko_God_Of_Dooom Join Date: 2004-02-10 Member: 26353Members
    they are the amount of miliseconds .001 it takes to get info to the server and back.

    (or maybe its just to the server) but I pretty sure its the above.
    so 30 ping is cool, but when it gets to the thousands it means you computer is about a second behind the actualy server time. AKA lag
  • urinalcakeurinalcake Can&#39;t work a sound card United States Join Date: 2002-11-08 Member: 7799Members
    edited June 2005
    In Cisco terms, latency is your amount of delay.
    Edit: I don't really remember, but its something like getting to one agent to another, and if there is delay then the latency is the amount. In our terms, it was from router to router.
  • Lt_PatchLt_Patch Join Date: 2005-02-07 Member: 40286Members
    However, in real life terms (Cisco and their overpriced networking gear FTL), latency is the time, measured in milliseconds, <b>for data to be transmitted from your PC, to remote server, and an acknowledgement packet to be received</b>.

    THAT is what latency is, and the lower the better.

    Latency spikes are normally caused by something else taking the bandwidth of your line up. It can also be caused by a factor known as Contention.

    Contention is the ratio of houses:actual lines and is normally 50:1.

    If the x:1 line is a 10Mb/s connection, then for everyone to experience their maximum out of their connection, then they will need to have 200kb/s connections. Seeing as broadband is normally 512kb/s connections at the minimum, then with only on eperson, there is no problem, as 512<20000.

    However, if you get 20 people on 512kb/s connections, then you get 10240kb/s being used. Still not a problem. Until you get to 40 people connecting.

    Then you'll have 20480kb/s being used, which is the maximum that the contended line can sustain. Add a single other person onto that line, and it breaks the full connection limit. People start losing bandwidth to accomodate for the new people joining. I personally have a 2Mb/s connection, with a contention of 20:1, meaning that only 20 people share the same contended line. Seeing as I live in a street of old folks, it makes sense that I have a ludicrously stable latency.

    In summary, Latency is a measurement of delay from your PC, back to your PC, via a remote server. Latency is affected by bandwidth, which can be used by other programs on your PC downloading data, or by Contention. Contention is the ratio of lines on a contended line (one which connects the houses individual phone lines to the local exchange.
  • N_RecoupN_Recoup Join Date: 2005-01-17 Member: 36126Members
    Anyone got any idea why it might be jacking my latency to 1000 all the way from 30?
  • AhnteisAhnteis teh Bob Join Date: 2002-10-02 Member: 1405Members, NS1 Playtester, Constellation
    latency in-game is some kind of average latency. Not sure of the exact specifics.
  • Status_QuoStatus_Quo Join Date: 2004-01-30 Member: 25749Members
    edited June 2005
    If you're downloading anything at the same time, it might be because your bandwidth is sapped by the download and the game will have to wait a while before sending a new package. Edit: Ditto for uploading.
  • N_RecoupN_Recoup Join Date: 2005-01-17 Member: 36126Members
    I have nothing in the background running that is connecting to the internet. Lets say Natural Selection is the only thing running. Thats it. Nothing else. It will still do this for no particular reason at all.
  • Lt_PatchLt_Patch Join Date: 2005-02-07 Member: 40286Members
    Normally down to contention then, someone on the contended line is downloading a lot of data very quickly, and is sapping a little from everyone. Go yanking phase-power connections out from their houses, and see if that fixes your problem <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->

    If not, apologise to everyone for cuuting off their power for a while, and sit and bear it.
  • FlyingcowFlyingcow Join Date: 2005-02-16 Member: 41451Members
    hmmm, complain to your ISP if it continues. I was going to get this internet <a href='http://www22.verizon.com/fiosforhome/channels/fios/highspeedinternetforhome.asp' target='_blank'>http://www22.verizon.com/fiosforhome/chann...rnetforhome.asp</a>

    but they dont have it in my area. Fios is 15 mb/s for 50 dollars... most of the cablecompanies only provide 3 or 5 mb/s for 50 dollars. i dunno if we are supposed to link things like this but i suggest you get a new internet if you are getting frequent spikes.
  • AaronAaron vroom vroom der party startah Join Date: 2002-11-05 Member: 7020Members
    edited June 2005
    Yeah, it's contention, or something down the line is dropping packets, or you have been hosed by viruses/spyware/haxxors.

    Get the IP of the server you are connecting to, and do a ping first in a cmd ("dos") console (replace xxx of course with the server IP):

    <!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->ping xxx.xxx.xxx.xxx<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

    Look at the 'time=' results for each ping. You can play around with the options to perform more (or continuous [edit: actually, please DON'T abuse this unless you really want to **** off the server admin]) pings. This time may NOT be the same as your 'latency' you see when in-game (which is due to all sorts of factors), but is a good goal-post, and should NOT wildly fluctuate, e.g. from 30ms - 1000ms. If it does you know there is something at a network level, not NS-related, going on.

    You can also try tracert:

    <!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->tracert xxx.xxx.xxx.xxx<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

    Watch the times again. If one sucker stands out, you know there is a problem at that hop. Look to the right and with any luck you may be able to deduce where the problem is (whether it is on your network, or your ISP, or some upstream provider or whatnot).

    You can also play with the net_stat in the NS console. This draws pretty graphs which I am sure are really meaningful to smarty pants, and undoubtedly there are numerous threads on this topic, but since I am lucky and have never really had network problems, I never really cared to learn to interpret them.
  • WheasleWheasle Join Date: 2005-06-27 Member: 54790Members
    I'm also having the same problem, but I've been able to determine that it is happening due to events within the game. my normal ping is usually around 30-90 when the games all start and fluctuate above 1000 in certain circumstances

    The following are situations that are causing my ping to spike above (or significantly increases ping)
    - the more people on the screen the higher the ping
    - whenever an extra sensory skill is enabled that requires tracking of multiple objects the ping goes high and stays high for duration of the skill being operational
    - whenever I'm an alien (due to the sensory capabilities)

    Just so noone complains that it could be my ISP or whatever, if I sit in the waiting room (can't remember the name of the room) of the game, I can sit for ages and my ping stays at a consistant 30 - 90. I can also play other Half Life mods (TFC, CS) without only extreme rare cases of ping fluctuation. Haflife 2 seems to be even more consistant again.

    I'm still doing research to see what else is happening so I apologise if its not very conclusive yet.

    I have also found that playing with the halflife settings can make some improvements in keeping the ping more consistant, but thet don't eliminate the problems or make the ping comparible to that found in CS or TFC.
  • NadagastNadagast Join Date: 2002-11-04 Member: 6884Members
    Are you using wireless internet to connect to a router? If so that might be it... wireless connections (from what I hear) are real bad for gaming.
  • CatpokerCatpoker Join Date: 2002-06-25 Member: 816Members
    Yes i can testify that wireles is bad for gaming. I have a friend who has a wireless connection and he cannot play any games with it spiking every 30 seconds

    I am pretty sure this is the cause.

    Or your ISP is just plain messed up.
  • WheasleWheasle Join Date: 2005-06-27 Member: 54790Members
    I'm actually connected directly to my router.

    I also have an intel 3.0Gb machine with 1Gb Ram and ATI 9800 Pro video card, I'm playing through a Steam client (if any of this makes any difference).
  • WheasleWheasle Join Date: 2005-06-27 Member: 54790Members
    ISP is not the cause, I have played many other games HL2 with CS, Deathmatch, HL with CS, TFC, etc. and none have this problem...

    and I don't get the problem if I'm sitting on a server with only a couple of players or in the waiting room of a full server...but, as stated, earlier, I get it only under certain circumstances which are NOT isp related.
  • Jabba_The_HuntJabba_The_Hunt Join Date: 2003-01-05 Member: 11850Members
    just a quick note latency isn't quite ping, its your ping modified by several factors such as choke and loss. This was done to more accurately represent the quality of the connection between you and the server.
  • redchlorineredchlorine Join Date: 2005-05-01 Member: 50682Members
    Wireless is bad for gaming?
    That doesn't explain my constant 50-80 latency.
    And I only have a ~20% signal strangth, too.
    Maybe wireless b is bad, but I have a wireless g connection and it has no effect on my gaming. The only problem I ever get is when there's someone downloading stuff on the computer that the router is wired to.

    Actually, now that I think of it, the router keeps switching my connection between b and g for no particular reason, and neither one gives me issues.

    [/ <!--emo&::nerdy::--><img src='http://www.unknownworlds.com/forums/html/emoticons/nerd-fix.gif' border='0' style='vertical-align:middle' alt='nerd-fix.gif' /><!--endemo--> ]
  • GiGaBiTeGiGaBiTe Join Date: 2003-10-07 Member: 21489Members
    if you have recently reinstalled steam, depending on what connection you chose (dialup, dsl, etc) your rate will be stupidly low. so when you get into a room with a crap load of action, the game chokes itself to that default crap rate (usually 2500) and starts to lag.

    the fix:

    THERE IS NO FIX OH NOES!!!

    JK..

    change your rate (only if you have a very fast dsl or cable connection) to something like

    rate 25000

    and that should stop your lag problems.
  • Router_BoxRouter_Box Join Date: 2004-09-07 Member: 31483Members, NS1 Playtester, Constellation
    Also, if your isp is comcast, look no further.
  • NadagastNadagast Join Date: 2002-11-04 Member: 6884Members
    rate 20000
    cl_updaterate 100
    cl_cmdrate 100
    ex_interp .04



    Put those in your config or console and see if it does anything...
  • XCanXCan Join Date: 2002-11-03 Member: 5904Members, Constellation
    <!--QuoteBegin-Ahnteis+Jun 11 2005, 01:58 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Ahnteis @ Jun 11 2005, 01:58 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> latency in-game is some kind of average latency. Not sure of the exact specifics. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    I believe the one that shows up when holding tab takes into consideration it takes for the updated frame to draw on your screen too. So it's really how fast you see a change rather than just receiving a response from a pack.
  • GreeGree Join Date: 2003-05-18 Member: 16454Members
    I had this problem for while until I put the following in my autoexec.cfg

    cl_cmdrate 101
    cl_updaterate 101
    rate 25000
    cl_rate 25000
    cl_dl 300
    ex_interp .05
Sign In or Register to comment.