Paper record
W1996632379A provably efficient algorithm for dynamic storage allocation
E. G. Coffman, Frank Thomson Leighton
- Year
- 1986
- Venue
- ACM Symposium on Theory of Computing (STOC)
- References
- 26
- Cited by
- 37
Details and counts from OpenAlex.
Abstract
The design and analysis of algorithms for on-line dynamic storage allocation has been a fundamental problem area in computer science for many years.In this paper we study the stochastic behavior of dynamic allocation algorithms under the natural assumption that files enter and leave the system according to a Poisson process.In particular, we prove that for any dynamic allocation algorithm and any distribution of file sizes, the expected wasted space (or fragmentation) in the system at any time is ~ (-v~'x/loglogN), where N is the expected number of items (or used space) in the system.This result is known to be tight in the special case when all files have the same size.More importantly, we also construct a dynamic allocation algorithm which for any distribution of file sizes wastes only O (x/~'log 3/4 N) space with very high probability.This bound is also shown to be tight for a wide variety of file-size distributions, including for example the uniform and normal distributions.