NUMA Regression 5.18

Benchmarks by Michael Larabel reproducing regression from https://www.phoronix.com/scan.php?page=news_item&px=Linux-518-Stress-NUMA-Goes-Boom on the system in 2022-05-28 state across v5.17 to v5.18, still present on Linux Gity, and testing the Linux Git with patch from https://lore.kernel.org/lkml/YhUI1wUtV8yguijO@fuller.cnet/T/#m172e8b7b57fdbed3aceca6fc667cdbf85e2af49b. Patch seems to resolve the stress-ng NUMA performance.

HTML result view exported from: https://openbenchmarking.org/result/2205284-PTS-NUMAREGR17.

NUMA Regression 5.18ProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerOpenGLVulkanCompilerFile-SystemScreen Resolutionv5.17v5.1820220528 Git20220528 Git + sched-rcu-exped patchAMD Ryzen 9 5950X 16-Core @ 3.40GHz (16 Cores / 32 Threads)ASUS ROG CROSSHAIR VIII HERO (WI-FI) (4006 BIOS)AMD Starship/Matisse32GB1000GB Sabrent Rocket 4.0 PlusAMD Radeon RX 6800 16GB (2475/1000MHz)AMD Navi 21 HDMI AudioASUS MG28URealtek RTL8125 2.5GbE + Intel I211 + Intel Wi-Fi 6 AX200Ubuntu 22.045.17.0-051700-generic (x86_64)GNOME Shell 42.0X Server + Wayland4.6 Mesa 22.0.1 (LLVM 13.0.1 DRM 3.44)1.2.204GCC 11.2.0ext43840x21605.18.0-051800-generic (x86_64)4.6 Mesa 22.0.1 (LLVM 13.0.1 DRM 3.46)5.18.0-051800daily20220528-generic (x86_64)5.18.0-sched-rcu-exped (x86_64)OpenBenchmarking.orgKernel Details- Transparent Huge Pages: madviseCompiler Details- --build=x86_64-linux-gnu --disable-vtable-verify --disable-werror --enable-bootstrap --enable-cet --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-gnu-unique-object --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --enable-libphobos-checking=release --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-link-serialization=2 --enable-multiarch --enable-multilib --enable-nls --enable-objc-gc=auto --enable-offload-targets=nvptx-none=/build/gcc-11-gBFGDP/gcc-11-11.2.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-gBFGDP/gcc-11-11.2.0/debian/tmp-gcn/usr --enable-plugin --enable-shared --enable-threads=posix --host=x86_64-linux-gnu --program-prefix=x86_64-linux-gnu- --target=x86_64-linux-gnu --with-abi=m64 --with-arch-32=i686 --with-build-config=bootstrap-lto-lean --with-default-libstdcxx-abi=new --with-gcc-major-version-only --with-multilib-list=m32,m64,mx32 --with-target-system-zlib=auto --with-tune=generic --without-cuda-driver -v Processor Details- Scaling Governor: acpi-cpufreq schedutil (Boost: Enabled) - CPU Microcode: 0xa201016Security Details- itlb_multihit: Not affected + l1tf: Not affected + mds: Not affected + meltdown: Not affected + spec_store_bypass: Mitigation of SSB disabled via prctl + spectre_v1: Mitigation of usercopy/swapgs barriers and __user pointer sanitization + spectre_v2: Mitigation of Retpolines IBPB: conditional IBRS_FW STIBP: always-on RSB filling + srbds: Not affected + tsx_async_abort: Not affected

NUMA Regression 5.18stress-ng: NUMADifferenceStandard ErrorStandard Deviationv5.17v5.1820220528 Git20220528 Git + sched-rcu-exped patch412.888.37x2.701.13%49.331.00x0.352.45%49.661.01x0.443.42%468.819.50x1.260.47%OpenBenchmarking.org

Stress-NG

Test: NUMA

OpenBenchmarking.orgBogo Ops/s, More Is BetterStress-NG 0.14Test: NUMAv5.17v5.1820220528 Git20220528 Git + sched-rcu-exped patch100200300400500SE +/- 2.70, N = 3SE +/- 0.35, N = 12SE +/- 0.44, N = 15SE +/- 1.26, N = 3412.8849.3349.66468.811. (CC) gcc options: -O2 -std=gnu99 -lm -laio -lapparmor -latomic -lc -lcrypt -ldl -ljpeg -lrt -lz -pthread


Phoronix Test Suite v10.8.4