This page covers the Kernel Compilation Benchmark, which is often used to provide a rough comparison of system performance. This page used to use a 2.4.19 default config to do this benchmark, this data still exists at KernelCompilationTimes2.4. The 2.4.19 kernel is a bit old now, and the 2.6 build process has changed a lot, so we've updated this to use 2.6.8 as the test Kernel.
A few things have changed - there is no longer any need to run make dep or make modules, so there will only be one time output. You will need to run make defconfig first, otherwise it will try to build a host-specific config for your computer.
It's still important to perform the compile as soon as you untar the Kernel source, to ensure the source is still in disk cache.
(In /usr/src, with the 2.6.8 source downloaded already)
tar jxf linux-2.6.8.tar.bz2 # or tar zxf linux-2.6.8.tar.gz cd linux-2.6.8 # use the default config make defconfig /usr/bin/time -p -o /tmp/dep.time make
If you have a machine with more than one processor, you can use make -j n .... where n is the number of cpus + 1
Name: deuterium
OS: Gentoo 2004.2 Linux 2.6.8
Hardware: P4 2.8C Northwood, 1024 MB DDR400 RAM, Intel D865GLC Motherboard
Notes: SMP + SMT enabled
/proc/cpuinfo:
processor : 1 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Pentium(R) 4 CPU 2.80GHz stepping : 9 cpu MHz : 2793.238 cache size : 512 KB
make
make -j3
Name: voodoo
OS: Debian Woody 3.0 2.4.26
Hardware: Dual Athlon 1800MP+ (1533MHz), 2048 MB RAM
Notes:
/proc/cpuinfo:
processor : 1 vendor_id : AuthenticAMD cpu family : 6 model : 6 model name : AMD Athlon(TM) MP 1800+ stepping : 2 cpu MHz : 1533.398 cache size : 256 KB
make
make -j3
Name: Wildfire
OS: Gentoo 2.6.7-gentoo-r11
Hardware: Dual Opteron 244, 2048MB Ram
/proc/cpuinfo
processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 5 model name : AMD Opteron(tm) Processor 244 stepping : 8 cpu MHz : 1792.241 cache size : 1024 KB
make
make -j 3
Name: kiakaha
OS: Debian Sarge 3.1 Linux 2.6.7
Hardware: Dual P3 1GHz, 1.5 GB RAM
Notes:
/proc/cpuinfo:
processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 8 model name : Pentium III (Coppermine) stepping : 10 cpu MHz : 999.703 cache size : 256 KB
make:
make -j4 (make -j3, for some reason, didn't parallelise at all)
Name: loki
OS: Gentoo 2004.2 linux 2.6.7
Hardware: AMD64 3000+ with 512MB RAM
/proc/cpuinfo:
processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 12 model name : AMD Athlon(tm) 64 Processor 3000+ stepping : 0 cpu MHz : 2009.804 cache size : 512 KB
make:
Name:
OS:
Hardware:
/proc/cpuinfo:
processor : vendor_id : cpu family : model : model name : stepping : cpu MHz : cache size :
make:
3 pages link to KernelCompilationTimes: