WIPIVERSE All articles

Virtual output queueing

Virtual output queueing (VOQ) is a buffering and queue-management technique used in the architectures of certain network switches and routers. Rather than storing all traffic awaiting forwarding in a single input queue, a switch employing VOQ maintains a separate logical queue at each input for each possible output destination. The technique is primarily associated with input-queued and combined input–output-queued (CIOQ) switch designs, and it is used to address a performance limitation known as head-of-line blocking.

Background: Head-of-line blocking

In a conventional input-queued switch, each input port holds a single first-in, first-out (FIFO) queue. If the packet at the head of that queue is destined for an output port that is congested or otherwise unavailable, the packet cannot be forwarded, and every packet behind it — including packets destined for uncongested output ports — is delayed or blocked as well. This phenomenon is termed head-of-line (HOL) blocking. Analyses of input-queued switches with a single FIFO queue per input, notably the work of Karol, Hluchyj, and Morgan (1987), established that HOL blocking limits the maximum achievable throughput to approximately 58.6 percent under uniform random traffic, with worse performance under non-uniform traffic patterns.

Mechanism

Under virtual output queueing, the physical buffer at each input port is logically partitioned into one virtual queue per output port (or, in some implementations, per output queue and traffic class). A packet arriving at input i and destined for output j is placed in the virtual queue designated VOQi,j. Because congestion affecting output j blocks only VOQi,j, packets in the same physical buffer that are destined for other, uncongested outputs reside in separate queues and may still be forwarded.

VOQ functionality is frequently combined with a matching or arbitration scheme that selects, in each scheduling interval, a set of conflict-free input–output pairs. Scheduling algorithms described in the literature include Parallel Iterative Matching (PIM), iSLIP, and various maximum-weight-matching approaches. It has been shown that input-queued switches using VOQ, combined with an appropriate scheduling algorithm such as one achieving a maximum weight matching, can attain 100 percent throughput for admissible traffic patterns — a result associated with McKeown, Mekkittikul, Anantharam, and Walrand (1999). Because the scheduling decision concerns which input is connected to which output, VOQ scheduling is often described as arbitration, while the subsequent choice of which packet within a virtual queue to transmit is treated as a separate packet-scheduling task.

In combined input–output-queued designs, VOQ buffering is sometimes paired with an internal "speedup" of the switch fabric. Research by Chuang, Goel, McKeown, and Prabhakar and by Krishna, Patel, Charny, and Simcoe (both 1999) examined the fabric speedup required for a CIOQ switch to emulate the behavior of an output-queued switch.

Relationship to output queueing

Virtual output queueing is distinguished from true output queueing (OQ). In an output-queued switch, packets are stored in queues at the egress ports, which permits precise control over egress scheduling and latency but requires the switch fabric and memory to operate at a speedup equal to the number of ports, a requirement that becomes costly at high aggregate bandwidths. VOQ moves the buffering burden to the ingress side while preserving per-output queue separation, thereby reducing the memory-bandwidth demands associated with output queueing.

Terminology

Several related terms appear in the literature and in vendor documentation:

  • Virtual output queue (VOQ) — a single logical queue at an input dedicated to one output destination.
  • Virtual output queueing / virtual output queuing (VOQ) — the overall technique; both spellings are used.
  • Combined input–output queueing (CIOQ) — an architecture with buffers at both inputs and outputs, frequently combined with VOQ at the inputs.
  • Combined input-crosspoint queueing (CICQ) — an architecture using buffered crossbars, in which VOQs are typically present at the inputs.

Implementations and applications

VOQ concepts originated in the academic literature on high-speed packet-switch architecture, particularly in the context of asynchronous transfer mode (ATM) and early terabit-class routers. The technique has since been incorporated into commercial networking equipment. Vendor documentation from Cisco and Juniper Networks, among others, describes VOQ-based traffic management in which ingress buffers are organized according to egress port and traffic class, and in which the egress scheduler issues credits or grants that govern when the fabric transmits buffered traffic to the egress side. In such implementations, packet drops generally occur at the ingress, and traffic is not carried across the fabric to an egress port that is not yet prepared to forward it.

Advantages and limitations

Commonly cited advantages of VOQ include the elimination of head-of-line blocking between different output destinations, higher achievable switch throughput, reduced waste of fabric and buffer resources on traffic that would otherwise be discarded at the egress, and support for per-output class-of-service scheduling.

Documented limitations include the scaling characteristics of the approach. Because each egress queue may need a corresponding virtual queue at every ingress pipeline or network processing unit, the total number of queues grows with the product of the number of ingress ports (or slices), the number of egress ports, and the number of traffic classes. Vendor documentation notes that this replication can consume significant buffer and memory resources, constrain system-wide queue scaling, and, in high-scale configurations, exhaust on-chip buffer capacity.

See also

  • Head-of-line blocking
  • Input queueing
  • Output queueing
  • Crossbar switch
  • iSLIP and Parallel Iterative Matching (PIM)
  • Quality of service (QoS) and class of service (CoS)

References

  • Karol, M. J.; Hluchyj, M. G.; Morgan, S. P. (1987). "Input versus output queueing on a space-division packet switch." IEEE Transactions on Communications.
  • McKeown, N.; Mekkittikul, A.; Anantharam, V.; Walrand, J. (1999). "Achieving 100% Throughput in an Input-Queued Switch." IEEE Transactions on Communications, 47(8).
  • McKeown, N. (1999). "The iSLIP Scheduling Algorithm for Input-Queued Switches." IEEE/ACM Transactions on Networking.
  • Anderson, T.; Owicki, S.; Saxe, J.; Thacker, C. (1993). "High Speed Switch Scheduling for Local Area Networks." ACM Transactions on Computer Systems.
  • Chuang, S.-T.; Goel, A.; McKeown, N.; Prabhakar, B. (1999). "Matching Output Queueing with a Combined Input/Output-Queued Switch." IEEE Journal on Selected Areas in Communications.
  • McKeown, N.; Izzard, M.; Mekkittikul, A.; Ellersick, B.; Horowitz, M. (1997). "Tiny Tera: a packet switch core." IEEE Micro.
  • Cisco Systems. "Traffic Management with VOQs." Modular QoS Configuration Guide for Cisco 8000 Series Routers.
  • Juniper Networks. "Understanding CoS Virtual Output Queues (VOQs)." Junos OS Documentation.
Browse

More topics to explore

    Browse all articles