Skip to content

sched/numa: introduce advanced numa statistic

王贇 linux-doc linux-fsdevel lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 13 repliesIn review
  2. v13 patches 6 repliesSuperseded

Changes in v2 from the cover letter

* Improved documentation

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3sched/numa: advanced per-cgroup numa statisticinclude/linux/sched.h include/linux/sched/sysctl.h init/Kconfig +4 more+184 -19 replies
2/3sched/numa: expose per-task pages-migration-failurekernel/sched/debug.c+1 -02 replies
3/3sched/numa: documentation for per-cgroup numa statDocumentation/admin-guide/cg-numa-stat.rst Documentation/admin-guide/index.rst Documentation/admin-guide/kernel-parameters.txt +1 more+177 -00 replies
3/3sched/numa: documentation for per-cgroup numa statDocumentation/admin-guide/cg-numa-stat.rst Documentation/admin-guide/index.rst Documentation/admin-guide/kernel-parameters.txt +1 more+177 -02 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMel GormanRandy Dunlap
SeriesA-b
1/3
2/3A-b
3/3
3/3

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

Read the v2 thread

Cover letter [PATCH v2 0/3] sched/numa: introduce advanced numa statistic

Since v1:
* Improved documentation

Modern production environment could use hundreds of cgroup to control the resources for different workloads, along with the complicated resource binding.

On NUMA platforms where we have multiple nodes, things become even more complicated, we hope there are more local memory access to improve the performance, and NUMA Balancing keep working hard to achieve that, however, wrong memory policy or node binding could easily waste the effort, result a lot of remote page accessing.

We need to perceive such problems, then we got chance to fix it before there are too much damages, however, there are no good approach yet to help catch the mouse who introduced the remote access.

This patch set is trying to fill in the missing pieces, by introduce the per-cgroup NUMA locality/exectime statistics, and expose the per-task page migration failure counter, with these statistics, we could achieve the daily monitoring on NUMA efficiency, to give warning when things going too wrong.

Please check the third patch for more details.

Thanks to Peter, Mel and Michal for the good advice.

Michael Wang (3):
sched/numa: advanced per-cgroup numa statistic sched/numa: expose per-task pages-migration-failure counter sched/numa: documentation for per-cgroup numa stat

 Documentation/admin-guide/cg-numa-stat.rst      | 163 ++++++++++++++++++++++++
 Documentation/admin-guide/index.rst             |   1 +
 Documentation/admin-guide/kernel-parameters.txt |   4 +
 Documentation/admin-guide/sysctl/kernel.rst     |   9 ++
 include/linux/sched.h                           |  18 ++-
 include/linux/sched/sysctl.h                    |   6 +
 init/Kconfig                                    |   9 ++
 kernel/sched/core.c                             |  91 +++++++++++++
 kernel/sched/debug.c                            |   1 +
 kernel/sched/fair.c                             |  33 +++++
 kernel/sched/sched.h                            |  17 +++
 kernel/sysctl.c                                 |  11 ++
 12 files changed, 362 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/admin-guide/cg-numa-stat.rst
Signature · 1 line
2.14.4.44.g2045bb6