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

A New Algorithm for On-line Coloring Bipartite Graphs

TL;DR: It is proved that the algorithm is on-line competitive for $P_7$-free bipartite graphs, i.e., that do not contain an induced path on seven vertices.
Dissertation

Algorithms and data structures for cache-efficient computation: theory and experimental evaluation

TL;DR: A general cache-oblivious framework for cache-efficient sequential and parallel solution of any problem in GEP, and experimental results suggest that the GEP framework offers an attractive trade-off between efficiency and portability.
Book ChapterDOI

Average Case Analyses of List Update Algorithms, with Applications to Data Compression

TL;DR: Tests on a standard corpus of documents demonstrate that TS(O) leads in fact to improved compression, and theoretical results suggest that in many cases using TS( O) in place of Move-to-front in schemes that use the latter should improve compression.
Proceedings ArticleDOI

General adaptive replacement policies

TL;DR: A general scheme for creating adaptive replacement policies with good performance and strong theoretical guarantees is proposed and it is shown how to combine any two existing replacement policies so that the resulting policy provably can never perform worse than either of the original policies.
Journal ArticleDOI

Migrating and replicating data in networks

TL;DR: This work surveys data management problems in the light of competitive analysis and presents classic and recent extensions of these problems, such as versions that incorporate memory capacity constraints or dynamic changes to the network.
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)