The slab allocator: an object-caching kernel memory allocator 论文
1994引用 218
Parallel Computing and Optimization TechniquesAdvanced Data Storage TechnologiesCloud Computing and Resource Management
摘要
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.