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
Journal ArticleDOI

Off-line algorithms for the list update problem

TL;DR: Optimum off-line algorithms for the list update problem are investigated, leading to optimum algorithm which runs in time Θ2n(n − 1)!m, where n is the length of the list and m is the number of requests.
Book ChapterDOI

Cache oblivious algorithms

TL;DR: The cache oblivious model as mentioned in this paper is a simple and elegant model to design algorithms that perform well in hierarchical memory models ubiquitous on current systems and has since been a topic of intense research Analyzing and designing algorithms and data structures in this model involves an asymptotic analysis of the number of steps executed in terms of the input size, and also the movement of data optimally among the different levels of the memory hierarchy.
Proceedings ArticleDOI

Truly online paging with locality of reference

TL;DR: A truly online strongly competitive paging algorithm in the access graph model that does not have any prior information on the access sequence is presented and algorithms that are strongly competitive for the (unknown) extended access graph are given.
Proceedings Article

Exploring unknown environments with obstacles

TL;DR: In this article, the authors study exploration problems where a robot has to construct a complete map of an unknown environment using a path that is as short as possible, where the map is constructed by the robot.
Journal ArticleDOI

On competitive on-line paging with lookahead

TL;DR: A new measure for the lookahead size as well as Young's resource-bounded lookahead are considered and it is proved that both measures have the attractive property that the competitive efficiency of an on-line algorithm with k extra pages and lookahead l depends on k + l.
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)