Running AMD EPYC 7773X Milan-X With Linux 5.18's Performance Improvements
Moving to Linux 5.18 did tend to show the best performance albeit for most cases just incrementally better performance though in some cases there were significant differences. In some cases there were also improvements present when using Linux 5.17.
Over the span of 64 different tests carried out, Linux 5.18 Git was indeed the fastest of the tested kernels on this AMD EPYC 7773X server. Overall switching to this bleeding-edge kernel code was about 4% faster than the stock Linux 5.15 kernel used by Ubuntu 22.04 LTS but in some cases like where particularly benefiting from the scheduler NUMA optimization there were much greater gains to enjoy. Again, this isn't anything specific to Milan-X but other AMD EPYC CPUs are also benefiting on Linux 5.18. So if you are really focused on maximum HPC performance with Milan-X, switching to a newer kernel may be something to consider. As shown as well, the AMD AOCC compiler is helping too on Milan-X as another area. But even with a stock kernel and compiler, AMD EPYC 7773X for heavy HPC workloads tends to already shoot well past the competition.
If you enjoyed this article consider joining Phoronix Premium to view this site ad-free, multi-page articles on a single page, and other benefits. PayPal or Stripe tips are also graciously accepted. Thanks for your support.