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. Intel Xeon E5-1680 v3 & E5-2687W v3 Compared To The Core i7 5960X On Linux
  2. Intel 120GB 530 Series SSD Linux Performance
  3. Btrfs/EXT4/XFS/F2FS RAID 0/1/5/6/10 Linux Benchmarks On Four SSDs
  4. AMD's Windows Catalyst Driver Remains Largely Faster Than Linux Drivers
Latest Linux Articles
  1. NVIDIA vs. Nouveau Drivers With Linux 3.18 + Mesa 10.4-devel
  2. Is The Open-Source NVIDIA Driver Fast Enough For Steam On Linux Gaming?
  3. Linux 3.18 File-System Performance Minimally Changed But Possible Regressions
  4. AMD Radeon Gallium3D Is Catching Up & Sometimes Beating Catalyst On Linux
Latest Linux News
  1. Linux 3.18-rc6 Released, A Worrisome Regression Remains
  2. HandBrake 0.10 Brings H.265 & VP8 Encoders
  3. Gngr: A New Web Browser Focused On Privacy
  4. Linux 3.18 Kernel: Not Much Change With Intel Haswell Performance
  5. More File-System Tests Of The Linux 3.18 Kernel
  6. Using NVIDIA's NVENC On Linux With FFmpeg
  7. There's Talk Again About An "Open To The Core" Ubuntu Laptop
  8. PowerVR SGX Driver Code Gets Leaked
  9. V2 Of KDBUS Published For Linux Kernel Review
  10. VirtualBox 4.3.20 Arrives, Still No Sign Of VirtualBox 4.4
Latest Forum Discussions
  1. PulseAudio 6.0 Is Coming & Other Linux Audio Plans For The Future
  2. Debian Developer Resigns From The Systemd Maintainership Team
  3. Roadmap to Catalyst 14.10 ?
  4. Updated and Optimized Ubuntu Free Graphics Drivers
  5. Cant get working Kaveri APU - A10-7850k
  6. Script for Fan Speed Control
  7. Debian Init System Coupling Vote Results
  8. The Slides Announcing The New "AMDGPU" Kernel Driver