scispace - formally typeset
Journal ArticleDOI

Amortized efficiency of list update and paging rules

Daniel D. Sleator, +1 more
- 01 Feb 1985 - 
- Vol. 28, Iss: 2, pp 202-208
Reads0
Chats0
TLDR
This article shows that move-to-front is within a constant factor of optimum among a wide class of list maintenance rules, and analyzes the amortized complexity of LRU, showing that its efficiency differs from that of the off-line paging rule by a factor that depends on the size of fast memory.
Abstract
In this article we study the amortized efficiency of the “move-to-front” and similar rules for dynamically maintaining a linear list. Under the assumption that accessing the ith element from the front of the list takes t(i) time, we show that move-to-front is within a constant factor of optimum among a wide class of list maintenance rules. Other natural heuristics, such as the transpose and frequency count rules, do not share this property. We generalize our results to show that move-to-front is within a constant factor of optimum as long as the access cost is a convex function. We also study paging, a setting in which the access cost is not convex. The paging rule corresponding to move-to-front is the “least recently used” (LRU) replacement rule. We analyze the amortized complexity of LRU, showing that its efficiency differs from that of the off-line paging rule (Belady's MIN algorithm) by a factor that depends on the size of fast memory. No on-line paging algorithm has better amortized performance.

read more

Citations
More filters
Book ChapterDOI

Advice Complexity of the Online Coloring Problem

TL;DR: The class of all 3-colorable graphs and its sub-classes of chordal and maximal outerplanar graphs, respectively are considered.
Proceedings ArticleDOI

A competitive strategy for learning a polygon

TL;DR: This paper is the first to describe a complete strategy and to give a proof for such a constant competitive factor for a mobile robot with vision to explore an unknown simple polygon starting from and returning to a given point on the boundary.
Proceedings ArticleDOI

Write-Avoiding Algorithms

TL;DR: The interaction of WA algorithms with cache replacement policies is explored and it is argued that the Least Recently Used policy works well with the WA algorithms in this paper.
Proceedings ArticleDOI

Scheduling policies for CIOQ switches

TL;DR: This work mainly considers switches with virtual output queuing at the inputs, and presents a switch policy that is 3-competitive for any speedup, and proposes two preemptive switch policies for packets with variable values.
Journal ArticleDOI

An Optimal Cache-Oblivious Priority Queue and Its Application to Graph Algorithms

TL;DR: An optimal cache-oblivious priority queue data structure, supporting insertion, deletion, and delete-min operations in amortized memory transfers, is developed, as efficient as several previously developed external memory (cache-aware)priority queue data structures.
References
More filters
Book

The Art of Computer Programming

TL;DR: The arrangement of this invention provides a strong vibration free hold-down mechanism while avoiding a large pressure drop to the flow of coolant fluid.
Journal ArticleDOI

A study of replacement algorithms for a virtual-storage computer

TL;DR: One of the basic limitations of a digital computer is the size of its available memory; an approach that permits the programmer to use a sufficiently large address range can accomplish this objective, assuming that means are provided for automatic execution of the memory-overlay functions.
Book

Operating Systems Theory

TL;DR: As one of the part of book categories, operating systems theory always becomes the most wanted book.
Related Papers (5)