You are not logged in.

#1 2014-06-19 19:16:24

slacknatcher
Member
From: Chile
Registered: 2009-07-08
Posts: 55

SCHED_AUTOGROUP and /sys/fs/cgroup

SCHED_AUTOGROUP is known as the "200 lines wonder patch". It depends on the functionality of cgroups to work. I was investigating how this functionality worked and arrived to /proc/sched_debug. This shows how many cgroups are on the system (basically it spawns one per pty) right now.

I was thinking that any autogroup present on the system should have to be present also in /sys/fs/cgroup, specially in the cpu,cpuacct and memory subsystems, but this doesn't seem to be the case. Any idea of where the autogroups are represented in cgroup? is it anywhere on sysfs?


Miscusi for my bad english

Offline

#2 2014-06-20 19:08:38

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: SCHED_AUTOGROUP and /sys/fs/cgroup

I cannot find it, but I think I read somewhere that autogroup should be transparent and hence not visible in the cgroup hierarchy.

However, perhaps it can be viewed by enabling the 'CGROUP' field in top and sort for that. If you also enable the 'TTY' field, you should see them matching.


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

Board footer

Powered by FluxBB