Everything2
Near Matches
Ignore Exact
Full Text
Everything2

latency

created by jammer

(thing) by kessenich (3.1 y) (print)   ?   (I like it!) 2 C!s Sun Apr 16 2000 at 12:50:59

There are three components to latency that you should combine to come up with the total delay:

1. Propagation delay owing to distance - The amount of time it takes to travel from point A to point B via speed of light. You can calculate this with .01 msec/mile (estimate of speed of light in fiber). This value becomes significant on cross country long haul circuits or international circuits. You need to double your distance if you are calculating roundtrip delay, e.g., NY to SF is approx. 3000 miles or 30ms one way, 60ms roundtrip.

2. Transmission delay - This is the amount of time it takes to move a packet of data across a fixed speed link. To calculate this you would need to estimate or measure an average size packet that shall be transversing the frame relay net. Convert packet bytes to bits and divide by the access speed of the frame relay net to give you seconds. Multiply this result by two since you need to access the frame relay net and come out the other side. If you are calculating roundtrip multiply this number by 4.

3. Queueing delay - This is usually the most significant component of latency. It is also nearly impossible to calculate easily. This component depends on queue sizes in both the frame relay switches and routers, the amount of traffic queued, the number of frame relay switches to be transversed, etc. The number of switches that you transverse will vary based on the condition of the carrier's network at any given point in time. The component doesn't exist on point-to-point serial links built on TDM technology. To estimate queueing delay, do extended ping tests at various times during the day and come up with an average. Routers have built in queuing delay.

As for bandwidth and latency: set up a sniffer to monitor the traffic to and from a workstation then use that station to ping (50+ times) the near and far ends of a WAN link with various packet sizes, around 60, 100, 500, 750, 1000, 1250, and 1500. You need to try at least two different sizes, and the larger the difference the better. Have the sniffer display delta time and packet size and ensure that each ping request is followed immediately by a ping response. Print to a CSV file and import into Excel. Sort the data and analyze everything but the ping responses.

You can use the frequency function to generate a histogram of the response times for each set of pings. The near-end pings will probably be close together but the far-end pings will vary. The distribution will vary depending on the backbone technology and the number of intermediate hops/NNIs in their network. You should have a few pings grouped together at the beginning of the distribution and use them to represent the so-called 'ideal' ping time with no queueing delay. If you don't see this, you may have to increase the number of pings or perform them at a different time of day. You can compute both bandwidth and latency based on the 'ideal' ping times, but that's a different write-up. Basically, it's easier to base things on 'ideal' times.


(thing) by Rancid_Pickle (1.9 wk) (print)   ?   (I like it!) Sun Dec 31 2000 at 8:22:09

Rotational latency is the time for a platter in a hard disk to rotate in order to place the desired sector under the read/write heads. Average latency is slightly more time than it takes for half of a platter to pass under the heads.

(definition) by Webster 1913 (print) Wed Dec 22 1999 at 0:48:59

La"ten*cy (?), n. [See Latent.]

The state or quality of being latent.

To simplify the discussion, I shall distinguish three degrees of this latency. Sir W. Hamilton.

 

© Webster 1913.


printable version
chaos

yark AOL is not the Internet Lag latent
Black box for the brain throughput Freud's Psychosexual Stages bandwidth
delay Packet sniffer One more robot learns to be something more than a machine. RTLinux
Ping How your brain codes knowledge hesitation noise Wan
CL_FlushEntityPacket government-granted monopoly simultaneous multithreading Frame Relay
Sniffer networking video game console controller signals HIV test Human side prediction
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
The best nodes of all time:
Risotto
To His Coy Mistress
John Kerry
paleontology
The evolutionary purpose of human body hair
How to entertain young children on little or no money
lawnjart spills his guts to the press
Petrarchan Sonnet
Love is not an emotion
Magic: The Gathering
Why I did what I did
Books made me a person
Cowboy Bebop
New Writeups
Cuckowski
Slavonic Princess(poetry)
Heitah
Posthumous Oscar(thing)
ignis_glaciesque
University of South Florida(place)
ignis_glaciesque
Flogstaskriket(idea)
liveforever
Caesar's last breath(idea)
dagnyswaggart
she wants to believe(personal)
antigravpussy
he doesn't know, but her eyes widen too far(thing)
dagnyswaggart
Wild tides guard her secrets(poetry)
Lord Brawl
Caesar's last breath(poetry)
locke baron
Forgotten things in space(fiction)
sitaraika
Colours(idea)
etouffee
Wild tides guard her secrets(poetry)
Lord Brawl
Dr. Horrible's Sing-Along Blog(review)
a8ksh4
regret(idea)
Heisenberg
Editor Log: July 2008(log)
Everything 2 is brought to you by the letter C and The Everything Development Company