Skip to main content

Update on the SLUB allocator sheaves

UA2.114 (Baudoux) | Day 2 | 11:40 - 12:00 | Speakers: Vlastimil Babka

Update on the SLUB allocator sheaves
A picture of a devroom at FOSDEM 2024
Open in browser

Notes

Abstract

Sheaves are a new percpu caching layer for the SLUB allocator. To some extent it's a return to the SLAB percpu arrays (and magazines in the original Bonwick's paper), but avoiding the pitfalls of the SLAB implementation, attempting to get the best of both SLAB and SLUB approaches.

In 6.18 sheaves were merged and enabled for maple node and VMA caches. There's ongoing work to fully convert all caches in 7.0. This talk will discuss the status, explain the tradeoffs involved and present some results and lessons learned.


Notice: The placeholder video image is licensed under CC BY-SA 4.0. The original image can be found hereChanges made to the image are: Cropped the image to a new ratio, part of the image was cut off.