You are viewing the 2025 edition of FOSDEM. Click here to view the 2026 edition
A memory allocator with only 0,006% fixed overhead written from scratch
K.1.105 (La Fontaine) | Day 1 | 13:00 - 13:50 | Speakers: Nils Goroll (slink)
A memory allocator with only 0,006% fixed overhead written from scratch
Abstract
How can you efficiently allocate tiny (kilo to megabyte sized) objects on petabytes of storage? Write a memory allocator from scratch which uses less than two bits per 4KB. This talk focusses on an interesting aspect of the SLASH/ storage engines for Varnish-Cache which uses a simple yet super efficient buddy memory allocator, a very well known algorithm from the 1960s. The primary novelty of this implementation is that it uses a fixed amount of metadata at about two bits per minimum page size. It also supports prioritized fair waiting allocations and an interactive live view.
Attachments
Speakers
Nils Goroll (slink)
Links
External Links
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.
