Skip to content

per-CPU vmstat thresholds and vmstat worker disablement (v2)

Marcelo Tosatti linux-mm linux-rt-users lkml oe-lkp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

v2 from the cover letter

- Improve documentation (Rik/Luiz).
- Split patch in two (Luiz).
- Fix comparison to include equal, in the helpers for stats accounting.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3MM: remove unused quiet_vmstat functioninclude/linux/vmstat.h mm/vmstat.c+0 -261 reply
2/3MM: allow per-cpu vmstat_threshold configurationDocumentation/vm/vmstat_thresholds.txt mm/vmstat.c+247 -190 replies
3/3MM: allow per-cpu vmstat_worker configurationmm/vmstat.c+73 -32 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchRik van Riel
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [patch 0/3] per-CPU vmstat thresholds and vmstat worker disablement (v2)

The per-CPU vmstat worker is a problem on -RT workloads (because ideally the CPU is entirely reserved for the -RT app, without interference). The worker transfers accumulated per-CPU vmstat counters to global counters.

To resolve the problem, create two tunables:

* Userspace configurable per-CPU vmstat threshold: by default the VM code calculates the size of the per-CPU vmstat arrays. This tunable allows userspace to configure the values.

* Userspace configurable per-CPU vmstat worker: allow disabling the per-CPU vmstat worker.

v2:
- Improve documentation (Rik/Luiz).
- Split patch in two (Luiz).
- Fix comparison to include equal, in the helpers for stats accounting.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>