Skip to content

Commit 7b2489d

Browse files
hnaztorvalds
authored andcommitted
psi: clarify the Kconfig text for the default-disable option
The current help text caused some confusion in online forums about whether or not to default-enable or default-disable psi in vendor kernels. This is because it doesn't communicate the reason for why we made this setting configurable in the first place: that the overhead is non-zero in an artificial scheduler stress test. Since this isn't representative of real workloads, and the effect was not measurable in scheduler-heavy real world applications such as the webservers and memcache installations at Facebook, it's fair to point out that this is a pretty cautious option to select. Link: http://lkml.kernel.org/r/20190129233617.16767-1-hannes@cmpxchg.org Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: Mel Gorman <mgorman@techsingularity.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent e3df4c6 commit 7b2489d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

init/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,17 @@ config PSI_DEFAULT_DISABLED
512512
per default but can be enabled through passing psi=1 on the
513513
kernel commandline during boot.
514514

515+
This feature adds some code to the task wakeup and sleep
516+
paths of the scheduler. The overhead is too low to affect
517+
common scheduling-intense workloads in practice (such as
518+
webservers, memcache), but it does show up in artificial
519+
scheduler stress tests, such as hackbench.
520+
521+
If you are paranoid and not sure what the kernel will be
522+
used for, say Y.
523+
524+
Say N if unsure.
525+
515526
endmenu # "CPU/Task time and stats accounting"
516527

517528
config CPU_ISOLATION

0 commit comments

Comments
 (0)