2023 LLVM Dev Mtg - Optimizing Scudo's Secondary Allocator Cache Strategy

Опубликовано: 14 Февраль 2026
на канале: LLVM
192
2

2023 LLVM Developers' Meeting
https://llvm.org/devmtg/2023-10
------
Optimizing Scudo's Secondary Allocator Cache Strategy
Speaker: Fernando Salas
------
Slides: https://llvm.org/devmtg/2023-10/slide...
-----
LLVM's memory allocator Scudo has a primary and secondary allocator. The secondary allocator’s cache uses a first-fit algorithm for quickly retrieving memory blocks but leads to a more significant amount of memory fragmentation. To reduce this fragmentation we implemented and tested different cache retrieval algorithms. In this talk we will walk through how we changed the algorithm in order to save memory while improving the efficiency of allocations.
-----
Videos Edited by Bash Films: http://www.BashFilms.com