The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > UNIX Standards and Benchmarks > UNIX & LINUX Benchmarks (Version 3.11) > Linux Benchmarks
Google UNIX.COM
Home Forums Register Rules & FAQ Members List Arcade Search Today's Posts Mark Forums Read


Linux Benchmarks Download software, run and post benchmarks here!


Other UNIX.COM Threads You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Original (Archive) Site for Linux Benchmarks Neo Linux Benchmarks 3 02-06-2007 05:38 AM
Linux Benchmarks Makes No Sense philip_38 Linux Benchmarks 0 07-22-2005 07:29 AM
Instructions for Linux Benchmarks Neo Linux Benchmarks 0 09-06-2003 04:48 PM
Linux Processing Benchmarks ? lcstephens UNIX for Advanced & Expert Users 2 07-28-2002 09:13 AM
Linux mail servers benchmarks (Qmail, Sendmail,Postfix) cipango News, Links, Events and Announcements 0 07-26-2002 10:30 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-09-2003
Registered User
 

Join Date: Dec 2003
Posts: 2
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Arithmetic tests needs to be updated for advanced compiler optimization

Hi,
I was trying to build Linux Benchmarks with latest Intel C++ Compiler.
When I used -ipo (inter-procedural optimization) option, arithmetic test (arith.c) failed on execution.

The problem is Intel compiler's advanced optimization option (-ipo) optimizes much more than expected and this results in elimination of some part of code.
/-------------------------------------------------
++iter;
/* the loop calls a function to insure that something is done
the results of the function are fed back in (just so they
they won't be thrown away. A loop with
unused assignments may get optimized out of existence */
result = dumb_stuff(result);
/--------------------------------------------------------

This part gets eliminated becuase of IPO.

Steps to reproduce:
$icc -o ./pgms/arithoh -DTIME -O3 -xW -ipo -static -unroll -Darithoh ./src/arith.c

$./pgms/arithoh 1
0 loops

and this results in divide by zero error.

Regards,
CP
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 12-09-2003
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 3,955
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Why are you using the -ipo compiler flag?

Neo
Reply With Quote
  #3 (permalink)  
Old 12-12-2003
Registered User
 

Join Date: Dec 2003
Posts: 2
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Hi Neo,
I have seen, in this forum, that developers have used advanaced gcc optimization options for benchmarking.
I just want to compare the performance of gcc and Intel compiler and thats why trying to use best available optimization options for Intel compiler i.e -ipo (PGO can also be used).

If this doesnt answer your question than please let me know why one should not be allowed to use whatever options available with a compiler for these benchmarks?

Regards,
CP
Reply With Quote
  #4 (permalink)  
Old 12-12-2003
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 3,955
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
This is a point that has been long debated.... i.e. should be benchmark be changed to reflect new compiler options or left as they are so they relate to all the benchmarks that were ran from the past.

I have always wanted to have the entire benchmark history/ tradition over time and have not been a fan of trying to optimize the marks with compiler flags that were not available in the past. The results of the marks will not be historically related to the beginning..... alpha-to-omega comparisons.


There have many many others who strongly dissagee and want to change them on the continuing basis. This 'tension' causes problems in the overall BM community, taking the fun out of it (and one of the reasons I stopped running the Linux BMs many years ago.)

Neo
Reply With Quote
  #5 (permalink)  
Old 12-29-2003
google's Avatar
Moderator
 

Join Date: Jul 2002
Location: Atlanta
Posts: 740
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
CPU/Speed: AMD Duron 900Mhz
Ram: 512 PC133
Motherboard: EliteGroup K7S5A
266 / 200 FSB
SiSŪ 735 System Chipset
5 PCI slots, 1 4X AGP slot, 1 AMR slot
Disk: 40 Gig Maxtor EIDE
Load: 1 user, running pppd and httpd
Kernel: Linux 2.4.20-6
Kernel ELF?: yes
pgms: gcc 2.5.8 compiled;
options
Code:
==============================================================
 
  BYTE UNIX Benchmarks (Version 3.11)
  System -- Linux Tarball 2.4.20-6 #1 Thu Feb 27 10:01:19 EST 2003 i686 athlon i386 GNU/Linux
  Start Benchmark Run: Mon Dec 29 17:04:25 EST 2003
   2 interactive users.
Dhrystone 2 without register variables   1738794.9 lps   (10 secs, 6 samples)
Dhrystone 2 using register variables     1847801.6 lps   (10 secs, 6 samples)
Arithmetic Test (type = arithoh)         3742724.2 lps   (10 secs, 6 samples)
Arithmetic Test (type = register)        166336.4 lps   (10 secs, 6 samples)
Arithmetic Test (type = short)           157037.3 lps   (10 secs, 6 samples)
Arithmetic Test (type = int)             166494.3 lps   (10 secs, 6 samples)
Arithmetic Test (type = long)            166528.3 lps   (10 secs, 6 samples)
Arithmetic Test (type = float)           335329.0 lps   (10 secs, 6 samples)
Arithmetic Test (type = double)          335727.1 lps   (10 secs, 6 samples)
System Call Overhead Test                487088.3 lps   (10 secs, 6 samples)
Pipe Throughput Test                     541380.4 lps   (10 secs, 6 samples)
Pipe-based Context Switching Test        185194.6 lps   (10 secs, 6 samples)
Process Creation Test                      4576.9 lps   (10 secs, 6 samples)
Execl Throughput Test                      1059.3 lps   (9 secs, 6 samples)
File Read  (10 seconds)                  1642657.0 KBps  (10 secs, 6 samples)
File Write (10 seconds)                   95026.0 KBps  (10 secs, 6 samples)
File Copy  (10 seconds)                   37314.0 KBps  (10 secs, 6 samples)
File Read  (30 seconds)                  1202209.0 KBps  (30 secs, 6 samples)
File Write (30 seconds)                   75369.0 KBps  (30 secs, 6 samples)
File Copy  (30 seconds)                   24758.0 KBps  (30 secs, 6 samples)
C Compiler Test                             215.9 lpm   (60 secs, 3 samples)
Shell scripts (1 concurrent)                324.7 lpm   (60 secs, 3 samples)
Shell scripts (2 concurrent)                155.0 lpm   (60 secs, 3 samples)
Shell scripts (4 concurrent)                 81.7 lpm   (60 secs, 3 samples)
Shell scripts (8 concurrent)                 42.0 lpm   (60 secs, 3 samples)
Dc: sqrt(2) to 99 decimal places          31901.3 lpm   (60 secs, 6 samples)
Recursion Test--Tower of Hanoi            19793.6 lps   (10 secs, 6 samples)
 
 
                     INDEX VALUES
TEST                                        BASELINE     RESULT      INDEX
 
Arithmetic Test (type = double)               2541.7   335727.1      132.1
Dhrystone 2 without register variables       22366.3  1738794.9       77.7
Execl Throughput Test                           16.5     1059.3       64.2
File Copy  (30 seconds)                        179.0    24758.0      138.3
Pipe-based Context Switching Test             1318.5   185194.6      140.5
Shell scripts (8 concurrent)                     4.0       42.0       10.5
                                                                 =========
     SUM of  6 items                                                 563.3
     AVERAGE                                                          93.9

Last edited by google : 12-29-2003 at 04:53 PM.
Reply With Quote
Google UNIX.COM
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 03:58 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger

Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102