Skip to content

RFC x86 SMP: enables core-pair topology detection for AMD CPUs

Wei Huang xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86 SMP: enables core-pair topology detection for AMD CPUsxen/arch/x86/cpu/amd.c xen/arch/x86/cpu/common.c xen/arch/x86/cpu/mcheck/mce.c +2 more+25 -310 replies
2/2x86 SMP: enables core-pair topology detection for AMD CPUsxen/arch/x86/cpu/amd.c xen/arch/x86/cpu/common.c xen/arch/x86/smpboot.c +1 more+63 -281 reply

Reviews trailers per patch

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

PatchGeorge DunlapJan Beulich
SeriesA-b A-b
1/2
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][RFC][0/2] x86 SMP: enables core-pair topology detection for AMD CPUs

Hi,

The following two patches enable core-pair topology detection for AMD CPUs. The main idea is to record compute unit information into cpuinfo_x86 and use it when building sibling map. The sibling map will be used by Xen credit scheduler to coordinate VCPU scheduling in a fashion similar to SMT. This code is very similar to upstream Linux kernel.

Regarding the performance improvement, I saw ~8% improvement running kernel compilation on Dom0 with this patch. Anrea Przywara ran a POVRay benchmark using this patch and he saw ~5% improvement. No perf degradation was seen so far.

Please review.

Thanks,
-Wei