Skip to main content

Waste-Free Per-CPU Userspace Memory Allocation

UD2.208 (Decroly) | Day 2 | 11:30 - 12:00 | Speakers: Mathieu Desnoyers

Waste-Free Per-CPU Userspace Memory Allocation
A picture of a devroom at FOSDEM 2024
Open in browser

Notes

Abstract

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

Mathieu Desnoyers

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.