Talk:Latency (engineering)

Latest comment: 3 years ago by Kvng in topic error in the maths

Rewrite?

edit

This article seems on a first glance to be completely misunderstanding the nature of latency, confusing latency with the general notion of throughput.

Latency is not just "a measure of amount of time between the start of an action and its completion", it is specifically the amount of time that is unavoidably expended before transmission actually begins. To go along with the travel analogy, the jet plane may travel faster than a car once when both are in motion, and the jet plane may carry more. However, loading up luggage and passengers and starting up the vehicle will inevitably take longer for the jet plane than for the car; the amount of time it takes to prepare for the travel is the latency. -- Antaeus Feldspar 21:47, 5 Dec 2004 (UTC)

I agree with the article and disagree with defining Latency as the time for starting an action only. In telecommunication delay and latency are often used as synonyms, but most understood latency as the total sum of the end to end signal delay. Depending on the transmission system this could be defined and measured on a per packet base (equivalent to the airplane with it's passengers) or on a bit level (no boardening of passengers, each passenger would fly immediately in a single plane). -- Matthias, 7 Dec 2004

The definition of latency is more or less correct. It is the total time, including the startup time. The definition of throughput is not. Throughput is the amount of work done (e.g., bits transmitted over a network) in a given amount of time, not just the number of actions. In a computer network, sending data in large packets has a higher throughput than sending the same data in small packets, even though there are less actions (packets). This is both because of the lower number of overhead bits and because of reduced startup and queueing latency. If the data is streamed, propogation latency won't have much effect on throughput, but if the system waits for an acknowledgement after each packet before sending the next, high propagation latency will drastically reduce throughput. Errors that cause packets to be retransmitted also reduce throughput. --Rick Sidwell 05:51, 11 Dec 2004 (UTC)

I'm no expert on this, but the external link given in the article seems to agree with Antaeus. It does eventually mention overall latency, but focuses on minimal latency and refers to this simply as latency. Here's the definition given:

"No matter how small the amount of data, for any particular network device there's always a minimum time that you can never beat. That's called the latency of the device."

Maybe this usage was chosen because the author wanted to compare networking methods in general, rather than their performance on a specific task. Does anyone have authoritative examples of contrasting usage? -- Avenue 23:22, 7 Jan 2005 (UTC)

Maybe the disputing sides will agree to accept this definition? If a zero-length message is considered, both definitions should mean the same.

Latency The time taken to service a request or deliver a message which is independent of the size or nature of the operation. The latency of a message passing system is the minimum time to deliver a message, even one of zero length that does not have to leave the source processor. The latency of a file system is the time required to decode and execute a null operation.

Look at http://www.nhse.org/NHSEreview/CMS/Chapter6.html

--[Grzesiek] 14:36, 31 Jan 2005 (UTC)


This article needs a complete rewrite.

There is also the article Comparison of latency and bandwidth.


merge proposed

edit

I have marked "comparison of latency and throughput" to be merged with this. Gigs 10:22, 6 July 2007 (UTC)Reply

I would add Lag as well in this merger.--itpastorn (talk) 21:00, 11 February 2008 (UTC)Reply
Unless there is a compelling reason, I oppose this merger. Kushal (talk) 02:33, 15 July 2008 (UTC)Reply
proposed underline, Consequences of latency in real time as acceptable or unacceptable. by definition latency is always present.  —Preceding unsigned comment added by Jdbarnett33.1 (talkcontribs) 23:15, 19 August 2008 (UTC)Reply 
Comparison of latency and throughput now redirects to Network performance. ~Kvng (talk) 14:42, 12 April 2021 (UTC)Reply

error in the maths

edit

The article says that light takes 4.8 microseconds for every kilometre. This is wrong, it should be 3.3 microseconds. I don't know if the rest of the paragraph is correct or not though. —Preceding unsigned comment added by 152.78.239.138 (talk) 14:24, 8 February 2010 (UTC)Reply

The source of error is probably due to the wrong refraction index assumed for fibre. The speed of light in fibre is about 200,000 km/s (see for example Optical fiber), so the number is more or less correct. —Preceding unsigned comment added by 79.182.50.46 (talk) 12:23, 23 February 2010 (UTC)Reply
Probably so. In any case, this figure is no longer in the article. ~Kvng (talk) 14:42, 12 April 2021 (UTC)Reply

First sentence not good.

edit

I just read the first sentence - it appeared when I googled 'latency'. "Latency is a time interval between the stimulation and response, or, from a more general point of view, as a time delay between the cause and the effect of some physical change in the system being observed.[1]" 1. Did no-one notice that it's not even a coherent sentence? 2. The reference is ridiculous, barely relevant to the sentence. At least, it's nothing like support for the definition given. It has a few very brief and specialized hi-tech uses of the term. So. Judging by this sentence, the rest of the article is.. well, I didn't bother. 110.20.158.134 (talk) 01:21, 6 November 2015 (UTC)Reply

Merge from Low latency

edit

I'm proposing to merge content from Low latency into this article. All the content in Low latency is about latency and efforts and reasons to minimize it in context already described here. The paragraph on high-speed trading would make a helpful addition to this article. ~Kvng (talk) 15:13, 13 January 2016 (UTC)Reply

  Done ~Kvng (talk) 23:14, 11 February 2017 (UTC)Reply