Re: [PATCH] mm/memcontrol: add memory.peak in cgroup root

From: Michal Hocko
Date: Fri Feb 24 2023 - 10:02:44 EST


On Fri 24-02-23 15:18:49, Matthew Chae wrote:
> Hi Michal
>
> Thank you for helping me gain full insight.
> It looks like there is no proper way to get the peak memory usage recorded
> without adding any overhead to the system and for all users. But I fully
> understand what you kindly explained. Basically, having low memory left
> doesn't mean a bad situation for the system, So checking the peak memory
> doesn't mean a lot and is not necessary.

You might find https://www.pdl.cmu.edu/ftp/NVM/tmo_asplos22.pdf
interesting and helpful
--
Michal Hocko
SUSE Labs