Ragnar Thomsen wrote: > On Monday 08 October 2012 12:28:31 Bruce Dubbs wrote: >> Interesting. Other than allowing systemd to run, what benefits does >> using cgroups give? > >>From Wikipedia: > cgroups (control groups) is a Linux kernel feature to limit, account and > isolate resource usage (CPU, memory, disk I/O, etc.) of process groups. > > A control group is a collection of processes that are bound by the same > criteria. These groups can be hierarchical, where each group inherits limits > from its parent group. The kernel provides access to multiple controllers > (subsystems) through the cgroup interface. For instance, the "memory" > controller limits memory use, "cpuacct" accounts CPU usage, etc.
I think most systems are used by a single user. There are exceptions, of course, but a Ubuntu or Gentoo or Debian system is generally used by one user. Does this feature really provide a benefit to the single user system? Servers that are dedicated to one task would also fall into the single user category. How do cgroups help here? I do have some experience with supercomputers that have hundreds of users. I can see how cgroups might be a benefit there, but those are only a very small percentage of the total number of Linux systems. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page