Vijay Tatkar's Blog

All | Benchmarks | Business | Cloud Computing | General | Hardware | Linux/Unix | Performance | Software | Solaris | Sun | Sun Studio
« Previous day (Sep 25, 2006) | Main | Next day (Sep 27, 2006) »
20060926 Tuesday September 26, 2006

Performance Comparison: SunStudio vs. GCC on BYTE benchmark (Nbench)
I am often asked about performance differences between Sun Studio Compilers and GCC. And whereas with performance, a single answer never works across the board, I am attempting to put out as much comparative information as I can, to show some of the differences (and hopefully advantages over GCC) as I can.
I have announced previous Sun Studio based SPEC World Record numbers in postings here (like this World Record SPECfp number and this mention of SPEC CPU2006 World Records ), and about STREAM (as in here), but these were not comparative numbers (vs GCC), so this is an attempt to fill that gap.
The first attempt is to take BYTE magazine's BYTEmark benchmark programs that are freely available at this location.
The benchmarks are designed to expose the capabilities of a system's CPU, FPU and memory system and were derived directly, without algorithmic change, from the BYTE web site.
The tests used here were ported to Linux and are actually run on a Solaris 10 system . The HW used here was a SunFire X4100 box with a dual-core 2.4GHz Opteron chip in a standard configuration.
In the following tables, the numbers are all Ratios index against a baseline of AMD K6/233 with 512KB L2-cache, gcc2.7.2.3 and libc-5.4.38 system.
Being ratios, Higher number is Better and so also in the Ratio's column, a ratio > 1 means SunStudio is better than GCC

Test
GCC4.1
SunStudio11
Ratio(SS11/GCC)
Numeric Sort
12.68
10.63
0.84
String Sort
16.07
20.93
1.30
Bitfield
15.15
16.15
1.06
FP Emulator
14.46
31.77
2.19
Fourier
11.69
25.55
2.19
Assignment
37.59
25.11
0.67
Idea
18.52
32.87
1.77
Huffman
15.10
17.02
1.13
Neural Net
24.87
33.98
1.37
Lu Decomposition
45.55
50.20
1.10
Memory Index
20.78
20.397 0.98
Integer Index
15.09
20.844
1.39
FP Index
23.772
35.190
1.48

Numeric Sort, FP Emulator, Idea and Huffman are part of Integer Index
String Sort, Bitfield and Assignment make up the Memory Index
The other tests are part of FP Index

Flags used for each were:
Sun Studio11: -fast -xarch=amd64
GCC-O3 -s -Wall -fomit-frame-pointer -funroll-loops


Posted by tatkar ( Sep 26 2006, 02:36:44 PM PDT ) Permalink Comments [6]

Like this post?  del.icio.us  bookmark it   |   submit to dig digg.com digg it   |   slashdot slashdot it   |   technorati Technorati it

Who Am I?

Calendar

RSS Feeds

Search

Links

Presentations

Latest TechDays Presos

Navigation

Referers