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


Linux Benchmarks Download software, run and post benchmarks here!

More UNIX and Linux Forum Topics 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
 
LinkBack Thread Tools Display Modes
  #8 (permalink)  
Old 03-09-2004
Registered User
 

Join Date: Mar 2004
Posts: 5
Hi, I am having a problem trying to work out how to run this bechmark on my system. When I execute ./Run, it tells me Flavour of Unix is not known, and to define Flavour in Run script. But I don't know where to define it.

I am using Gentoo Linux, and a 2.4 kernel.

regards Greg
Reply With Quote
Forum Sponsor
  #9 (permalink)  
Old 03-09-2004
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,189
Did you recompile the binary?
Reply With Quote
  #10 (permalink)  
Old 03-10-2004
Registered User
 

Join Date: Mar 2004
Posts: 5
If I extract, and don't compile, and just type ./Run, I get this:

Wed Mar 10 19:34:43 EST 2004
~/unixbench/bm
gklofa@beast: pts/1: 15 files 277Kb -> ./Run
-bash: ./Run: Permission denied



Then, if I compile, this is the output of make:
Wed Mar 10 19:34:46 EST 2004
~/unixbench/bm
gklofa@beast: pts/1: 15 files 277Kb -> make
Checking distribution of files
./pgms exists
./src exists
./testdir exists
./doc exists
exists
./results exists
gcc -o ./pgms/arithoh -DTIME -O -Darithoh ./src/arith.c
gcc -o ./pgms/register -DTIME -O -Ddatum=register ./src/arith.c
gcc -o ./pgms/short -DTIME -O -Ddatum=short ./src/arith.c
gcc -o ./pgms/int -DTIME -O -Ddatum=int ./src/arith.c
gcc -o ./pgms/long -DTIME -O -Ddatum=long ./src/arith.c
gcc -o ./pgms/float -DTIME -O -Ddatum=float ./src/arith.c
gcc -o ./pgms/double -DTIME -O -Ddatum=double ./src/arith.c
gcc -o ./pgms/hanoi -DTIME -O ./src/hanoi.c
gcc -o ./pgms/fstime -DTIME -O -Dawk=1 ./src/fstime.c
src/fstime.c: In function `main':
src/fstime.c:86: warning: passing arg 2 of `signal' from incompatible pointer type
src/fstime.c: In function `w_test':
src/fstime.c:107: warning: passing arg 2 of `signal' from incompatible pointer type
src/fstime.c: In function `r_test':
src/fstime.c:145: warning: passing arg 2 of `signal' from incompatible pointer type
src/fstime.c: In function `c_test':
src/fstime.c:188: warning: passing arg 2 of `signal' from incompatible pointer type
gcc -o ./pgms/syscall -DTIME -O ./src/syscall.c
gcc -o ./pgms/context1 -DTIME -O ./src/context1.c
gcc -o ./pgms/pipe -DTIME -O ./src/pipe.c
gcc -o ./pgms/spawn -DTIME -O ./src/spawn.c
gcc -o ./pgms/execl -DTIME -O ./src/execl.c
In file included from src/execl.c:30:
src/big.c: In function `dummy':
src/big.c:268: warning: passing arg 2 of `signal' from incompatible pointer typesrc/big.c:269: warning: passing arg 2 of `signal' from incompatible pointer typesrc/big.c:350: warning: passing arg 2 of `signal' from incompatible pointer typesrc/big.c: In function `onalarm':
src/big.c:389: warning: passing arg 2 of `signal' from incompatible pointer typesrc/big.c: In function `getwork':
src/big.c:439: warning: passing arg 2 of `fprintf' from incompatible pointer type
/tmp/cccTBai1.o(.text+0x102d): In function `getwork':
: warning: the `gets' function is dangerous and should not be used.
cd ./src; gcc -c -DTIME -DHZ= -O dhry_1.c
cd ./src; gcc -c -DTIME -DHZ= -O dhry_2.c
gcc -o ./pgms/dhry2 -DTIME -O ./src/dhry_1.o ./src/dhry_2.o
cd ./src; rm -f dhry_1.o dhry_2.o
cd ./src; gcc -c -DTIME -DREG=register -DHZ= -O dhry_1.c
cd ./src; gcc -c -DTIME -DREG=register -DHZ= -O dhry_2.c
gcc -o ./pgms/dhry2reg -DTIME -O ./src/dhry_1.o ./src/dhry_2.o
cd ./src; rm -f dhry_1.o dhry_2.o
gcc -o ./pgms/looper -DTIME -O ./src/looper.c


And then when I type ./Run:
Wed Mar 10 19:34:54 EST 2004
~/unixbench/bm
gklofa@beast: pts/1: 15 files 277Kb -> ./Run
Flavor of UNIX is not known.
Please define FLAVOR in Run script





So using the existing binary, or re-compiling with make does not work.

Thanks
Greg
Reply With Quote
  #11 (permalink)  
Old 03-10-2004
Registered User
 

Join Date: Mar 2004
Posts: 3
Hi Greg,
nano -w Run

Find the line that says FLAVOR=""
change it to FLAVOR="Gentoo Linux"

Happy Benchmarking

mAAddog

P.S See you in the gentoo forums soon :-)
Reply With Quote
  #12 (permalink)  
Old 03-10-2004
Registered User
 

Join Date: Mar 2004
Posts: 3
Hi Guys,
I got the benchmark to run, no worries there.
It runs through all it's tests, then ...

No Result :-)

Here is an example

Quote:

BYTE UNIX Benchmarks (Version 3.11)
System -- Linux maaddog 2.6.3 #3 SMP Sun Mar 7 20:59:25 EST 2004 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz GenuineIntel GNU/Linux
Start Benchmark Run: Wed Mar 10 21:30:34 UTC 2004
2 interactive users.
Dhrystone 2 without register variables no measured results
Dhrystone 2 using register variables no measured results
Arithmetic Test (type = arithoh) no measured results
Arithmetic Test (type = register) no measured results
Arithmetic Test (type = short) no measured results
Arithmetic Test (type = int) no measured results
Arithmetic Test (type = long) no measured results
Arithmetic Test (type = float) no measured results
Arithmetic Test (type = double) no measured results
System Call Overhead Test no measured results
Any ideas ??

thanks
mAAddog
Reply With Quote
  #13 (permalink)  
Old 03-10-2004
Registered User
 

Join Date: Mar 2004
Posts: 3
Hi Guys,
Found the problem, in the Run file it states that you must have /usr/bin/time installed.
For gentoo users you need to emerge sys-apps/time.

Another problem too, possibly a bug ?

My System gets a low score on one of the copy tests, i think that the score is incorrect.

I will run it again tommorow when i get time. If it works i will post back properly in the required format.

Quote:

BYTE UNIX Benchmarks (Version 3.11)
System -- Linux maaddog 2.6.3 #3 SMP Sun Mar 7 20:59:25 EST 2004 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz GenuineIntel GNU/Linux
Start Benchmark Run: Wed Mar 10 10:25:29 UTC 2004
1 interactive users.
Dhrystone 2 without register variables 5495217.1 lps (10 secs, 6 samples)
Dhrystone 2 using register variables 5485134.6 lps (10 secs, 6 samples)
Arithmetic Test (type = arithoh) 17541160.0 lps (10 secs, 6 samples)
Arithmetic Test (type = register) 749610.1 lps (10 secs, 6 samples)
Arithmetic Test (type = short) 786358.0 lps (10 secs, 6 samples)
Arithmetic Test (type = int) 748894.9 lps (10 secs, 6 samples)
Arithmetic Test (type = long) 749621.5 lps (10 secs, 6 samples)
Arithmetic Test (type = float) 725764.7 lps (10 secs, 6 samples)
Arithmetic Test (type = double) 724527.9 lps (10 secs, 6 samples)
System Call Overhead Test 459896.1 lps (10 secs, 6 samples)
Pipe Throughput Test 635324.4 lps (10 secs, 6 samples)
Pipe-based Context Switching Test 149273.9 lps (10 secs, 6 samples)
Process Creation Test 9414.5 lps (10 secs, 6 samples)
Execl Throughput Test 3140.8 lps (9 secs, 6 samples)
File Read (10 seconds) 2228646.0 KBps (10 secs, 6 samples)
File Write (10 seconds) 581963.0 KBps (10 secs, 6 samples)
File Copy (10 seconds) 85198.0 KBps (10 secs, 6 samples)
File Read (30 seconds) 2246731.0 KBps (30 secs, 6 samples)
File Write (30 seconds) 572433.0 KBps (30 secs, 6 samples)
File Copy (30 seconds) 41.0 KBps (30 secs, 6 samples)
C Compiler Test 1250.9 lpm (60 secs, 3 samples)
Shell scripts (1 concurrent) 4995.7 lpm (60 secs, 3 samples)
Shell scripts (2 concurrent) 3123.7 lpm (60 secs, 3 samples)
Shell scripts (4 concurrent) 1642.7 lpm (60 secs, 3 samples)
Shell scripts (8 concurrent) 845.7 lpm (60 secs, 3 samples)
Dc: sqrt(2) to 99 decimal places 127645.8 lpm (60 secs, 6 samples)
Recursion Test--Tower of Hanoi 88970.9 lps (10 secs, 6 samples)


INDEX VALUES
TEST BASELINE RESULT INDEX

Arithmetic Test (type = double) 2541.7 724527.9 285.1
Dhrystone 2 without register variables 22366.3 5495217.1 245.7
Execl Throughput Test 16.5 3140.8 190.4
File Copy (30 seconds) 179.0 41.0 0.2
Pipe-based Context Switching Test 1318.5 149273.9 113.2
Shell scripts (8 concurrent) 4.0 845.7 211.4
=========
SUM of 6 items 1046.0
AVERAGE 174.3
Thanks
mAAddog
Reply With Quote
  #14 (permalink)  
Old 03-10-2004
Registered User
 

Join Date: Mar 2004
Posts: 5
Thanks mAAddog,
I should have thought to post this problem on your orriginal post.
Also, I can't believe I missed that line! I read almost all the rest of the file, and there it is up the top, second line.

Will post up my results soon, just in the middle of compiling the latest BMG gnome 2.6 beta.

Thanks Greg
Reply With Quote
Google UNIX.COM
Reply

Tags
linux, ubuntu

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:24 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 Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0