The slab allocator: an object-caching kernel memory allocator
Jeff Bonwick · 1994
This paper presents a comprehensive design over-view of the SunOS 5.4 kernel memory allocator. This allocator is based on a set of object-caching primitives that reduce the cost of allocating complex objects by retaining their state between uses. These same primitives prove equally effective for manag-ing stateless memory (e.g. data pages and temporary buffers) because they are space-efficient and fast. The allocator’s object caches respond dynamically to global memory pressure, and employ an object-coloring scheme that improves the system’s overall cache utilization and bus balance. The allocator also has several statistical and debugging features that can detect a wide range of problems throughout the system. 1.
Cited by 216 works.
Authors
References
- The Art of Computer Programming. Volume 1: Fundamental Algorithms.
- Garbage collection in an uncooperative environment
- The impact of operating system structure on memory system performance
- Data structure techniques
- Fast allocation and deallocation of memory based on object lifetimes
- The measured cost of conservative garbage collection
- Using lifetime predictors to improve memory allocation performance
- Improving the cache locality of memory allocation
- Analysis of free-storage algorithms
- Customalloc: Efficient synthesized memory allocators