aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-01-25 14:48:18 -0500
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-02-26 14:57:30 -0500
commitf1360570f420b8b122e7f1cccf456ff7133a3007 (patch)
tree4331d304793e0aace5f0c42a15f5187eba1d4126
parentc25197841efe53258abb22cfd894a729a272edf9 (diff)
documentation: Update per-CPU kthreads documentation
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
-rw-r--r--Documentation/kernel-per-CPU-kthreads.txt16
1 files changed, 11 insertions, 5 deletions
diff --git a/Documentation/kernel-per-CPU-kthreads.txt b/Documentation/kernel-per-CPU-kthreads.txt
index 81fe051c4447..f4cbfe0ba108 100644
--- a/Documentation/kernel-per-CPU-kthreads.txt
+++ b/Documentation/kernel-per-CPU-kthreads.txt
@@ -205,7 +205,9 @@ To reduce its OS jitter, do any of the following:
205 (based on an earlier one from Gilad Ben-Yossef) that 205 (based on an earlier one from Gilad Ben-Yossef) that
206 reduces or even eliminates vmstat overhead for some 206 reduces or even eliminates vmstat overhead for some
207 workloads at https://lkml.org/lkml/2013/9/4/379. 207 workloads at https://lkml.org/lkml/2013/9/4/379.
208 e. If running on high-end powerpc servers, build with 208 e. Boot with "elevator=noop" to avoid workqueue use by
209 the block layer.
210 f. If running on high-end powerpc servers, build with
209 CONFIG_PPC_RTAS_DAEMON=n. This prevents the RTAS 211 CONFIG_PPC_RTAS_DAEMON=n. This prevents the RTAS
210 daemon from running on each CPU every second or so. 212 daemon from running on each CPU every second or so.
211 (This will require editing Kconfig files and will defeat 213 (This will require editing Kconfig files and will defeat
@@ -213,12 +215,12 @@ To reduce its OS jitter, do any of the following:
213 due to the rtas_event_scan() function. 215 due to the rtas_event_scan() function.
214 WARNING: Please check your CPU specifications to 216 WARNING: Please check your CPU specifications to
215 make sure that this is safe on your particular system. 217 make sure that this is safe on your particular system.
216 f. If running on Cell Processor, build your kernel with 218 g. If running on Cell Processor, build your kernel with
217 CBE_CPUFREQ_SPU_GOVERNOR=n to avoid OS jitter from 219 CBE_CPUFREQ_SPU_GOVERNOR=n to avoid OS jitter from
218 spu_gov_work(). 220 spu_gov_work().
219 WARNING: Please check your CPU specifications to 221 WARNING: Please check your CPU specifications to
220 make sure that this is safe on your particular system. 222 make sure that this is safe on your particular system.
221 g. If running on PowerMAC, build your kernel with 223 h. If running on PowerMAC, build your kernel with
222 CONFIG_PMAC_RACKMETER=n to disable the CPU-meter, 224 CONFIG_PMAC_RACKMETER=n to disable the CPU-meter,
223 avoiding OS jitter from rackmeter_do_timer(). 225 avoiding OS jitter from rackmeter_do_timer().
224 226
@@ -260,8 +262,12 @@ Purpose: Detect software lockups on each CPU.
260To reduce its OS jitter, do at least one of the following: 262To reduce its OS jitter, do at least one of the following:
2611. Build with CONFIG_LOCKUP_DETECTOR=n, which will prevent these 2631. Build with CONFIG_LOCKUP_DETECTOR=n, which will prevent these
262 kthreads from being created in the first place. 264 kthreads from being created in the first place.
2632. Echo a zero to /proc/sys/kernel/watchdog to disable the 2652. Boot with "nosoftlockup=0", which will also prevent these kthreads
266 from being created. Other related watchdog and softlockup boot
267 parameters may be found in Documentation/kernel-parameters.txt
268 and Documentation/watchdog/watchdog-parameters.txt.
2693. Echo a zero to /proc/sys/kernel/watchdog to disable the
264 watchdog timer. 270 watchdog timer.
2653. Echo a large number of /proc/sys/kernel/watchdog_thresh in 2714. Echo a large number of /proc/sys/kernel/watchdog_thresh in
266 order to reduce the frequency of OS jitter due to the watchdog 272 order to reduce the frequency of OS jitter due to the watchdog
267 timer down to a level that is acceptable for your workload. 273 timer down to a level that is acceptable for your workload.