Skip to content

sched: asymmetrical packing for POWER7 SMT4

Michael Neuling linuxppc-dev lkml 1 version In review

Get series with b4
b4 am 1270794078.794237.347827867455.qpush@pale

Versions newest first

  1. v1 Latest5 patches 19 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5sched: fix capacity calculations for SMT4kernel/sched_fair.c+5 -111 replies
2/5sched: add asymmetric packing option for sibling domaininclude/linux/sched.h include/linux/topology.h kernel/sched_fair.c+65 -42 replies
3/5powerpc: enabled asymmetric SMT scheduling on POWER7arch/powerpc/include/asm/cputable.h arch/powerpc/kernel/process.c+15 -11 reply
4/5sched: Mark the balance type for use in need_active_balance()kernel/sched_fair.c+19 -52 replies
5/5sched: make fix_small_imbalance work with asymmetric packingkernel/sched_fair.c+1 -13 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] sched: asymmetrical packing for POWER7 SMT4

This patch series implements asymmetric SMT packing which ensures consistently good performance on POWER7.

I'm no scheduler expert so these probably need some review. It works for my simple test case on a POWER7 with SMT4. I can now run a number of CPU bound processes and they are pulled down to lower threads giving the best performance consistently.

Suresh: some of this touches code you changed recently, so you may want to test in your environment.

The 1st patch is a fix for SMT4 in general.
The 2nd adds actual the asymmetrical packing infrastructure. The 3rd adds the powerpc specific hooks for POWER7. The 4th and 5th are fixes required for packing to work.