@gregkh AMD EPYC 9754 128-Core Processor [512 threads]
Cpufreq; Memory: Unknown; 773414 MiB
Compiler: gcc (Debian 15.2.0-4) 15.2.0
Linux compiled: 6.17.0 [/data/linux-6.17/]
Config; Environment: defconfig; CCACHE_DISABLE="1"
Build command: make vmlinux
Run 1 (-j 512): 22.44 seconds / 160.43 kernels/hour [P:9950%, 422 maj. pagefaults]
Run 2 (-j 512): 22.40 seconds / 160.71 kernels/hour [P:10000%, 135 maj. pagefaults]
Thanks Dell!
@gregkh I really like the idea of openbenchmarking.org / the #PhoronixTestSuite to compare multiple devices and sharing the results. The website is a bit clunky though, I wish more people were collaborating on this.
@gregkh
Processor: Blizzard-M2-Max [12 threads]
Compiler (target): x86_64-linux-gnu-gcc (Debian 15.2.0-4) 15.2.0
Linux compiled: 6.17.0 [/data/linux-6.17/]
Config; Environment: defconfig; ARCH="x86_64" CCACHE_DISABLE="1" CROSS_COMPILE="x86_64-linux-gnu-"
Run 1 (-j 12): 90.48 seconds / 39.79 kernels/hour [P:1023%, 54 maj. pagefaults]
Run 2 (-j 12): 90.39 seconds / 39.83 kernels/hour [P:1024%, 34 maj. pagefaults]
Laptop, x86-64 cross compile to keep it fair.
@gregkh fwiw the dual-screen laptop might be GPD, not GSD? at least i don't find one under S
thanks for sharing either way!!
@gregkh kernels/kWh I guess would be the way to take power into consideration.
@axboe @gregkh all, as while mentioning cores/ghz is fun, and then the amount of kernels it can build, the amount of mem (and speed of that) and the nvme/ssd/hdd even more change the numbers. And when mentioning numbers it can be good for those reading what components drive to a good amount of kernels builds (higher is less drinks fetched and consumed ;) -- though of course, what the config is matters too, it is about repeatability when debugging/dev
@jeroen @gregkh In my experience of compiling kernels, these days storage means very little unless it's really bad. The amd box I quoted has 32 NVMe drives in it, but ran on a single drive. If I changed that to tmpfs, I'd get basically the same numbers. Ditto on the laptop.
For kcbench, it uses the specific arch defconfig and it mentions compiler and other relevant details too.
@gregkh 4.70 kernels/hour on an RK3588 Radxa ROCK 5B running the stock Debian Trixie kernel 6.12.43, compiling kernel 6.17.0.
Not bad for something that costs USD 150 (or USD 110 for the 8GB version) and runs mainline.
@jeroen @gregkh even in the hdd days storage didn't matter much for kcbench, unless it was extremely slow, as already pointed out by @axboe .
But they mattered a bit for the first run, which is why its results are thrown away by default. But I recently wondered if that is still necessary these days. 🤔
@gregkh That was fun read! I'm missing RISC-V, and Alpine Linux machines though!
@gregkh my 2012 dell laptop: 1 kernel build per hour XD
@gregkh @kernellogger Happy to read the last sentence, now I'm feeling less weird for running sync once after installing/updating software and before reboot.
@SchwarzeLocke @gregkh now I'm wondering if you have trust issues or if I'm too naive 🤔 🧐 🥴
@gregkh @ncopa on my risc-v system:
fn@rockos-eswin:~/tmp$ bash kcbench
[NOTE] Downloading source of Linux 6.8; this might take a while...
Processor: eswin,eic770x [4 threads]
Cpufreq; Memory: ondemand [cpufreq-dt]; 9895 MiB
Linux running: 6.6.66-win2030 [riscv64]
Compiler: gcc (Debian 14.2.0-19rockos1) 14.2.0
Linux compiled: 6.8.0 [/home/fn/.cache/kcbench/linux-6.8]
Config; Environment: defconfig; CCACHE_DISABLE="1"
Build command: make vmlinux
Filling caches: This might take a while... Done
Run 1 (-j 4): 1321.32 seconds / 2.72 kernels/hour [P:382%, 91 maj. pagefaults]
Run 2 (-j 4): 1320.99 seconds / 2.73 kernels/hour [P:382%, 84 maj. pagefaults]
Run 3 (-j 6): 1363.77 seconds / 2.64 kernels/hour [P:382%, 185 maj. pagefaults]
Run 4 (-j 6): 1369.81 seconds / 2.63 kernels/hour [P:381%, 221 maj. pagefaults]