The complexity of computing virtual-time in weighted fair queuing schedulers

Haitham Tayyar, Hussein Alnuweiri

Research output: Contribution to journalConference article

2 Citations (Scopus)

Abstract

This paper presents two fundamental theorems that show that the O(N) complexity for updating the virtual time in a weighted fair queuing (WFQ) scheduler with N sessions is caused mainly by simultaneous departures of packets, and not by iterated deletion as was previously claimed. Iterated deletion is caused by an "avalanche" of consecutive, but not necessarily simultaneous, departures that incur more departures due to increments in available bandwidth from idling sessions. Iterated deletion potentially leads to large numbers of consecutive departures within a given time period. The number of departures is, however, a function of such implementation details as the resolution of the time-stamp and the scheduler clock. On the other hand, the problem of simultaneous time-stamps can not be solved by any increase in the time resolution of virtual-time update. Essentially, all equal time-stamps must be processed during a single virtual-time update operation. We present a proof to show that O(N) simultaneous departures can occur during a single virtual-time update. We also show that this is a fundamental property of WFQ that holds even under the most restrictive conditions, viz. all packets arrive serially to the scheduler (no simultaneous arrivals), and the input bit-rate does not exceed the output bit-rate.

Original languageEnglish
Pages (from-to)1996-2002
Number of pages7
JournalIEEE International Conference on Communications
Volume4
Publication statusPublished - 30 Aug 2004
Externally publishedYes

Fingerprint

Clocks
Bandwidth

ASJC Scopus subject areas

  • Computer Networks and Communications
  • Electrical and Electronic Engineering

Cite this

The complexity of computing virtual-time in weighted fair queuing schedulers. / Tayyar, Haitham; Alnuweiri, Hussein.

In: IEEE International Conference on Communications, Vol. 4, 30.08.2004, p. 1996-2002.

Research output: Contribution to journalConference article

@article{e4638dcea53343b0adabb3e93967e832,
title = "The complexity of computing virtual-time in weighted fair queuing schedulers",
abstract = "This paper presents two fundamental theorems that show that the O(N) complexity for updating the virtual time in a weighted fair queuing (WFQ) scheduler with N sessions is caused mainly by simultaneous departures of packets, and not by iterated deletion as was previously claimed. Iterated deletion is caused by an {"}avalanche{"} of consecutive, but not necessarily simultaneous, departures that incur more departures due to increments in available bandwidth from idling sessions. Iterated deletion potentially leads to large numbers of consecutive departures within a given time period. The number of departures is, however, a function of such implementation details as the resolution of the time-stamp and the scheduler clock. On the other hand, the problem of simultaneous time-stamps can not be solved by any increase in the time resolution of virtual-time update. Essentially, all equal time-stamps must be processed during a single virtual-time update operation. We present a proof to show that O(N) simultaneous departures can occur during a single virtual-time update. We also show that this is a fundamental property of WFQ that holds even under the most restrictive conditions, viz. all packets arrive serially to the scheduler (no simultaneous arrivals), and the input bit-rate does not exceed the output bit-rate.",
author = "Haitham Tayyar and Hussein Alnuweiri",
year = "2004",
month = "8",
day = "30",
language = "English",
volume = "4",
pages = "1996--2002",
journal = "Conference Record - International Conference on Communications",
issn = "0536-1486",
publisher = "Institute of Electrical and Electronics Engineers Inc.",

}

TY - JOUR

T1 - The complexity of computing virtual-time in weighted fair queuing schedulers

AU - Tayyar, Haitham

AU - Alnuweiri, Hussein

PY - 2004/8/30

Y1 - 2004/8/30

N2 - This paper presents two fundamental theorems that show that the O(N) complexity for updating the virtual time in a weighted fair queuing (WFQ) scheduler with N sessions is caused mainly by simultaneous departures of packets, and not by iterated deletion as was previously claimed. Iterated deletion is caused by an "avalanche" of consecutive, but not necessarily simultaneous, departures that incur more departures due to increments in available bandwidth from idling sessions. Iterated deletion potentially leads to large numbers of consecutive departures within a given time period. The number of departures is, however, a function of such implementation details as the resolution of the time-stamp and the scheduler clock. On the other hand, the problem of simultaneous time-stamps can not be solved by any increase in the time resolution of virtual-time update. Essentially, all equal time-stamps must be processed during a single virtual-time update operation. We present a proof to show that O(N) simultaneous departures can occur during a single virtual-time update. We also show that this is a fundamental property of WFQ that holds even under the most restrictive conditions, viz. all packets arrive serially to the scheduler (no simultaneous arrivals), and the input bit-rate does not exceed the output bit-rate.

AB - This paper presents two fundamental theorems that show that the O(N) complexity for updating the virtual time in a weighted fair queuing (WFQ) scheduler with N sessions is caused mainly by simultaneous departures of packets, and not by iterated deletion as was previously claimed. Iterated deletion is caused by an "avalanche" of consecutive, but not necessarily simultaneous, departures that incur more departures due to increments in available bandwidth from idling sessions. Iterated deletion potentially leads to large numbers of consecutive departures within a given time period. The number of departures is, however, a function of such implementation details as the resolution of the time-stamp and the scheduler clock. On the other hand, the problem of simultaneous time-stamps can not be solved by any increase in the time resolution of virtual-time update. Essentially, all equal time-stamps must be processed during a single virtual-time update operation. We present a proof to show that O(N) simultaneous departures can occur during a single virtual-time update. We also show that this is a fundamental property of WFQ that holds even under the most restrictive conditions, viz. all packets arrive serially to the scheduler (no simultaneous arrivals), and the input bit-rate does not exceed the output bit-rate.

UR - http://www.scopus.com/inward/record.url?scp=4143132176&partnerID=8YFLogxK

UR - http://www.scopus.com/inward/citedby.url?scp=4143132176&partnerID=8YFLogxK

M3 - Conference article

VL - 4

SP - 1996

EP - 2002

JO - Conference Record - International Conference on Communications

JF - Conference Record - International Conference on Communications

SN - 0536-1486

ER -