Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1532299
| From | Mike Galbraith <efault@gmx.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: RFC: documentation of the autogroup feature |
| Date | 2016-11-29 14:50 +0100 |
| Message-ID | <sIQXg-F4-45@gated-at.bofh.it> (permalink) |
| References | (3 earlier) <sGHOq-6Ev-33@gated-at.bofh.it> <sIf1D-1fZ-5@gated-at.bofh.it> <sIjeV-3OA-1@gated-at.bofh.it> <sIMJY-6yn-33@gated-at.bofh.it> <sIMJY-6yn-31@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, 2016-11-29 at 10:10 +0100, Michael Kerrisk (man-pages) wrote: > Let's try and go further. How's this: > > When scheduling non-real-time processes (i.e., those scheduled > under the SCHED_OTHER, SCHED_BATCH, and SCHED_IDLE policies), the > CFS scheduler employs a technique known as "group scheduling", if > the kernel was configured with the CONFIG_FAIR_GROUP_SCHED option > (which is typical). > > Under group scheduling, threads are scheduled in "task groups". > Task groups have a hierarchical relationship, rooted under the > initial task group on the system, known as the "root task group". > Task groups are formed in the following circumstances: > > * All of the threads in a CPU cgroup form a task group. The par‐ > ent of this task group is the task group of the corresponding > parent cgroup. > > * If autogrouping is enabled, then all of the threads that are > (implicitly) placed in an autogroup (i.e., the same session, as > created by setsid(2)) form a task group. Each new autogroup is > thus a separate task group. The root task group is the parent > of all such autogroups. > > * If autogrouping is enabled, then the root task group consists > of all processes in the root CPU cgroup that were not otherwise > implicitly placed into a new autogroup. > > * If autogrouping is disabled, then the root task group consists > of all processes in the root CPU cgroup. > > * If group scheduling was disabled (i.e., the kernel was config‐ > ured without CONFIG_FAIR_GROUP_SCHED), then all of the pro‐ > cesses on the system are notionally placed in a single task > group. Notionally works for me. -Mike
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: RFC: documentation of the autogroup feature "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com> - 2016-11-27 22:20 +0100
Re: RFC: documentation of the autogroup feature Mike Galbraith <efault@gmx.de> - 2016-11-28 02:50 +0100
Re: RFC: documentation of the autogroup feature "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com> - 2016-11-29 10:20 +0100
Re: RFC: documentation of the autogroup feature Mike Galbraith <efault@gmx.de> - 2016-11-29 14:50 +0100
csiph-web