GCC AMD Bulldozer Compiler Optimization Levels AMD FX-8150 Eight-Core Bulldozer processor testing various optimization levels of GCC compiler on Ubuntu Linux. -O0: Processor: AMD FX-8150 Eight-Core @ 3.60GHz (8 Cores), Motherboard: ASUS Crosshair V Formula, Chipset: AMD ATI RD890 bridge, Memory: 4096MB, Disk: 60GB OCZ VERTEX2, Graphics: NVIDIA GeForce 9600 GSO 512MB (399/399MHz), Audio: Realtek ALC889, Monitor: DELL P2210H, Network: Intel 82583V Gigabit Connection OS: Ubuntu 12.10, Kernel: 3.5.0-14-generic (x86_64), Desktop: Unity 6.4.0, Display Server: X Server 1.13.0, Display Driver: nouveau 1.0.2, OpenGL: 3.0 Mesa 8.1-devel Gallium 0.4, Compiler: GCC 4.7, File-System: ext4, Screen Resolution: 1920x1080 -O1: Processor: AMD FX-8150 Eight-Core @ 3.60GHz (8 Cores), Motherboard: ASUS Crosshair V Formula, Chipset: AMD ATI RD890 bridge, Memory: 4096MB, Disk: 60GB OCZ VERTEX2, Graphics: NVIDIA GeForce 9600 GSO 512MB (399/399MHz), Audio: Realtek ALC889, Monitor: DELL P2210H, Network: Intel 82583V Gigabit Connection OS: Ubuntu 12.10, Kernel: 3.5.0-14-generic (x86_64), Desktop: Unity 6.4.0, Display Server: X Server 1.13.0, Display Driver: nouveau 1.0.2, OpenGL: 3.0 Mesa 8.1-devel Gallium 0.4, Compiler: GCC 4.7, File-System: ext4, Screen Resolution: 1920x1080 -O2: Processor: AMD FX-8150 Eight-Core @ 3.60GHz (8 Cores), Motherboard: ASUS Crosshair V Formula, Chipset: AMD ATI RD890 bridge, Memory: 4096MB, Disk: 60GB OCZ VERTEX2, Graphics: NVIDIA GeForce 9600 GSO 512MB (399/399MHz), Audio: Realtek ALC889, Monitor: DELL P2210H, Network: Intel 82583V Gigabit Connection OS: Ubuntu 12.10, Kernel: 3.5.0-14-generic (x86_64), Desktop: Unity 6.4.0, Display Server: X Server 1.13.0, Display Driver: nouveau 1.0.2, OpenGL: 3.0 Mesa 8.1-devel Gallium 0.4, Compiler: GCC 4.7, File-System: ext4, Screen Resolution: 1920x1080 -O3: Processor: AMD FX-8150 Eight-Core @ 3.60GHz (8 Cores), Motherboard: ASUS Crosshair V Formula, Chipset: AMD ATI RD890 bridge, Memory: 4096MB, Disk: 60GB OCZ VERTEX2, Graphics: NVIDIA GeForce 9600 GSO 512MB (399/399MHz), Audio: Realtek ALC889, Monitor: DELL P2210H, Network: Intel 82583V Gigabit Connection OS: Ubuntu 12.10, Kernel: 3.5.0-14-generic (x86_64), Desktop: Unity 6.4.0, Display Server: X Server 1.13.0, Display Driver: nouveau 1.0.2, OpenGL: 3.0 Mesa 8.1-devel Gallium 0.4, Compiler: GCC 4.7, File-System: ext4, Screen Resolution: 1920x1080 -Os: Processor: AMD FX-8150 Eight-Core @ 3.60GHz (8 Cores), Motherboard: ASUS Crosshair V Formula, Chipset: AMD ATI RD890 bridge, Memory: 4096MB, Disk: 60GB OCZ VERTEX2, Graphics: NVIDIA GeForce 9600 GSO 512MB (399/399MHz), Audio: Realtek ALC889, Monitor: DELL P2210H, Network: Intel 82583V Gigabit Connection OS: Ubuntu 12.10, Kernel: 3.5.0-14-generic (x86_64), Desktop: Unity 6.4.0, Display Server: X Server 1.13.0, Display Driver: nouveau 1.0.2, OpenGL: 3.0 Mesa 8.1-devel Gallium 0.4, Compiler: GCC 4.7, File-System: ext4, Screen Resolution: 1920x1080 -Ofast: Processor: AMD FX-8150 Eight-Core @ 3.60GHz (8 Cores), Motherboard: ASUS Crosshair V Formula, Chipset: AMD ATI RD890 bridge, Memory: 4096MB, Disk: 60GB OCZ VERTEX2, Graphics: NVIDIA GeForce 9600 GSO 512MB (399/399MHz), Audio: Realtek ALC889, Monitor: DELL P2210H, Network: Intel 82583V Gigabit Connection OS: Ubuntu 12.10, Kernel: 3.5.0-14-generic (x86_64), Desktop: Unity 6.4.0, Display Server: X Server 1.13.0, Display Driver: nouveau 1.0.2, OpenGL: 3.0 Mesa 8.1-devel Gallium 0.4, Compiler: GCC 4.7, File-System: ext4, Screen Resolution: 1920x1080 GraphicsMagick 1.3.12 Operation: Blur Iterations Per Minute > Higher Is Better -O0 .... 64 |===================================== -O1 .... 97 |======================================================== -O2 .... 97 |======================================================== -O3 .... 112 |================================================================= -Os .... 82 |================================================ -Ofast . 109 |=============================================================== GraphicsMagick 1.3.12 Operation: Sharpen Iterations Per Minute > Higher Is Better -O0 .... 41 |============================ -O1 .... 64 |============================================ -O2 .... 65 |============================================= -O3 .... 64 |============================================ -Os .... 68 |=============================================== -Ofast . 95 |================================================================== GraphicsMagick 1.3.12 Operation: Resizing Iterations Per Minute > Higher Is Better -O0 .... 67 |================================== -O1 .... 128 |================================================================= -O2 .... 124 |=============================================================== -O3 .... 121 |============================================================= -Os .... 101 |=================================================== -Ofast . 122 |============================================================== GraphicsMagick 1.3.12 Operation: HWB Color Space Iterations Per Minute > Higher Is Better -O0 .... 81 |================================= -O1 .... 157 |================================================================= -O2 .... 158 |================================================================= -O3 .... 156 |================================================================ -Os .... 122 |================================================== -Ofast . 158 |================================================================= GraphicsMagick 1.3.12 Operation: Local Adaptive Thresholding Iterations Per Minute > Higher Is Better -O0 .... 31 |=============================== -O1 .... 67 |================================================================== -O2 .... 67 |================================================================== -O3 .... 67 |================================================================== -Os .... 62 |============================================================= -Ofast . 67 |================================================================== Himeno Benchmark 3.0 Poisson Pressure Solver MFLOPS > Higher Is Better -O0 .... 240.43 |===================== -O1 .... 410.08 |==================================== -O2 .... 588.70 |==================================================== -O3 .... 675.92 |=========================================================== -Os .... 540.10 |================================================ -Ofast . 704.76 |============================================================== Timed PHP Compilation 5.2.9 Time To Compile Seconds < Lower Is Better -O0 .... 14.22 |=========================== -O1 .... 22.10 |========================================== -O2 .... 29.85 |========================================================= -O3 .... 32.71 |=============================================================== -Os .... 24.83 |================================================ -Ofast . 32.91 |=============================================================== C-Ray 1.1 Total Time Seconds < Lower Is Better -O0 .... 76.23 |=============================================================== -O1 .... 53.78 |============================================ -O2 .... 46.57 |====================================== -O3 .... 36.38 |============================== -Os .... 72.89 |============================================================ -Ofast . 35.84 |============================== Smallpt 1.0 Global Illumination Renderer; 100 Samples Seconds < Lower Is Better -O0 .... 116 |================================================================= -O1 .... 36 |==================== -O2 .... 36 |==================== -O3 .... 32 |================== -Os .... 51 |============================= -Ofast . 30 |================= Open FMM Nero2D 2.0.2 Total Time Seconds < Lower Is Better -O0 .... 4513.59 |============================================================= -O1 .... 612.65 |======== -O2 .... 529.95 |======= -O3 .... 521.83 |======= -Os .... 1065.63 |============== -Ofast . 509.70 |======= PostgreSQL pgbench 8.4.11 TPC-B Transactions Per Second TPS > Higher Is Better -O0 . 1596.13 |=================================================== -O1 . 1920.03 |============================================================= -O2 . 2004.75 |================================================================ -O3 . 1989.01 |=============================================================== -Os . 1831.30 |==========================================================