From 45922aa8d355c73bba4ad0cae7b3b3e32663a31a Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 24 Nov 2016 22:17:17 +0100 Subject: [PATCH] sched.7: srcfix: add details to FIXME Signed-off-by: Michael Kerrisk --- man7/sched.7 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/man7/sched.7 b/man7/sched.7 index 4787d752f..a72fcaa9b 100644 --- a/man7/sched.7 +++ b/man7/sched.7 @@ -766,6 +766,15 @@ and the setting has the same effect as modifying the nice level via .\" .\" FIXME How do the nice value of a process and the nice value of .\" an autogroup interact? Which has priority? +.\" +.\" It *appears* that the autogroup nice value is used for CPU distribution +.\" between task groups, and that the process nice value has no effect there. +.\" (I.e., suppose two autogroups each contain a CPU-bound process, +.\" with one process having nice==0 and the other having nice==19. +.\" It appears that they each get 50% of the CPU.) +.\" It appears that the process nice value has effect only with respect to +.\" scheduling relative to other processes in the *same* autogroup. +.\" Is this correct? The use of the .BR cgroups (7)