linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [LSF/MM/BPF TOPIC] kernel memory accounting
@ 2020-01-15 23:29 Roman Gushchin
  0 siblings, 0 replies; only message in thread
From: Roman Gushchin @ 2020-01-15 23:29 UTC (permalink / raw)
  To: lsf-pc; +Cc: linux-mm

I'm currently working on the new cgroup slab controller [1], which
fundamentally changes how the slab memory is tracked: instead of
creating a separate set of kmem_caches for each memory cgroup a
single global set is used for all non-root allocations. Memcg
ownership is then tracked per-object rather than per-page.

The new approach comes with a much better slab utilization and
allows to reduce the slab memory size by up to ~40%.

It's also creates a foundation for tracking other objects which
aren't page-sized: e.g. percpu allocations, which are scattered
over multiple pages.

I'd like to share latest results and discuss all ongoing questions,
concerns and suggestions.

[1] https://lkml.org/lkml/2019/10/17/1065


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-15 23:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-15 23:29 [LSF/MM/BPF TOPIC] kernel memory accounting Roman Gushchin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox