All of lore.kernel.org
 help / color / mirror / Atom feed
* cgroup information proc file format
@ 2011-08-11 20:55 Daniel Lezcano
       [not found] ` <4E4441C3.5020603-GANU6spQydw@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Daniel Lezcano @ 2011-08-11 20:55 UTC (permalink / raw)
  To: Linux Containers, Balbir Singh1, Paul Menage

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

Any ideas ?

  -- Daniel

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-10-06 12:50 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-11 20:55 cgroup information proc file format Daniel Lezcano
     [not found] ` <4E4441C3.5020603-GANU6spQydw@public.gmane.org>
2011-08-11 21:30   ` Glauber Costa
     [not found]     ` <4E4449F5.3010909-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>
2011-08-11 21:45       ` Daniel Lezcano
     [not found]         ` <4E444D96.7080206-GANU6spQydw@public.gmane.org>
2011-08-11 21:52           ` Serge Hallyn
2011-10-03  8:15             ` Glauber Costa
2011-10-04  2:42               ` Serge E. Hallyn
2011-10-04  6:17                 ` Glauber Costa
2011-10-04 14:05                   ` Serge Hallyn
2011-10-05  7:47                     ` Glauber Costa
2011-10-06 12:50                       ` Serge E. Hallyn
2011-08-11 22:58           ` Glauber Costa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.