Re: [PATCH v1 0/5] mm: improve performance of accounted kernel memory allocations

From: Michal Koutný
Date: Wed Oct 04 2023 - 14:32:46 EST


On Fri, Sep 29, 2023 at 11:00:50AM -0700, Roman Gushchin <roman.gushchin@xxxxxxxxx> wrote:
> This patchset improves the performance of accounted kernel memory allocations
> by ~30% as measured by a micro-benchmark [1]. The benchmark is very
> straightforward: 1M of 64 bytes-large kmalloc() allocations.

Nice.
Have you tried how these +34% compose with -34% reported way back [1]
when file lock accounting was added (because your benchmark and lock1
sound quite similar)?
(BTW Is that your motivation (too)?)

Thanks,
Michal

[1] https://lore.kernel.org/r/20210907150757.GE17617@xsang-OptiPlex-9020/

Attachment: signature.asc
Description: PGP signature