Building The Default x86_64 Linux Kernel In Just 16 Seconds
It used to be that building out the Linux kernel could easily take the time needed to enjoy a beverage or have a meal while now with the EPYC 7742 2P it's easy to build the Linux kernel in just 15~16 seconds! Up until the Rome testing I was never able to crack 20 seconds with any of the hardware at my disposal while now it's easy hitting 15 seconds. That is with a Linux x86_64 default "defconfig" build. As shown in the launch article, that easily beats the likes of a dual Intel Xeon Platinum 8280 and a big improvement as well over the Naples EPYC 7601 2P configuration.
That's with each server tested using an Intel Optane 900p 280GB NVMe SSD and maximum channels/frequency supported RAM and running Ubuntu 19.04 with the stock compiler. For fun on the weekend I intend to see how much lower I can get the kernel build time using a RAID setup as I/O appears to be the bottleneck at this point. Anyhow, 15~16 seconds for the Linux defconfig build is crazy.
If pulling up statistics from OpenBenchmarking.org with that same exact test profile version for building the kernel in the same manner and the same Linux 4.18 LTS sources, of 2,687 public sample results the average kernel build time is 125 seconds. That's over two minutes as the average kernel build time from mostly higher-end systems/servers. The EPYC 7742 2P accomplishes the same amount of work in just 16 seconds (or 15 seconds, sometimes) and is the fastest result I've found on OpenBenchmarking.org.
Obviously the Rome class processors do great in other compilation workloads as well with multiple jobs:
Compiling the complete GNU Compiler Collection can be done in just over 12 minutes.
Or the very common LLVM stack can be built in just 82 seconds while the dual Xeon Platinum 8280 came in at 106 seconds.
AMD's EPYC Rome processors can serve as an incredible build farm especially for any continuous integration workflows. Or if you are strapped for cash, open-source developers have even turned to using Ryzen 3000 series CPUs like with DragonFlyBSD.
Those wanting to see how long your system(s) take to build these same code-bases in a side-by-side comparison to these results can install the Phoronix Test Suite and run phoronix-test-suite benchmark 1908135-AS-ROMECOMPI06 for the fully-automated benchmark experience.
Some other interesting AMD EPYC 7742 Linux (and BSD) benchmarks will be up shortly.
Continuing to be impressed by @AMDServer #amdepychorizon #rome in #Linux benchmarks, have decided it's impressive enough to hang this wall art above my Bavarian maß and other beverage collection in the server room. pic.twitter.com/O6WiJ2AGTq
— Michael Larabel (@michaellarabel) August 13, 2019