* [LSF/MM/BPF TOPIC] Waste-Free Per-CPU Userspace Memory Allocation
@ 2025-01-28 15:23 Mathieu Desnoyers
2025-04-08 14:29 ` Mathieu Desnoyers
0 siblings, 1 reply; 2+ messages in thread
From: Mathieu Desnoyers @ 2025-01-28 15:23 UTC (permalink / raw)
To: lsf-pc; +Cc: linux-mm
Hi,
I submit this topic proposal for your consideration:
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.
I hope gathering feedback from MM experts about shortcomings of the
proposed approach.
Thanks,
Mathieu
--
Mathieu Desnoyers
EfficiOS Inc.
https://www.efficios.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LSF/MM/BPF TOPIC] Waste-Free Per-CPU Userspace Memory Allocation
2025-01-28 15:23 [LSF/MM/BPF TOPIC] Waste-Free Per-CPU Userspace Memory Allocation Mathieu Desnoyers
@ 2025-04-08 14:29 ` Mathieu Desnoyers
0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Desnoyers @ 2025-04-08 14:29 UTC (permalink / raw)
To: lsf-pc; +Cc: linux-mm
On 2025-01-28 10:23, Mathieu Desnoyers wrote:
> Hi,
>
> I submit this topic proposal for your consideration:
>
> 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.
>
> I hope gathering feedback from MM experts about shortcomings of the
> proposed approach.
Here are the slides I presented during my talk:
https://drive.google.com/file/d/1DWOP6lfbqvYyJ1puwlADoUS9UNQ64SAw/view?usp=sharing
--
Mathieu Desnoyers
EfficiOS Inc.
https://www.efficios.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-04-08 14:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-28 15:23 [LSF/MM/BPF TOPIC] Waste-Free Per-CPU Userspace Memory Allocation Mathieu Desnoyers
2025-04-08 14:29 ` Mathieu Desnoyers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox