Am 11.04.2011 17:13, schrieb Philip Webb:
> I have enabled cgroups in kernel 2.6.38 , but am not sure how they work.
> There's nothing in the docs in  /usr/src/linux
> & a search via 'make menuconfig' shows nothing suggestive.
> Does the kernel automatically set them up once they're enabled
> or does the user have to do something to define them ? -- anyone know ?
> 

I haven't tried 2.6.38 yet but I'm one of the authors of
http://en.gentoo-wiki.com/wiki/Improve_responsiveness_with_cgroups

I guess you can follow that guide (except that step about adding lines
to ~/.bashrc which is supposedly obsolete in 2.6.38). Then you can see
for yourself how the kernel arranges your processes in cgroups.

Your cgroup mount point should contain directories (different groups)
and in each directory there is a "tasks" file containing process ids of
the associated tasks.

While you are at it, you could update the information on the wiki. Any
help there is appreciated. :)

Regards,
Florian Philipp

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to