MetaCart Sign in to MyCiteSeerX

Include Citations | Advanced Search | Help

Disambiguated Search | Include Citations | Advanced Search | Help

Hashed and Hierarchical Timing Wheels: Efficient Data Structures for Implementing a Timer Facility (1996) [8 citations — 0 self]

by George Varghese ,  Tony Lauck
Add To MetaCart

Abstract:

Conventional algorithms to implement an Operating System timer module take O(n) time to start or maintain a timer, where n is the number of outstanding timers: this is expensive for large n. This paper shows that by using a circular buffer or timing wheel, it takes O(1) time to start, stop, and maintain timers within the range of the wheel. Two extensions for larger values of the interval are described. In the first, the timer interval is hashed into a slot on the timing wheel. In the second, a hierarchy of timing wheels with different granularities is used to span a greater range of intervals. The performance of these two schemes and various implementation tradeoffs are discussed. We have used one of our schemes to replace the current BSD UNIX callout and timer facilities. Our new implementation can support thousands of outstanding timers without much overhead. Our timer schemes have also been implemented in other operating systems and network protocol packages. 1 Introduction In a ...

Citations

6139 Introduction to algorithms – Cormen, Rivest - 2000
1828 Congestion avoidance and control – Jacobson - 1988
913 A reliable multicast framework for light-weight sessions and application level framing – Floyd, Jacobson, et al. - 1997
854 Computer Networks – Tanenbaum - 1996
399 TCP vegas: New techniques for congestion detection and avoidance – Brakmo, O'Malley - 1994
300 An Analysis of TCP Processing Overhead – Clark, Jacobson, et al. - 1989
148 Calendar Queues: A Fast O(1) Priority Queue Implementation for the Simulation Event Set Problem – Brown - 1988
135 Implementing network protocols at user level – Thekkath, Nguyen, et al. - 1993
53 A distributed whiteboard for network conferencing – MCCANNE - 1992
40 Hashed and Hierarchical Timing Wheels: Data Structures for the E cient Implementation of a Timer Facility – Varghese, Lauck - 1987
19 A Comparison of Simulation Event List Algorithms – Vaucher, Duval - 1975
4 et al., “GIGAswitch System: A Highperformance Packet-switching Platform – Souza - 1994
4 Time-sequenced logic simulation based on circuit delay and selective tracing of active network paths – ULRICH - 1965
2 TIP's Protocol Run-Time System – Bocking, Seidel - 1994
2 Calendar p's and q's – Davison - 1989
1 Redesigning the BSD Callout and Timeout Facilities – Costello, Varghese - 1995
1 DECSIM: A Multi-Level Simulation System for – Kearney
1 Complexity Analysis of Event Set Algorithms – Reeves - 1984
1 Sequencing Set Efficiency, Pub. A9, Norwegian Computing – Myhrhaug
1 Simulation with GASP-II – Pritsker, Kiviat - 1969
1 Time Flow Mechanisms for use – Szygenda, Hemming, et al.