cgroups.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cgroups aware /proc/loadavg
@ 2014-01-11 18:16 Marian Marinov
  0 siblings, 0 replies; only message in thread
From: Marian Marinov @ 2014-01-11 18:16 UTC (permalink / raw)
  To: cgroups-u79uwXL29TY76Z2rM5mHXA

Hello,

I'm working on making /proc/loadavg cgroup aware.

I have already done so with cpuinfo, sched, interrupts and partially meminfo:
   https://github.com/1HLtd/linux/tree/cgroup-aware-proc

However patching the loadavg is not a trivial task and I need some assistance.

After much reading I'm wondering, if it would be easier to patch the cpu or cpuacct cgroups to include an array in which 
we can hold a per cgroup avenrun array and use that information in the /proc/loadavg when it is displayed to a process 
that is not in the base cgroup.

Best regards,
Marian

-- 
Marian Marinov
Founder & CEO of 1H Ltd.
Jabber/GTalk: hackman-/eSpBmjxGS4dnm+yROfE0A@public.gmane.org
ICQ: 7556201
Mobile: +359 886 660 270

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-01-11 18:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-11 18:16 cgroups aware /proc/loadavg Marian Marinov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).