Sun Studio 12 vs. GCC3 vs. GCC4 Benchmarks

Published on February 20, 2009
Written by Michael Larabel
Page 1 of 6
Discuss This Article

Earlier this month we published an article looking at the Linux versus OpenSolaris performance when using the new AMD Shanghai Opteron CPUs. Ubuntu Linux was faster than OpenSolaris 2008.11 in nearly all of the tests, but as mentioned in that article, OpenSolaris is still dependent upon GCC 3.4 where as Ubuntu and most other Linux distributions are now shipping with the newer and much-improved GCC 4 series. Following that article being published, Sun Microsystems had requested some compiler tests since they were confident the results would be different had their Sun Studio compiler been used. Well, in this article we now have some OpenSolaris benchmarks from the same AMD setup using GCC 3.4, GCC 4.0, and Sun Studio 12.

GCC 3.4.3 is available via the Image Packaging System in OpenSolaris 2008.1 while GCC 4.0.2 was installed through the BlastWave package repository. Sun Studio 12 (2008/10/07) was installed manually after downloading it from the Sun Microsystems web-site. Beyond the compiler changes, OpenSolaris 2008.11 was left in its stock configuration with the Solaris Nevada 101b package-set, X Server 1.3.0, NVIDIA 177.80 display driver, and using the ZFS file-system on the entire hard disk.

The hardware components once again consisted of two AMD Opteron 2384 (clocked at 2.70GHz) quad-core processors, a Tyan Thunder n3600M motherboard, 4GB of Corsair DDR2-667MHz memory, 160GB Seagate Serial ATA 2.0 hard drive, NVIDIA GeForce 9800GTX 512MB graphics card, and the display was a Samsung SyncMaster 305T 30-inch LCD.

The benchmarks we ran for this OpenSolaris compiler testing were LAME MP3 encoding, Ogg encoding, timed PHP compilation, GnuPG, GraphicsMagick, and SQLite. In the tests besides the timed compilation, the Phoronix Test Suite built all of the tests from source using the respective compiler and the resulting binaries were used for the testing process. All stock compiler flags for each package were used.

<< Previous Page
1
Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. The Cost Of Ubuntu Disk Encryption
  2. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  3. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  4. F2FS File-System Shows Regressions On Linux 3.10
Latest Linux News
  1. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  2. Handbrake 0.9.9 Supports OpenCL Offloading
  3. Freedreno Gallium3D Now Banging The Adreno A3XX
  4. Jolla Announces Their First Phone
  5. Mageia 3 Released, Still Using Legacy GRUB
  6. NetBSD 6.1 Brings In More Features
  7. Using Six Monitors With AMD's Open-Source Linux Driver
  8. Benchmarking The Intel P-State, CPUfreq Changes
  9. FreeBSD Still Working On Next-Gen Package Manager
  10. DNF Still Advancing As Experimental Yum For Fedora
  11. Logitech Begins Supporting Linux Users
Latest Forum Talk
  1. Mageia 3 Released, Still Using Legacy GRUB
  2. Jolla Announces Their First Phone
  3. Ubuntu To Look At Replacing Firefox With Chromium
  4. What Would You Like To See Next?
  5. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  6. FreeBSD Still Working On Next-Gen Package Manager
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite