aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-01-25 01:24:14 -0500
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-02-26 14:57:28 -0500
commit89bf5d82ed451f02329bbbb06ac365e96b18804d (patch)
treeda9009ae1bf0bdb761ac2265b992bdc9c124fec4
parentd2af1ad73e7a22ed3e04374896fee0eb300c05c3 (diff)
documentation: Update based on on-demand vmstat workers
Now that the on-demand vmstat workers commit is in mainline, it is possible to eliminate vmstat_update()-induced OS jitter. This commit updates the documentation accordingly. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
-rw-r--r--Documentation/kernel-per-CPU-kthreads.txt18
1 files changed, 10 insertions, 8 deletions
diff --git a/Documentation/kernel-per-CPU-kthreads.txt b/Documentation/kernel-per-CPU-kthreads.txt
index f3cd299fcc41..81fe051c4447 100644
--- a/Documentation/kernel-per-CPU-kthreads.txt
+++ b/Documentation/kernel-per-CPU-kthreads.txt
@@ -190,14 +190,16 @@ To reduce its OS jitter, do any of the following:
190 on each CPU, including cs_dbs_timer() and od_dbs_timer(). 190 on each CPU, including cs_dbs_timer() and od_dbs_timer().
191 WARNING: Please check your CPU specifications to 191 WARNING: Please check your CPU specifications to
192 make sure that this is safe on your particular system. 192 make sure that this is safe on your particular system.
193 d. It is not possible to entirely get rid of OS jitter 193 d. As of v3.18, Christoph Lameter's on-demand vmstat workers
194 from vmstat_update() on CONFIG_SMP=y systems, but you 194 commit prevents OS jitter due to vmstat_update() on
195 can decrease its frequency by writing a large value 195 CONFIG_SMP=y systems. Before v3.18, is not possible
196 to /proc/sys/vm/stat_interval. The default value is 196 to entirely get rid of the OS jitter, but you can
197 HZ, for an interval of one second. Of course, larger 197 decrease its frequency by writing a large value to
198 values will make your virtual-memory statistics update 198 /proc/sys/vm/stat_interval. The default value is HZ,
199 more slowly. Of course, you can also run your workload 199 for an interval of one second. Of course, larger values
200 at a real-time priority, thus preempting vmstat_update(), 200 will make your virtual-memory statistics update more
201 slowly. Of course, you can also run your workload at
202 a real-time priority, thus preempting vmstat_update(),
201 but if your workload is CPU-bound, this is a bad idea. 203 but if your workload is CPU-bound, this is a bad idea.
202 However, there is an RFC patch from Christoph Lameter 204 However, there is an RFC patch from Christoph Lameter
203 (based on an earlier one from Gilad Ben-Yossef) that 205 (based on an earlier one from Gilad Ben-Yossef) that