Brussels / 1 & 2 February 2025

schedule

Waste-Free Per-CPU Userspace Memory Allocation


Introduce the librseq per-CPU user-space memory allocator. It implements concepts similar to the Linux kernel percpu allocator in userspace, and thus reduces waste of per-CPU data structures hot cache lines by eliminating padding usually required to eliminate false-sharing, and in addition tackles issues that arise from resident memory waste when restricting processes with scheduler affinity or cpusets.

It allows prototyping kernel algorithms within the safe limits of user-space.

Speakers

Photo of Mathieu Desnoyers Mathieu Desnoyers