Re: cgroup information proc file format

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

 



Quoting Daniel Lezcano (daniel.lezcano@xxxxxxx):
> On 08/11/2011 11:30 PM, Glauber Costa wrote:
> > On 08/11/2011 05:55 PM, Daniel Lezcano wrote:
> >> Hi all,
> >>
> >> the cgroup cpuset and memory reduce access to a part of the resources on
> >> the system. Some applications use the /proc/cpuinfo and /proc/meminfo to
> >> allocate the resources. For instance, HPC jobs look at /proc/cpuinfo to
> >> fork the number of cpu found in this file either look at /proc/meminfo
> >> to allocate a big chunk of memory. Each process set the affinity on each
> >> cpu, which in case a subset of cpus is used, some affinity will fail.
> >>
> >> In the case of the container, the cgroup is used to reduce the memory or
> >> to assign a cpu to the container. Unfortunately, as this partitioning is
> >> not reflected in /proc, the different system tools (ps, top, free, ...)
> >> show a wrong information.
> >>
> >> I was wondering if that would make sense to create for the different
> >> cgroup subsystem, when it is relevant, a proc formatted file we can bind
> >> mount /proc.
> >>
> >> For example: /cgroup/memory.proc and /cgroup/cpuset.proc

I think it's a great idea.

-serge
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers


[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux