STEP 1: Get the source here:
http://www.unix.com/source/bm.zip
or
http://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 new binary (if you don't want to compile a new one)... just go to the next step:
STEP 4: ./Run
STEP: 5: Please login to www.unix.com and post test results along with platform info to:
Included CPU info, speed, RAM, and host adapter and bus
info as well as any special compilation flags.
See TEMPLATE Below....
Thanks,
Neo (www.unix.com)
____________________________________________
Example:
CPU/Speed: Pentium 100
Ram: 32M EDO Ram
Motherboard: ASUS blah blah
Bus: 4 PCI, 4 ISA
Cache: 256K sync-burst
Controller: PCI - Adaptec 2940W ctrler
Disk: 1.08 Gig Fujitsu SCSI-III (Wide SCSI)
Load: 1 user, running pppd and httpd
Kernel: Linux 1.2.8
Kernel ELF?: yes
pgms: gcc 2.5.8 compiled;
options = -s -static -O9 -finline-functions -funroll-loops \
-fomit-frame-pointer
or:
pgms: pre-compiled binary
----------- cut here -----------------
Notes
CPU/Speed:
Ram:
Motherboard:
Bus:
Cache:
Controller:
Disk:
Load:
Kernel:
Kernel ELF?:
pgms:
--------- you should get results that look like ---------
==============================================================
BYTE UNIX Benchmarks (Version 3.11)
System -- Linux www 2.4.20 #2 Mon Mar 17 22:02:15 PST 2003 i686 unknown
Start Benchmark Run: Sat Sep 6 13:43:27 EDT 2003
1 interactive users.
Dhrystone 2 without register variables 3593034.9 lps (10 secs, 6 samples)
Dhrystone 2 using register variables 3568756.2 lps (10 secs, 6 samples)
Arithmetic Test (type = arithoh) 7550184.6 lps (10 secs, 6 samples)
Arithmetic Test (type = register) 351794.6 lps (10 secs, 6 samples)
Arithmetic Test (type = short) 340660.4 lps (10 secs, 6 samples)
Arithmetic Test (type = int) 360040.5 lps (10 secs, 6 samples)
Arithmetic Test (type = long) 363551.0 lps (10 secs, 6 samples)
Arithmetic Test (type = float) 731557.4 lps (10 secs, 6 samples)
Arithmetic Test (type = double) 730016.7 lps (10 secs, 6 samples)
System Call Overhead Test 935103.5 lps (10 secs, 6 samples)
Pipe Throughput Test 948968.2 lps (10 secs, 6 samples)
Pipe-based Context Switching Test 368525.3 lps (10 secs, 6 samples)
Process Creation Test 14861.1 lps (10 secs, 6 samples)
Execl Throughput Test 4196.5 lps (9 secs, 6 samples)
File Read (10 seconds) 2906887.0 KBps (10 secs, 6 samples)
File Write (10 seconds) 174839.0 KBps (10 secs, 6 samples)
File Copy (10 seconds) 28177.0 KBps (10 secs, 6 samples)
File Read (30 seconds) 3027515.0 KBps (30 secs, 6 samples)
File Write (30 seconds) 173984.0 KBps (30 secs, 6 samples)
File Copy (30 seconds) 12078.0 KBps (30 secs, 6 samples)
C Compiler Test 995.7 lpm (60 secs, 3 samples)
Shell scripts (1 concurrent) 4913.8 lpm (60 secs, 3 samples)
Shell scripts (2 concurrent) 2518.4 lpm (60 secs, 3 samples)
Shell scripts (4 concurrent) 1291.2 lpm (60 secs, 3 samples)
Shell scripts (8 concurrent) 652.8 lpm (60 secs, 3 samples)
Dc: sqrt(2) to 99 decimal places 174793.5 lpm (60 secs, 6 samples)
Recursion Test--Tower of Hanoi 57932.5 lps (10 secs, 6 samples)
INDEX VALUES
TEST BASELINE RESULT INDEX
Arithmetic Test (type = double) 2541.7 730016.7 287.2
Dhrystone 2 without register variables 22366.3 3593034.9 160.6
Execl Throughput Test 16.5 4196.5 254.3
File Copy (30 seconds) 179.0 12078.0 67.5
Pipe-based Context Switching Test 1318.5 368525.3 279.5
Shell scripts (8 concurrent) 4.0 652.8 163.2
=========
SUM of 6 items 1212.4
AVERAGE 202.1
See this post for an example benchmark posting: