mm: memcg: subtree stats flushing and thresholds test comparison Benchmarks by Michael Larabel of the [PATCH v2 0/5] mm: memcg: subtree stats flushing and thresholds patch series atop Linux 6.6 Git. Stock is just running the benchmarks on the system itself, "1 in cgroup" is running the benchmarks within a cgroup using "systemd-run --scope" Stock: Linux 6.6-rc5: Processor: 2 x AMD EPYC 9684X 96-Core @ 2.55GHz (192 Cores / 384 Threads), Motherboard: AMD Titanite_4G (RTI1007B BIOS), Chipset: AMD Device 14a4, Memory: 1520GB, Disk: 3201GB Micron_7450_MTFDKCC3T2TFS, Graphics: ASPEED, Network: Broadcom NetXtreme BCM5720 PCIe OS: Ubuntu 23.10, Kernel: 6.6.0-rc5-phx (x86_64), Desktop: GNOME Shell 45.0, Display Server: X Server 1.21.1.7, Compiler: GCC 13.2.0, File-System: ext4, Screen Resolution: 1920x1200 In 1 cgroup: Linux 6.6-rc5: Processor: 2 x AMD EPYC 9684X 96-Core @ 2.55GHz (192 Cores / 384 Threads), Motherboard: AMD Titanite_4G (RTI1007B BIOS), Chipset: AMD Device 14a4, Memory: 1520GB, Disk: 3201GB Micron_7450_MTFDKCC3T2TFS, Graphics: ASPEED, Network: Broadcom NetXtreme BCM5720 PCIe OS: Ubuntu 23.10, Kernel: 6.6.0-rc5-phx (x86_64), Desktop: GNOME Shell 45.0, Display Server: X Server 1.21.1.7, Compiler: GCC 13.2.0, File-System: ext4, Screen Resolution: 1920x1200 Stock: Patched: Processor: 2 x AMD EPYC 9684X 96-Core @ 2.55GHz (192 Cores / 384 Threads), Motherboard: AMD Titanite_4G (RTI1007B BIOS), Chipset: AMD Device 14a4, Memory: 1520GB, Disk: 3201GB Micron_7450_MTFDKCC3T2TFS, Graphics: ASPEED, Network: Broadcom NetXtreme BCM5720 PCIe OS: Ubuntu 23.10, Kernel: 6.6.0-rc5-phx-patched (x86_64), Desktop: GNOME Shell 45.0, Display Server: X Server 1.21.1.7, Compiler: GCC 13.2.0, File-System: ext4, Screen Resolution: 1920x1200 In 1 cgroup: Patched: Processor: 2 x AMD EPYC 9684X 96-Core @ 2.55GHz (192 Cores / 384 Threads), Motherboard: AMD Titanite_4G (RTI1007B BIOS), Chipset: AMD Device 14a4, Memory: 1520GB, Disk: 3201GB Micron_7450_MTFDKCC3T2TFS, Graphics: ASPEED, Network: Broadcom NetXtreme BCM5720 PCIe OS: Ubuntu 23.10, Kernel: 6.6.0-rc5-phx-patched (x86_64), Desktop: GNOME Shell 45.0, Display Server: X Server 1.21.1.7, Compiler: GCC 13.2.0, File-System: ext4, Screen Resolution: 1920x1200 Stress-NG 0.16.04 Test: Hash Bogo Ops/s > Higher Is Better Stock: Linux 6.6-rc5 ....... 37338441.08 |===================================== In 1 cgroup: Linux 6.6-rc5 . 37316794.24 |===================================== Stock: Patched ............. 37320648.99 |===================================== In 1 cgroup: Patched ....... 37319998.44 |===================================== Stress-NG 0.16.04 Test: MMAP Bogo Ops/s > Higher Is Better Stock: Linux 6.6-rc5 ....... 4591.00 |========================================= In 1 cgroup: Linux 6.6-rc5 . 4600.69 |========================================= Stock: Patched ............. 4173.55 |===================================== In 1 cgroup: Patched ....... 4223.46 |====================================== Stress-NG 0.16.04 Test: NUMA Bogo Ops/s > Higher Is Better Stock: Linux 6.6-rc5 ....... 635.13 |========================================= In 1 cgroup: Linux 6.6-rc5 . 640.39 |========================================= Stock: Patched ............. 651.94 |========================================== In 1 cgroup: Patched ....... 630.23 |========================================= Stress-NG 0.16.04 Test: Pipe Bogo Ops/s > Higher Is Better Stock: Linux 6.6-rc5 ....... 57249607.52 |================================ In 1 cgroup: Linux 6.6-rc5 . 66453368.09 |===================================== Stock: Patched ............. 56298303.49 |=============================== In 1 cgroup: Patched ....... 61692645.82 |================================== Stress-NG 0.16.04 Test: Poll Bogo Ops/s > Higher Is Better Stock: Linux 6.6-rc5 ....... 12497817.94 |================================ In 1 cgroup: Linux 6.6-rc5 . 14390071.72 |==================================== Stock: Patched ............. 12790984.08 |================================ In 1 cgroup: Patched ....... 14643894.67 |===================================== Stress-NG 0.16.04 Test: Zlib Bogo Ops/s > Higher Is Better Stock: Linux 6.6-rc5 ....... 23273.73 |======================================== In 1 cgroup: Linux 6.6-rc5 . 23298.26 |======================================== Stock: Patched ............. 23292.91 |======================================== In 1 cgroup: Patched ....... 23284.67 |======================================== Stress-NG 0.16.04 Test: Futex Bogo Ops/s > Higher Is Better Stock: Linux 6.6-rc5 ....... 2243861.84 |===================================== In 1 cgroup: Linux 6.6-rc5 . 1980878.82 |================================= Stock: Patched ............. 2311713.80 |====================================== In 1 cgroup: Patched ....... 1918073.77 |================================ Stress-NG 0.16.04 Test: MEMFD Bogo Ops/s > Higher Is Better Stock: Linux 6.6-rc5 ....... 864.80 |========================================== In 1 cgroup: Linux 6.6-rc5 . 842.85 |========================================= Stock: Patched ............. 646.05 |=============================== In 1 cgroup: Patched ....... 651.47 |================================ Stress-NG 0.16.04 Test: Mutex Bogo Ops/s > Higher Is Better Stock: Linux 6.6-rc5 ....... 41390907.50 |=============================== In 1 cgroup: Linux 6.6-rc5 . 48719429.36 |===================================== Stock: Patched ............. 39333593.92 |============================== In 1 cgroup: Patched ....... 48817263.17 |===================================== Stress-NG 0.16.04 Test: Atomic Bogo Ops/s > Higher Is Better Stock: Linux 6.6-rc5 ....... 174.94 |========================================== In 1 cgroup: Linux 6.6-rc5 . 175.78 |========================================== Stock: Patched ............. 174.22 |========================================== In 1 cgroup: Patched ....... 175.41 |========================================== Stress-NG 0.16.04 Test: Crypto Bogo Ops/s > Higher Is Better Stock: Linux 6.6-rc5 ....... 428250.08 |======================================= In 1 cgroup: Linux 6.6-rc5 . 428184.46 |======================================= Stock: Patched ............. 424885.68 |======================================= In 1 cgroup: Patched ....... 427818.58 |======================================= Stress-NG 0.16.04 Test: Malloc Bogo Ops/s > Higher Is Better Stock: Linux 6.6-rc5 ....... 267785906.75 |==================================== In 1 cgroup: Linux 6.6-rc5 . 268001048.95 |==================================== Stock: Patched ............. 268032542.49 |==================================== In 1 cgroup: Patched ....... 267998007.39 |==================================== Stress-NG 0.16.04 Test: Forking Bogo Ops/s > Higher Is Better Stock: Linux 6.6-rc5 ....... 36946.64 |====================================== In 1 cgroup: Linux 6.6-rc5 . 39181.14 |======================================== Stock: Patched ............. 38068.60 |======================================= In 1 cgroup: Patched ....... 38616.48 |======================================= Stress-NG 0.16.04 Test: Pthread Bogo Ops/s > Higher Is Better Stock: Linux 6.6-rc5 ....... 58451.57 |======================================= In 1 cgroup: Linux 6.6-rc5 . 57558.84 |======================================= Stock: Patched ............. 59195.76 |======================================== In 1 cgroup: Patched ....... 58929.26 |======================================== Stress-NG 0.16.04 Test: AVL Tree Bogo Ops/s > Higher Is Better Stock: Linux 6.6-rc5 ....... 3193.43 |========================================= In 1 cgroup: Linux 6.6-rc5 . 3203.22 |========================================= Stock: Patched ............. 3198.71 |========================================= In 1 cgroup: Patched ....... 3198.59 |========================================= Ethr 1.0 Server Address: localhost - Protocol: TCP - Test: Connections/s - Threads: 128 Connections/sec > Higher Is Better Stock: Linux 6.6-rc5 ....... 504 |============================================= In 1 cgroup: Linux 6.6-rc5 . 503 |============================================= Stock: Patched ............. 502 |============================================= In 1 cgroup: Patched ....... 503 |============================================= Ethr 1.0 Server Address: localhost - Protocol: TCP - Test: Connections/s - Threads: 256 Connections/sec > Higher Is Better Stock: Linux 6.6-rc5 ....... 506 |============================================= In 1 cgroup: Linux 6.6-rc5 . 508 |============================================= Stock: Patched ............. 507 |============================================= In 1 cgroup: Patched ....... 501 |============================================ Embree 4.3 Binary: Pathtracer ISPC - Model: Crown Frames Per Second > Higher Is Better Stock: Linux 6.6-rc5 ....... 201.53 |========================================== In 1 cgroup: Linux 6.6-rc5 . 198.48 |========================================= Stock: Patched ............. 199.56 |========================================== In 1 cgroup: Patched ....... 201.45 |========================================== Embree 4.3 Binary: Pathtracer ISPC - Model: Asian Dragon Frames Per Second > Higher Is Better Stock: Linux 6.6-rc5 ....... 231.93 |========================================= In 1 cgroup: Linux 6.6-rc5 . 233.27 |========================================== Stock: Patched ............. 234.08 |========================================== In 1 cgroup: Patched ....... 235.53 |========================================== SVT-AV1 1.7 Encoder Mode: Preset 13 - Input: Bosphorus 4K Frames Per Second > Higher Is Better Stock: Linux 6.6-rc5 ....... 175.84 |========================================= In 1 cgroup: Linux 6.6-rc5 . 176.10 |========================================= Stock: Patched ............. 178.78 |========================================== In 1 cgroup: Patched ....... 176.41 |========================================= Ethr 1.0 Server Address: localhost - Protocol: TCP - Test: Bandwidth - Threads: 256 Gbits/sec > Higher Is Better Stock: Linux 6.6-rc5 ....... 676.91 |======================================== In 1 cgroup: Linux 6.6-rc5 . 714.59 |========================================== Stock: Patched ............. 692.61 |========================================= In 1 cgroup: Patched ....... 704.89 |========================================= OpenVKL 2.0.0 Benchmark: vklBenchmarkCPU ISPC Items / Sec > Higher Is Better Stock: Linux 6.6-rc5 ....... 3529 |============================================ In 1 cgroup: Linux 6.6-rc5 . 3530 |============================================ Stock: Patched ............. 3537 |============================================ In 1 cgroup: Patched ....... 3546 |============================================ iPerf 3.14 Server Address: localhost - Server Port: 5201 - Duration: 60 Seconds - Test: TCP - Parallel: 128 Mbits/sec > Higher Is Better Stock: Linux 6.6-rc5 ....... 33562 |=========================================== In 1 cgroup: Linux 6.6-rc5 . 33798 |=========================================== Stock: Patched ............. 33870 |=========================================== In 1 cgroup: Patched ....... 33956 |=========================================== iPerf 3.14 Server Address: localhost - Server Port: 5201 - Duration: 60 Seconds - Test: UDP - Parallel: 128 Mbits/sec > Higher Is Better Stock: Linux 6.6-rc5 ....... 134 |============================================= In 1 cgroup: Linux 6.6-rc5 . 134 |============================================= Stock: Patched ............. 134 |============================================= In 1 cgroup: Patched ....... 134 |============================================= 7-Zip Compression 22.01 Test: Compression Rating MIPS > Higher Is Better Stock: Linux 6.6-rc5 ....... 820348 |========================================== In 1 cgroup: Linux 6.6-rc5 . 821409 |========================================== Stock: Patched ............. 808111 |========================================= In 1 cgroup: Patched ....... 810356 |========================================= 7-Zip Compression 22.01 Test: Decompression Rating MIPS > Higher Is Better Stock: Linux 6.6-rc5 ....... 1200473 |========================================= In 1 cgroup: Linux 6.6-rc5 . 1203389 |========================================= Stock: Patched ............. 1201479 |========================================= In 1 cgroup: Patched ....... 1202041 |========================================= Memcached 1.6.19 Set To Get Ratio: 1:10 Ops/sec > Higher Is Better Stock: Linux 6.6-rc5 ....... 4057968.21 |====================================== In 1 cgroup: Linux 6.6-rc5 . 4013800.81 |====================================== Stock: Patched ............. 4034898.74 |====================================== In 1 cgroup: Patched ....... 3949479.02 |===================================== Memcached 1.6.19 Set To Get Ratio: 1:100 Ops/sec > Higher Is Better Stock: Linux 6.6-rc5 ....... 8090072.72 |===================================== In 1 cgroup: Linux 6.6-rc5 . 8276238.33 |====================================== Stock: Patched ............. 8324029.86 |====================================== In 1 cgroup: Patched ....... 8298814.64 |====================================== Ethr 1.0 Server Address: localhost - Protocol: UDP - Test: Bandwidth - Threads: 256 Packets/sec > Higher Is Better Stock: Linux 6.6-rc5 ....... 3856640 |========================================= In 1 cgroup: Linux 6.6-rc5 . 3883467 |========================================= Stock: Patched ............. 3744427 |======================================== In 1 cgroup: Patched ....... 3749387 |======================================== nginx 1.23.2 Connections: 500 Requests Per Second > Higher Is Better Stock: Linux 6.6-rc5 ....... 253759.29 |===================================== In 1 cgroup: Linux 6.6-rc5 . 263642.99 |====================================== Stock: Patched ............. 258113.05 |===================================== In 1 cgroup: Patched ....... 269764.23 |======================================= PostgreSQL 16 Scaling Factor: 100 - Clients: 800 - Mode: Read Only TPS > Higher Is Better Stock: Linux 6.6-rc5 ....... 3399500 |======================================= In 1 cgroup: Linux 6.6-rc5 . 3432786 |======================================== Stock: Patched ............. 3429143 |======================================== In 1 cgroup: Patched ....... 3534202 |========================================= PostgreSQL 16 Scaling Factor: 100 - Clients: 1000 - Mode: Read Only TPS > Higher Is Better Stock: Linux 6.6-rc5 ....... 3397057 |======================================== In 1 cgroup: Linux 6.6-rc5 . 3507233 |========================================= Stock: Patched ............. 3360303 |======================================= In 1 cgroup: Patched ....... 3478752 |========================================= PostgreSQL 16 Scaling Factor: 100 - Clients: 800 - Mode: Read Write TPS > Higher Is Better Stock: Linux 6.6-rc5 ....... 56790 |========================================== In 1 cgroup: Linux 6.6-rc5 . 58137 |=========================================== Stock: Patched ............. 57951 |=========================================== In 1 cgroup: Patched ....... 58051 |=========================================== PostgreSQL 16 Scaling Factor: 100 - Clients: 1000 - Mode: Read Write TPS > Higher Is Better Stock: Linux 6.6-rc5 ....... 54902 |========================================= In 1 cgroup: Linux 6.6-rc5 . 56255 |========================================== Stock: Patched ............. 56200 |========================================== In 1 cgroup: Patched ....... 57010 |=========================================== PostgreSQL 16 Scaling Factor: 100 - Clients: 800 - Mode: Read Only - Average Latency ms < Lower Is Better Stock: Linux 6.6-rc5 ....... 0.235 |=========================================== In 1 cgroup: Linux 6.6-rc5 . 0.233 |=========================================== Stock: Patched ............. 0.233 |=========================================== In 1 cgroup: Patched ....... 0.227 |========================================== PostgreSQL 16 Scaling Factor: 100 - Clients: 1000 - Mode: Read Only - Average Latency ms < Lower Is Better Stock: Linux 6.6-rc5 ....... 0.294 |========================================== In 1 cgroup: Linux 6.6-rc5 . 0.285 |========================================= Stock: Patched ............. 0.298 |=========================================== In 1 cgroup: Patched ....... 0.287 |========================================= PostgreSQL 16 Scaling Factor: 100 - Clients: 800 - Mode: Read Write - Average Latency ms < Lower Is Better Stock: Linux 6.6-rc5 ....... 14.09 |=========================================== In 1 cgroup: Linux 6.6-rc5 . 13.76 |========================================== Stock: Patched ............. 13.81 |========================================== In 1 cgroup: Patched ....... 13.78 |========================================== PostgreSQL 16 Scaling Factor: 100 - Clients: 1000 - Mode: Read Write - Average Latency ms < Lower Is Better Stock: Linux 6.6-rc5 ....... 18.26 |=========================================== In 1 cgroup: Linux 6.6-rc5 . 17.80 |========================================== Stock: Patched ............. 17.80 |========================================== In 1 cgroup: Patched ....... 17.59 |========================================= Timed Godot Game Engine Compilation 4.0 Time To Compile Seconds < Lower Is Better Stock: Linux 6.6-rc5 ....... 90.64 |=========================================== In 1 cgroup: Linux 6.6-rc5 . 89.42 |========================================== Stock: Patched ............. 89.18 |========================================== In 1 cgroup: Patched ....... 89.16 |========================================== Timed Linux Kernel Compilation 6.1 Build: defconfig Seconds < Lower Is Better Stock: Linux 6.6-rc5 ....... 28.57 |========================================== In 1 cgroup: Linux 6.6-rc5 . 28.38 |========================================== Stock: Patched ............. 28.97 |=========================================== In 1 cgroup: Patched ....... 28.95 |=========================================== Timed Linux Kernel Compilation 6.1 Build: allmodconfig Seconds < Lower Is Better Stock: Linux 6.6-rc5 ....... 181.53 |======================================== In 1 cgroup: Linux 6.6-rc5 . 178.56 |======================================== Stock: Patched ............. 185.54 |========================================= In 1 cgroup: Patched ....... 188.45 |========================================== Timed LLVM Compilation 16.0 Build System: Ninja Seconds < Lower Is Better Stock: Linux 6.6-rc5 ....... 91.37 |=========================================== In 1 cgroup: Linux 6.6-rc5 . 87.82 |========================================= Stock: Patched ............. 91.22 |=========================================== In 1 cgroup: Patched ....... 91.54 |=========================================== Timed Node.js Compilation 19.8.1 Time To Compile Seconds < Lower Is Better Stock: Linux 6.6-rc5 ....... 91.05 |=========================================== In 1 cgroup: Linux 6.6-rc5 . 91.17 |=========================================== Stock: Patched ............. 91.44 |=========================================== In 1 cgroup: Patched ....... 91.12 |===========================================