Talk:Latency (engineering)/Archive 1
This is an archive of past discussions about Latency (engineering). Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 |
There appears to be many forms of Latency
Here is how I have had it explained to me previously (with regard to telephony):
Latency is a measure of the time taken to traverse a space between any given points of transmission including elements of measured resistance eg conversions and codecs etc.
eg Where z-a is the transmission (in order a,b,c,d,e,f,....y,z,) and Point1 is place of Origin and Point2 is place of receipt
Point1 Point2 | | z-a.....................>...............z-a ----------------------------------------- The measure of this period = Latency
Between Point1 and Point2 there may be a number of resistant systems eg relays, hops, codecs, AD/DA conversions etc
Latency in this example is therfore the period taken for a specific point within the transmission (in this example the letter "a" but alternatively any point of the sequence transmitted eg any letter between a and z)to pass Point 1 and be effectively received (in original type state) at Point2.
Latency is easily percieved during live television interviews with persons on the other side of the globe wher the transmission is relayed by satellite.
Rough and ready but I hope this contributes
Phil Wright
- Yes Paul,
- This word is severely overloaded. Latency is one of those words used to encapsulate behavior one either does not understand or does not care to explain. Only later when there is a direct collision with another word use of latency does it become either better predicated as in operational latency, or given an entirely different term as in rotational delay. Vonkje 13:21, 28 July 2005 (UTC)
More formality and less examples
This article attempts to define a word-concept by examples. Another way is by formal definition. The reference to the workflow paper provides a formal definition of operational latency. Formal definitions exist for the other types as well. Communication latency also has a formal definition in terms of Propagation delay and Velocity of propagation.
The example involving turning around an aircraft is too long. Most of its surface area does not deal with latency as much as parallelizing workflows. This article will be more useful to engineers (or their aspirants) if examples can be trimmed and formal definitions (or pointers to these definitions) provided. Vonkje 13:56, 28 July 2005 (UTC)
Latency vs. response time in software systems
When measuring the performance of a software system, we refer to latency as the time a request spends "on the wire" before getting to the software system. We use the term "response time" to talk about the entire operation from a user's perspective. Martin Fowler discusses this in his book "Patterns of Enterprise Application Architecture" on page 7 - 8. (Fowler is one of the most respected authors in the software field).
I would have to agree that latency refers to the time that an operation is not actively being processed, but rather just being communicated from one point to another.
Also note that the word latent means "dormant" or "inactive". From this perspective, a request is inactive until it reaches the system that is going to process it.
--Javid Jamae 01:43, 07 Apr 2005 (UTC)
One of the most common usages of 'latency' now is for the time lag after a user initiates an action on a computer. For example, the delay between pressing a button and confirmation that the expected action has been taken.
To me (at least) this kind of latency has become at least as important as 'speed' (bandwidth, processing speeds, etc.)
Maybe there should be a section on it here?
Sam Dutton (talk) 07:12, 6 September 2008 (UTC)
If we consider latency in general all the above definitions are correct. Latency could be defined as the time required for an arbitrary system to change it state from state A to state B. The important thing is what we define to be states A and B.
We can say that initial state A is just before we send an instruction to CPU and final state B is when instruction is processed. So the whole time from start to finish is latency.
But we can also say that state B is when instruction reaches the CPU and starts executing. Then the latency is only the time spent in communicating the instruction (and data) to CPU.
If we would look even more closely we could see that even this latency or "inaction" is not really an inaction. Still some process of communicating the instruction to the CPU is running and it has its own latency. And so on....
TommoZ
- TommoZ,
- I agree, which makes me wonder about the objective of this article. Some could argue that it should be turned into a disambiguation page, while others would like it to be a (rather large) Wiktionary entry. This is a word with seemingly unending expansion of senses. For example, your above post mentioned yet another use of latency, this time in the field of microelectronics which is where I first learned of it. If we include all of these in one article, such an article would be too large and incohesive, with the only unifying theme having to do with .. the time required for an arbitrary system to change it state from state A to state B. Do you think it is worth all that (virtual) ink? Vonkje 13:37, 28 July 2005 (UTC)
IEEE and Springer provide appropriate references
I do not question the definition in the Oxford dictionary which says: latent Pronunciation: /ˈleɪt(ə)nt/
Definition of latent adjective
- (of a quality or state) existing but not yet developed or manifest; hidden or concealed:they have a huge reserve of latent talent
- Biology lying dormant or hidden until circumstances are suitable for development or manifestation:axillary buds or eyes in the leaf axils are latent growth buds
- (of a disease) not yet manifesting the usual symptoms:diabetes may be latent for some years before diagnosisthe latent stage of syphilis
- Physiology (of a microorganism, especially a virus) present in the body without causing disease, but capable of doing so at a later stage, or when transmitted to another body.
In comparison to delay delay Pronunciation: /dɪˈleɪ/ Definition of delay verb [with object]
- make (someone or something) late or slow:the train was delayed
- [no object] be late or slow; loiter:time being of the essence, they delayed no longer
- postpone or defer (an action):he may decide to delay the next cut in interest rates
noun
- a period of time by which something is late or postponed:a two-hour delaylong delays in obtaining passports
- [mass noun] the action of delaying or being delayed:I set off without delay
- Electronics the time interval between the propagation of an electrical signal and its reception.
- an electronic device which introduces a delay, especially in an audio signal.
Common Usage & References However as latency is used as professional jargon in engineering as delay in event driven systems. Examples hereof are in the recognized works such as:
- IEEE Press’ “Real-Time Systems Design and Analysis – Tools for the Practitioner” by Laplante, P.A. and Ovaska, S.J. (2012), 4th Edition published by Wiley, where latency is defined as:
- Latency: A measure of time delay experienced in a real-time system.
- qoute from p. 517 - glossary, which is supported by examples on pages 35, 61-62 and 73. The glossary also refers to interrupt latency. This book is available on google books, with examples of the definitions on page 8 and 18 (to point out a few), where the latter including dramatic causes for nuclear meltdown.
- In the system design principles it is also applied as a measure of deviation from timeliness, and used to quantify how close to “real-time” two different systems are. This implies the usage that zero latency is real-time.
- In Springer’s Real-time System Series’ “Real-time Systems – Design Principles for Distributed Embedded Applications” by Hermann Kopetz, 2nd Edition published by Springer, latency is described in chapters 1.3.2. and 1.3.3. as the error caused by delayed response in fast control system. An example of the words usage is to explain Byzantine error terms:
- “The difference between the master (clocks) time, contained in the synchronization message, and the recorded slave’s time-stamp of message arrival, corrected by the known latency of the message transport, is a measure of the deviation of the clock of the master from the clock of the slave.” (p. 68).
- The book is also available in google books.
Other sources concur to the simple definition of latency as
Latency: A measure of time delay experienced in a real-time system.
Such as:
- Zhang, Xiaodong, Yong Yan, and K. Q. He. "Latency metric: an experimental method for measuring and evaluating parallel program and architecture scalability." Journal of Parallel and Distributed Computing 22, no. 3 (1994): 392-410., as: "Latency measures the delay caused by communication between processors and memory modules...."
- A similar approach is adopted by by Luca P. Carloni, Student Member, IEEE, Kenneth L. McMillan, and Alberto L. Sangiovanni-Vincentelli, Fellow, IEEE in IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, VOL. 20, NO. 9, SEPTEMBER 2001 in the article Theory of Latency-Insensitive Design, available on http://sld.cs.columbia.edu/pubs/carloni_tcad01_lip.pdf and by, Yin, Fei, Dimitrios Makris, and Sergio A. Velastin. "Performance evaluation of object tracking algorithms." In 10th IEEE International Workshop on Performance Evaluation of Tracking and Surveillance (PETS2007), Rio de Janeiro, Brazil. 2007. http://dircweb.kingston.ac.uk/papers/Yin,%20Fei2007_841079/PerformanceEvaluationofObjectTrackingAlgorithms.pdf
- Latency is also used by Dooly, Daniel R., Sally A. Goldman, and Stephen D. Scott. "TCP dynamic acknowledgment delay (extended abstract): theory and practice." In Proceedings of the thirtieth annual ACM symposium on Theory of computing, pp. 389-398. ACM, 1998 as "...and the cost for the additional latency introduced by delaying (TCP) acknowledgements..." (abstract).
- Latency is described in the context of: "The responsiveness of a system is inversely related to the channel latency or the total time it takes to notice a new event, and to begin composing a response for the event.", in the 1989-paper by Dodhiawala, Rajendra, N. S. Sridharan, Peter Raulefs, and Cynthia Pickering. "Real-time AI systems: A definition and an architecture." In Proceedings of the International Joint Conference on Artificial Intelligence, Detroit, Michigan, pp. 256-261.
- Meehan et.al. in (Meehan, Michael, Sharif Razzaque, Mary C. Whitton, and Frederick P. Brooks Jr. "Effect of latency on presence in stressful virtual environments." In Virtual Reality, 2003. Proceedings. IEEE, pp. 141-148. IEEE, 2003.) actually goes through the efforts to clarify that there are conflicts in the definition of latency and clarifies that the latency may occur at multiple system levels, proposing that latency is both in sub-systems (internal states) and super-systems (externally measurable states).
- In optometry the usage of the definition is not so blurred: The purpose of this experiment is to measure the latency to onset of the contraction of the pupil, as a function of the size of positive steps in luminance, starting at various luminance levels to which the eye has been adapted prior to the stimulus steps. In the past, latency of the pupil response has been inaccurately measured, owing to the difficulty of separating the end of the latent period from the slow beginning of contraction. To overcome this, a digital curve-fitting technique involving a time delay followed by a modified second-order step response was developed. Latency was defined as the time delay giving the most accurate fit.(by Lee, Robert E., Gerald H. Cohen, and Robert M. Boynton. "Latency variation in human pupil contraction due to stimulus luminance and/or adaptation level." JOSA 59, no. 1 (1969): 97-100.)
For anyone who want to repeat this study feel free to recycle my search string: http://scholar.google.co.uk/scholar?start=50&q=definition+of+latency+and+delay&hl=en&as_sdt=0,5 — Preceding unsigned comment added by 3swv7y6543 (talk • contribs) 14:45, 11 November 2012 (UTC)