1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

Building The Linux Kernel In 60 Seconds

Intel

Published on 11 December 2011 07:48 AM EST
Written by Michael Larabel in Intel
45 Comments

In less than one minute, it's now possible to build the Linux kernel from source on a desktop.

Besides finishing up the Phoronix Test Suite 3.6-Arendal release this weekend, on Saturday I began running some new Intel CPU benchmarks. In building the Linux 3.1 kernel for x86_64 in a default configuration (make defconfig), I've now managed to trim down the compile time to less than sixty seconds on a single-socket desktop system. Similar speeds can be achieved out of multi-socket servers and other configurations, but this is the first time I'm seeing such kernel build speeds out of a single processor -- the AMD FX-8150 Bulldozer doesn't come close.

What's the magic behind this? Unfortunately it's not due to some crazy new compiler optimizations for GCC (or LLVM/Clang would be more likely) or any magical change in the Linux kernel build infrastructure, but it's thanks to the Sandy Bridge Extreme Edition. The Intel Core i7 3960X Extreme Edition is one hell of a mighty processor.

Building The Linux Kernel In 60 Seconds

A full Linux review will be published in the next few days, but the 3960X a phenomenal six-core processor with Hyper Threading to provide a total of 12 threads. The CPU operates with a 3.3GHz base frequency, 3.9GHz Turbo Boost, 15MB of L3 cache, 256KB of L2 cache per core, and has a quad-channel DDR3 memory controller. This Sandy-E processor is even a measurable upgrade over the Core i7 990X "Gulftown" Extreme Edition CPU that was Intel's thousand-dollar CPU up until now. The Intel Core i7 3960X was launched last month, but due to being out of the country, I didn't have a chance to play with Sandy-E until now. Intel sent out the i7-3960X, their flagship Intel X79 motherboard, and a water cooling system to Phoronix for some Linux testing.

Building The Linux Kernel In 60 Seconds

Paired with the Intel Core i7 3960X was a OCZ Vertex 3 Serial ATA 3.0 solid-state drive, 16GB of RAM (quad-channel 4 x 4GB DDR3-1600MHz), and AMD Radeon HD 6950 Cayman graphics. On the software side I'm testing against an Ubuntu 12.04 LTS development snapshot with the Linux 3.2 kernel and GCC 4.6. In this configuration the Linux 3.1 kernel with its default config builds in just less than a minute (about 58 second average) -- that's without any overclocking!

Building The Linux Kernel In 60 Seconds

Stay tuned for more information in the coming days. The Core i7 3960X is a mighty impressive performer under Linux. Being able to build a default Linux kernel, Mesa / Gallium3D, and other large software stacks so quickly may also open up some new possibilities on the Phoronix Test Suite / OpenBenchmarking.org / Phoromatic side for more interesting automated bisecting efforts of performance and functional regressions and automatically finding performance optimizations and other auto-tuning tasks.

Building The Linux Kernel In 60 Seconds

While the Intel Core i7 3960X packs a hell of a punch, its TDP is only 130 Watts (5 Watts more than AMD's FX-8150 Bulldozer and the same thermal rating as the previous-generation Core i7 990X Gulftown), but its price-tag of $1050 USD will keep it out of the hands of most Linux desktop users.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. Intel Pentium G3258 On Linux
  2. SilverStone Precision PS10
  3. ASRock Z97 Extreme6
  4. Nouveau Re-Clocking Is Way Faster, Shows Much Progress For Open-Source NVIDIA
Latest Linux Articles
  1. KVM Benchmarks On Ubuntu 14.10
  2. X.Org Server 1.16 Officially Released With Terrific Features
  3. Ubuntu With Linux 3.16 Smashes OS X 10.9.4 On The MacBook Air
  4. Preview: Benchmarking CentOS 7.0 & Scientific Linux 7.0
Latest Linux News
  1. Libinput 0.5 Improves Pointer Acceleration, Adds A Configuration API
  2. QEMU 2.1.0-rc3 Has More Bug Fixes
  3. Linux 3.17 To Fix Up ASPM, Bring Other PCI Changes
  4. CPUFreq Ondemand Could Be Faster, Use Less Power With Linux 3.17
  5. Intel Adds BPTC Texture Compression To Their Mesa Driver
  6. The Linux Kernel Bang-Bang Thermal Governor Is Banging
  7. NVIDIA Releases K1-Powered Shield Tablet & Controller
  8. Xen Project Announces Mirage OS 2.0
  9. Canonical Community Team Changes Announced For Ubuntu
  10. Raspberry Pi B+ ARM Debian Benchmarks
Latest Forum Discussions
  1. Remote gui not accessible in Phoronix Test Suite 5.2
  2. AMD "Hawaii" Open-Source GPU Acceleration Still Not Working Right
  3. Open-Source Radeon Performance Boosted By Linux 3.16
  4. In Road To Qt, Audacious Switches From GTK3 Back To GTK2
  5. Debian + Steam + r600
  6. Next-Gen OpenGL To Be Announced Next Month
  7. Ubuntu With Linux 3.16 Smashes OS X 10.9.4 On The MacBook Air
  8. Updated and Optimized Ubuntu Free Graphics Drivers