Building The Linux Kernel With LLVM's Clang Yields Comparable Performance

Written by Michael Larabel in Software on 30 May 2014 at 01:20 AM EDT. Page 3 of 3. 29 Comments.

With the CPU-bound tasks, the performance for the most part was close between the vanilla Linux 3.14.0 kernel built by GCC 4.8.2 and the LLVMLinux 3.14 kernel built by Clang 3.5. In a few tests there were very minor performance differences, but overall when the kernel was configured the same, the performance of these particular benchmarks were close with no immediate performance difference when building the Linux kernel with Clang as opposed to GCC.

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.


Related Articles
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.