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. ASUS AM1I-A: A Mini-ITX Board For Socketed Kabini APUs
  2. Mini-Box M350: A Simple, Affordable Mini-ITX Case
  3. Overclocking The AMD AM1 Athlon & Sempron APUs
  4. AMD Athlon 5350 / 5150 & Sempron 3850 / 2650
Latest Linux Articles
  1. Ubuntu 12.04.4 vs. 13.10 vs. 14.04 LTS Desktop Benchmarks
  2. AMD OpenCL Performance With AM1 Kabini APUs
  3. A Quick Look At GCC 4.9 vs. LLVM Clang 3.5
  4. Are AMD Athlon/Sempron APUs Fast Enough For Steam On Linux?
Latest Linux News
  1. The Improv ARM Board Still Isn't Shipping; Riding A Dead Horse?
  2. Debian To Maintain 6.0 Squeeze As An LTS Release
  3. Wasteland 2 Is Finally Released For Linux Gamers
  4. FreeBSD Advances For ARM, Bhyve, Clang
  5. Ubuntu 14.04 LTS "Trusty Tahr" Officially Released
  6. Ubuntu 12.04 LTS vs. 14.04 LTS Server Benchmarks
  7. QEMU 2.0 Released With ARM, x86 Enhancements
  8. Running The Unity 8 Preview Session On Ubuntu 14.04 LTS
  9. R600 Gallium3D Disables LLVM Back-End By Default
  10. Fedora 21 Gets GNOME 3.12, PHP 5.6, Mono 3.4
  11. Fedora Workstation Is Making Me Quite Excited
  12. Maynard: A Lightweight Wayland Desktop
Latest Forum Discussions
  1. The GNOME Foundation Is Running Short On Money
  2. Updated and Optimized Ubuntu Free Graphics Drivers
  3. Radeon 8000M problematic on Linux?
  4. Linux Kernel Developers Fed Up With Ridiculous Bugs In Systemd
  5. After Jack Keane, RuseSoft will briing Ankh 3 to Linux through Desura
  6. Suspected PHP Proxy Issue
  7. Change installation destination from home directory
  8. Bye bye BSD, Hello Linux: A Sys Admin's Story