Jump to content

Queueing delay

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Raul654 (talk | contribs) at 04:58, 24 August 2004. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Queueing delay is a term in computer engineering.

It refers to a job that is put into a queue, and has to wait there until it can be executed. The time it waits there before being executed is called the queueing delay.

This term is most often used in reference to routers. When packets arrive at a router, they have to be processed and transmitted. A router can only process one packet at a time. If packets arrive faster than the router can process them (such as in a burst transmission) the router puts them into the queue (also called the buffer) until it can get around to transmitting them.

Queuing delay is proportional to buffer size. The longer the line of packets waiting to be transmitted, the longer the average waiting time is. However, this is much preferable to a shorter buffer, which would result in ignored ("dropped") packets, which in turn would result in much longer overall transmission times.

Calculation of Time

For a router

  • With transmission delay of
  • At 100% utilization
  • With a buffer capable of holding N packets
  • Not counting dropped packets

the average queuing delay is:

Using sum-of-series simplification, this simplifies to:

See also: Queueing theory