Skip to content

numa,sched: improve performance for multi-threaded workloads

[email protected] lkml oe-lkp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2numa,sched: slow down scan rate if shared faults dominatekernel/sched/fair.c+25 -141 reply
2/2sched,numa: scale scan period with tasks in group and shared/privatekernel/sched/fair.c+86 -251 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMel Gorman
1/2A-b
2/2A-b

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/2] numa,sched: improve performance for multi-threaded workloads

The NUMA balancing code spends way too much CPU time scanning and faulting when running multi-threaded workloads.

This patch set slows down NUMA PTE scanning when there are lots of shared faults, and when dealing with large NUMA groups that have a large fraction of shared faults.

Some results from Jirka's half-week performance run, on
a 4 node system:
- improvements in the range of 10-30% for NAS benchmarks (mostly ft and lu subtests)
- SPECjbb2005 single instance mode - improvements in the range of 5-10%
- SPECjvm2008 - performance very similar to before, some small improvements for the scimark* subtests