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

Optimized Binaries Provide Great Benefits For Intel Haswell

Michael Larabel

Published on 15 June 2013
Written by Michael Larabel
Page 1 of 4 - 9 Comments

Utilizing the core-avx2 CPU optimizations offered by the GCC 4.8 compiler can provide real benefits for the Intel Core i7 4770K processor and other new "Haswell" CPUs. For some computational workloads, the new Haswell instruction set extensions can offer tremendous speed-ups compared to what's offered by the previous-generation Ivy Bridge CPUs.

With our source-based benchmarks to date of Haswell, we have been using the -march=native compiler flag that effectively means -march=core-avx2 but we haven't looked specifically at the benefits provided by Haswell CPUs introducing support for AVX2, FMA, BMI, and BMI2. This is also particularly interesting since on the Windows side, most of the benchmarking that happens at the other review sites is done using generic pre-compiled binaries rather than building from source with optimizations for a given architecture.

For those unfamiliar with the GCC x86/x86_64 optimization options, read the online GCC documentation. The new core-avx2 option means "Intel Core CPU with 64-bit extensions, MOVBE, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX, AVX2, AES, PCLMUL, FSGSBASE, RDRND, FMA, BMI, BMI2 and F16C instruction set support."

The other tested options were Nocona (the old Xeons), Core2 (the original Intel Core CPUs with SSE3 support), Corei7 (Ironlake), Corei7-avx (Sandy Bridge), and Core-avx-i (Ivy Bridge). Again, the GCC documentation explains what instruction sets are offered by each of these different Intel CPU models.

Results in full are on OpenBenchmarking.org in 1306150-PTS-INTELHAS05. The Core i7 4770K Haswell system was running Ubuntu 13.04 with the Linux 3.10 development kernel and GCC 4.8.1 was built from source. The various compiler options were set via the CFLAGS and CXXFLAGS environment variables along with passing -O3 for the most aggressive compiler optimizations.

<< Previous Page
1
Latest Linux Hardware Reviews
  1. Scythe Mugen MAX
  2. Intel Core i7 5960X Haswell-E On Linux
  3. Intel 80GB 530 Series M.2 SSD On Linux
  4. With A New Motherboard, The Core i7 5960X Haswell-E Lights Up
Latest Linux Articles
  1. 7-Way Linux Desktop Gaming Comparison On Ubuntu 14.10
  2. Intel P-State vs. CPUFreq Benchmarks On The i7-5960X
  3. RadeonSI GLAMOR Benchmarks With X.Org Server 1.16
  4. RadeonSI Gallium3D vs. Catalyst At 4K UHD On Linux
Latest Linux News
  1. Mesa Gets Closer To Having OpenGL 4.0 Tessellation Support
  2. Uselessd: A Stripped Down Version Of Systemd
  3. F2FS Tools Gain FSCK Support
  4. FreeBSD 10.1 Has The New VT Driver, Hardware Improvements
  5. AntiMicro 2.6 Yields Greater Compatibility For Gamepads On Linux
  6. OpenGL 3.3 / GLSL 3.30 Lands For Intel Sandy Bridge On Mesa
  7. AMD's RadeonSI Gallium3D Driver Sees Some Improvements
  8. Mesa 10.3 Released With The Latest Open-Source GPU Driver Improvements
  9. GNOME 3.13.92 Officially Released
  10. Wine 1.7.27 Is Still Working Towards Direct2D Support
Latest Forum Discussions
  1. X.Org Women Outreach Program Only Turns Up Two Applicants So Far
  2. New Group Calls For Boycotting Systemd
  3. SSD seems slow
  4. R. Tyler restarts work on FreeBSD launchd port, openlaunchd
  5. Can Linux kill a motherboard?
  6. Stop grabbing my keyboard :(
  7. Glamor now enabled in Debian radeonsi
  8. New stress testing utility for GPU's