07-22-2005
Linux Benchmarks Makes No Sense
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 (167). The only difference here were the operating systems, which I am not naming yet because it may have commercial implications, and frankly I need to understand the results before jumping to conclusions. Maybe lower index means better system? That would be absurd.
Anybody has any idea about what is happenning?
TEST BASELINE RESULT INDEX
Arithmetic Test (type = double) 2541.7 1062680.6 418.1
Dhrystone 2 without register variables 22366.3 5043054.8 225.5
Execl Throughput Test 16.5 132.0 8.0
File Copy (30 seconds) 179.0 10549.0 58.9
Pipe-based Context Switching Test 1318.5 2091.5 1.6
Shell scripts (8 concurrent) 4.0 63.3 15.8
=========
SUM of 6 items 727.9
AVERAGE 121.3
TEST BASELINE RESULT INDEX
Arithmetic Test (type = double) 2541.7 1156065.7 454.8
Dhrystone 2 without register variables 22366.3 7300029.6 326.4
Execl Throughput Test 16.5 63.1 3.8
File Copy (30 seconds) 179.0 38201.0 213.4
Pipe-based Context Switching Test 1318.5 3060.1 2.3
Shell scripts (8 concurrent) 4.0 24.0 6.0
=========
SUM of 6 items 1006.8
AVERAGE 167.8
This User Gave Thanks to philip_38 For This Post:
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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)
Discussion started by: lcstephens
2 Replies
2. Linux Benchmarks
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)
Discussion started by: Neo
0 Replies
3. UNIX for Dummies Questions & Answers
I have 3 files in directory mydir named as follows, I run the sequence of commands shown below and I have questions at the result.
File names are:
ABC_GP0
ABC_GP0.ctl
ABC_GPX
Commands and results:
$ ls /mydir/ | grep *
<-- (q1) I get nothing - OK
$ ls /mydir/ | grep... (5 Replies)
Discussion started by: GNMIKE
5 Replies
4. Linux Benchmarks
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... (50 Replies)
Discussion started by: cpjain
50 Replies
5. Linux Benchmarks
FYI:
Here is the archive site for the original Linux benchmarks (1994 - 1996)
http://linux.silkroad.com/
Neo (3 Replies)
Discussion started by: Neo
3 Replies
6. Shell Programming and Scripting
Hi, I've been running code which very frequently calls books.csv. e.g:
grep -i horror books.csv > tempExcept, I'm trying to move away from using temporary files or frequently calling books.csv to improve efficiency. So I tried something like
bookfile=$(cat books.csv)
grep -i horror... (4 Replies)
Discussion started by: Quan
4 Replies
7. Shell Programming and Scripting
Hi,
I have written a small shellscript
Imagine dbalt.txt already existed...
"
....
touch report.txt
lynx -dump "http://site.com/index.htm" > site1.txt
lynx -dump "http://site.com/index2.htm" > site2.txt
grep -E 'Nummer: |EUR' site1.txt > preis1.txt
grep -E 'Nummer: |EUR' site2.txt >... (2 Replies)
Discussion started by: Blackbox
2 Replies
8. Programming
Okay so I'm making a simple text based game that branches into different scenarios. By branching I mean branching off into whole different files with that part of the game in it. I got tired of working on scenario 1 so I'm working on scenario 2. As I get started and try to test it, I get an error... (1 Reply)
Discussion started by: lemonoid
1 Replies
9. Shell Programming and Scripting
Okay so I'm making a simple text based game that branches into different scenarios. By branching I mean branching off into whole different files with that part of the game in it. I got tired of working on scenario 1 so I'm working on scenario 2. As I get started and try to test it, I get an... (3 Replies)
Discussion started by: lemonoid
3 Replies
LEARN ABOUT DEBIAN
benchmark::apps
Benchmark::Apps(3pm) User Contributed Perl Documentation Benchmark::Apps(3pm)
NAME
Benchmark::Apps - Simple interface to benchmark applications.
SYNOPSIS
This module provides a simple interface to benchmark applications (not necessarily Perl applications).
use Benchmark::Apps;
my $commands = {
cmd1 => 'run_command_1 with arguments',
cmd2 => 'run_command_2 with other arguments',
};
my $conf = { pretty_print=>1, iters=>5 };
Benchmark:Apps::run( $commands, $conf );
DESCRIPTION
This module can be used to perform simple benchmarks on programs. Basically, it can be used to benchmark any program that can be called
with a system call.
FUNCTIONS
run
This method is used to run benchmarks. It runs the commands described in the hash passed as argument. It returns an hash of the results
each command. A second hash reference can be passed to this method: a configuration hash reference. The values passed in this hash
override the default behaviour of the run method. The configuration options available at this moment are:
"pretty_print"
When enabled it will print to stdout, in a formatted way the results of the benchmarks as they finish running. This option should de
used when you want to run benchmarks and want to see the results progress as the tests run. You can disable it, so you can perform
automated benchmarks.
Options: true(1) or false(0)
Default: false(0)
"iters"
This is the number of iterations that each test will run.
Options: integer greater than 1
Default: 5
"args"
This is a reference to an anonymous function that will calculate the command argument based on the iteraction number.
Options: any function reference that returns a string
Default: empty function: always returns an empty string, which means no arguments will be given to the command
run
This method runs the commands described in the hash passed as argument. It returns an hash of the results and return codes for each
command.
pretty_print
This method is used to print the final result to STDOUT before returning from the "run" method.
time_this
This method is not meant to be used directly, although it can be useful. It receives a command line and executes it via system, taking
care of registering the elapsed time.
EXAMPLES
Check files in "examples/".
AUTHOR
Aberto Simoes (aka ambs), "<ambs at cpan.org>" Nuno Carvalho (aka smash), "<smash @ cpan.org>"
BUGS
Please report any bugs or feature requests to "bug-benchmark-apps at rt.cpan.org", or through the web interface at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Benchmark-Apps <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Benchmark-Apps>. I will be
notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Benchmark::Apps
You can also look for information at:
o RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Benchmark-Apps <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Benchmark-Apps>
o AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Benchmark-Apps <http://annocpan.org/dist/Benchmark-Apps>
o CPAN Ratings
http://cpanratings.perl.org/d/Benchmark-Apps <http://cpanratings.perl.org/d/Benchmark-Apps>
o Search CPAN
http://search.cpan.org/dist/Benchmark-Apps <http://search.cpan.org/dist/Benchmark-Apps>
COPYRIGHT & LICENSE
Copyright 2008 Aberto Simoes, Nuno Carvalho, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-01-15 Benchmark::Apps(3pm)