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);
/--------------------------------------------------------
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?
Location: Asia Pacific, Cyberspace, in the Dark Dystopia
Posts: 19,118
Thanks Given: 2,351
Thanked 3,359 Times in 1,878 Posts
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.)
I am trying to sort a file . The file looks like this:
DDFF 2 /ztpfrepos/pgr/load
DDFQ 2 /ztpfrepos/pgr/load
DDFX 2 /ztpfrepos/pgr/load
DDUA 2 /ztpfrepos/pgr/load
My command:
sort -k1 /home/c153507/Bin/OPL1.txt -o /home/c153507/Bin/OPL1.txt
The results are OK except for one line where... (4 Replies)
I seem to be somewhat baffled by the results of the -L option of the ls command on our new Linux system.
I have a symbolic link defined like the following:
ptmawpmfld.sqr as /u21/xxxx/m/moranp1/yyyy/fixpaths/tests20091218/awpmfld.sqr
When I issue the command ls -l ptmawpmfld.sqr, I see the... (2 Replies)
Here is my script:
#
# Capture the current directory.
export -p CurrentDir="`pwd`"
echo $CurrentDir
#
# Capture the new directory name in the form YYYYMMDD.
export -p DateDir="`date +"%Y%m%d"`"
echo $DateDir
#
# Store the desired target directory.
export -p... (6 Replies)
Hello,
I am using suse 10.1 and isql from unixodbc to connect to a MS SQL server. I got everything to work fine. What do I need to unload the results from the sql to a file? I attempted to put unload to in my sql statement but got a error. I don't see in the isql help where it has a option to... (0 Replies)
My system bench mark results
INDEX VALUES
TEST BASELINE RESULT INDEX
Arithmetic Test (type = double) 2541.7 876123.7 344.7
Dhrystone 2 without register variables 22366.3 5411602.3 ... (1 Reply)
I created two computers with identical hardware, and run the benchmark programs in both starting at the same exact time.
What makes no sense is that the computer that has the lower average index (121) finished the race a good 30 minutes ahead of the computer wich showed the higher avg index... (0 Replies)
STEP 1: Get the source here:
https://www.unix.com/source/bm.zip
or
https://www.unix.com/source/unix_linux_bench.tar.gz
STEP 2: unzip or untar and cd into the bm directory
STEP 3: make
(Note: there is a pre-compiled Linux binary in the distro, so Linux users don't have to make a... (0 Replies)
Hello everyone.
Does anyone know where to I could find published benchmarks for how a Linux box performs. It would be nice if I could find a comparison to the Windows OS.
Thanks,
Lance (2 Replies)