Re: THP and general performance on a NUMA system, I'd like to point out that openSuSE Tumbleweed defaults transparent hugepages to "always" in their kernel. Given the benchmarks we've seen from various linux distros (summary: tumbleweed is nearly always ahead of the rest) in the other article, it certainly can't be a crippling factor when it comes to performance. (Although it would be interesting to see dedicated benchmarks for THB on vs off on the threadrippers, as well as SLAB vs SLUB)
I'm also no longer sure if disabling NUMA node migration really helps. I think it helped initially, but after testing the system for a while longer the results degraded again. It's possible that I only initially got good results because the system was already balanced at that point in time, but this property doesn't get maintained with NUMA balancing disabled? I need to repeat this test properly by enabling or disabling NUMA balancing from the boot process onwards and testing under similar circumstances, but I don't have the ability to easily do that right now.
I'm also no longer sure if disabling NUMA node migration really helps. I think it helped initially, but after testing the system for a while longer the results degraded again. It's possible that I only initially got good results because the system was already balanced at that point in time, but this property doesn't get maintained with NUMA balancing disabled? I need to repeat this test properly by enabling or disabling NUMA balancing from the boot process onwards and testing under similar circumstances, but I don't have the ability to easily do that right now.
Comment