Is it possible to implement max_usage_in_bytes for cgroup v2?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm currently working on a test automation system.  I plan to use memory cgroup
to limit and account the memory usage of the package being tested.

In cgroup v1 we can read memory.max_usage_in_bytes to get a the maximum value of
memory usage during testing.  But this feature (or "misfeature"?) is lacking in
cgroup v2 which I want to use (since cgroup v1 is deprecated).

Now is it possible to implement something like max_usage_in_bytes for cgroup v2?
If it's impossible I'll just sample memory.current for each 0.1s :(.

(Please keep me in To: or Cc: in reply since I'm not a subscriber.)
-- 
Xi Ruoyao <xry111@xxxxxxxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux