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

GCC 4.6 Compiler Performance With AVX On Sandy Bridge

Michael Larabel

Published on 7 February 2011
Written by Michael Larabel
Page 2 of 6 - 16 Comments

When starting out with the PostgreSQL test, the results were quite shaky. GCC 4.4.5 was faster than GCC 4.3.5, but the database performance regressed when built by GCC 4.5.2 and dropped even further with GCC 4.6.0. When using the corei2 march/mtune flags for building the compiler and open-source Linux benchmarks via the Phoronix Test Suite, there was a definitive improvement over GCC 4.6.0 without the flags. However, when switching from the core2 to corei7 tuning, the performance actually dropped. When enabling the corei7-avx support, as should be for this Sandy Bridge CPU, the number of PostgreSQL transactions per second peaked for being on GCC 4.6 but still was not as fast as found in GCC 4.4.5 or GCC 4.5.2 Enabling the AVX floating-point math library support was of no benefit.

When running the Apache web-server, using the core2/corei7-avx options were of no benefit but actually led to a drop in the number of requests per second being handled. Enabling the AVX floating-point math support did improve the performance, but it still was behind that of a vanilla GCC 4.6.0 build or the numbers from GCC 4.3/4.4/4.5.

When using the respective GCC release to build the Apache web server, however, using the mtune and march optimizations led to a great decrease in the time required to build the open-source software. There was not, however, any build speed-up attributed to using the corei7/corei7-avx options for Apache but using just the core2 flag had squeezed as much as it could out of the system.

Latest Linux Hardware Reviews
  1. Trying The Configurable 45 Watt TDP With AMD's A10-7800 / A6-7400K
  2. Sumo's Omni Gets Reloaded
  3. AMD A10-7800 & A6-7400K APUs Run Great On Linux
  4. Radeon Gallium3D Is Running Increasingly Well Against AMD's Catalyst Driver
Latest Linux Articles
  1. Intel's Latest Linux Graphics Code Competes Against OS X 10.9
  2. Intel Sandy Bridge Gets A Surprise Boost From Linux 3.17
  3. Open-Source Radeon Graphics Have Some Improvements On Linux 3.17
  4. CPUFreq Scaling Tests With AMD's Kaveri On Linux 3.16
Latest Linux News
  1. Steam Now Supports VA-API For In-Home Game Streaming
  2. GNOME 3.14 Beta Released
  3. Mesa 10.3 Branched & RC1 Released, Mesa 10.4 On Master
  4. Intel Sandy Bridge Gains On Linux 3.17 Extend Beyond Graphics
  5. LinuxCon: What's Going On With Fedora.Next
  6. Canonical Joined The Khronos Group To Help Mir/Wayland Drivers
  7. EFL 1.11 Is A Big Milestone For Enlightenment Users
  8. DirectFB Updates GTK3 Support, Working Towards DirectFB 1.8
  9. Userptr Support Set For AMD Radeon GPUs In Linux 3.18
  10. NVIDIA Releases CUDA 6.5 As A Huge Update
Latest Forum Discussions
  1. American Citizens running AMOK for food stamps
  2. What Linux Distribution Should Be Benchmarked The Most?
  3. Microsoft vs. Campaign
  4. Systemd 216 Piles On More Features, Aims For New User-Space VT
  5. Btrfs Gets Talked Up, Googler Encourages You To Try Btrfs
  6. OSS radeon driver for A10-7850K (Kaveri)
  7. Updated and Optimized Ubuntu Free Graphics Drivers
  8. AMD Offers Mantle For OpenGL-Next, Pushes Mantle To Workstations