Re: VSZ from cgroup interfaces

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

 



Hi Felip.

On Mon, Oct 02, 2023 at 10:59:34AM +0200, Felip Moll <lipixx@xxxxxxxxx> wrote:
> Does cgroups account for virtual memory? Is it too expensive to
> account for it? I cannot find it by reading the kernel but I might be
> wrong.

Virtual memory is a per-process resource (if you consider it a resource
at all and if I understood what you mean by vsz). It is not well defined
what would it mean if you summed up VSZ of all processes in a cgroup
(vsz of one process is not exclusive to another process's vsz). So my
answer is that doesn't make sense to account VSZ via cgroups.

HTH,
Michal

Attachment: signature.asc
Description: PGP signature


[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