Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 1997 23:20:19 +0300 (MSK)
From:      bag@sinbin.demos.su (Alex G. Bulushev)
To:        freebsd-smp@freebsd.org
Cc:        mishania@demos.su
Subject:   bytebench not correct for SMP kernel ?
Message-ID:  <199701312020.XAA18178@sinbin.demos.su>

next in thread | raw e-mail | index | archive | help
i run bytebench for nonSMP kernel, for SMP kernel(smp_active=0) and
for SMP kernel(smp_active=2) on the same hardware

fastes is nonSMP kernel, then SMP kernel(smp_active=0) and slowest
result for SMP kernel(smp_active=2)

some parameters decrease dramaticaly

					nosmp    smp      smp
						active=0 active=2

System Call Overhead Test         lps   68192.2  51738.2  38070.8
Pipe Throughput Test              lps   92324.9  68053.5  57780.3
Pipe-based Context Switching Test lps   40542.8  20177.0   8785.4
Process Creation Test             lps    3256.4   2739.2   1568.9
Execl Throughput Test             lps    1437.4   1206.6   1032.5
File Read  (10 seconds)           KBps 254626.0 190873.0 151645.0
File Read  (30 seconds)           KBps 255236.0 191890.0 152978.0
Dc: sqrt(2) to 99 decimal places  lpm    9533.5   8497.6   7406.6


is it bytebench bug? what bench tests SMP corectly?

  Alex.



  BYTE UNIX Benchmarks (Version 3.11)
  Asus P/I-P65UP5 with C-P6ND
  dual P6-200,  adaptec 3940W, 256 Mb RAM ECC

						       kernel/nosmp    kernel/smp       kernel/smp
								       smp_active=0     smp_active=2

Dhrystone 2 without register variables (10s, 6sampl)   445551.2 lps     448127.5 lps     448622.3 lps
Dhrystone 2 using register variables   (10s, 6sampl)   449567.0 lps     451046.9 lps     451203.7 lps
Arithmetic Test (type = arithoh)       (10s, 6sampl) 13243729.3 lps   13264989.4 lps   13268774.7 lps
Arithmetic Test (type = register)      (10s, 6sampl)    54531.7 lps      54611.8 lps      54642.7 lps
Arithmetic Test (type = short)         (10s, 6sampl)    33325.9 lps      33383.2 lps      33395.7 lps
Arithmetic Test (type = int)           (10s, 6sampl)    54532.6 lps      54614.9 lps      54620.3 lps
Arithmetic Test (type = long)          (10s, 6sampl)    54533.5 lps      54583.9 lps      54660.0 lps
Arithmetic Test (type = float)         (10s, 6sampl)    60761.6 lps      60870.3 lps      60918.7 lps
Arithmetic Test (type = double)        (10s, 6sampl)    60779.7 lps      60865.2 lps      60931.6 lps
System Call Overhead Test              (10s, 6sampl)    68192.2 lps      51738.2 lps      38070.8 lps
Pipe Throughput Test                   (10s, 6sampl)    92324.9 lps      68053.5 lps      57780.3 lps
Pipe-based Context Switching Test      (10s, 6sampl)    40542.8 lps      20177.0 lps       8785.4 lps
Process Creation Test                  (10s, 6sampl)     3256.4 lps       2739.2 lps       1568.9 lps
Execl Throughput Test                  ( 9s, 6sampl)     1437.4 lps       1206.6 lps       1032.5 lps
File Read  (10 seconds)                (10s, 6sampl)   254626.0 KBps    190873.0 KBps    151645.0 KBps
File Write (10 seconds)                (10s, 6sampl)     3800.0 KBps      3800.0 KBps      3800.0 KBps
File Copy  (10 seconds)                (10s, 6sampl)     3286.0 KBps      3286.0 KBps      3286.0 KBps
File Read  (30 seconds)                (30s, 6sampl)   255236.0 KBps    191890.0 KBps    152978.0 KBps
File Write (30 seconds)                (30s, 6sampl)     3600.0 KBps      3600.0 KBps      3600.0 KBps
File Copy  (30 seconds)                (30s, 6sampl)        1.0 KBps      3177.0 KBps      3236.0 KBps
C Compiler Test                        (60s, 3sampl)      169.9 lpm        177.5 lpm        169.3 lpm
Shell scripts (1 concurrent)           (60s, 3sampl)      270.3 lpm        293.9 lpm        264.0 lpm
Shell scripts (2 concurrent)           (60s, 3sampl)      149.0 lpm        170.6 lpm        150.3 lpm
Shell scripts (4 concurrent)           (60s, 3sampl)       80.3 lpm         94.3 lpm         83.0 lpm
Shell scripts (8 concurrent)           (60s, 3sampl)       40.3 lpm         40.0 lpm         42.0 lpm
Dc: sqrt(2) to 99 decimal places       (60s, 6sampl)     9533.5 lpm       8497.6 lpm       7406.6 lpm
Recursion Test--Tower of Hanoi         (10s, 6sampl)     5574.9 lps       5600.4 lps       5602.9 lps


		     INDEX VALUES
TEST                                                          INDEX            INDEX            INDEX

Arithmetic Test (type = double)                                23.9             23.9             24.0
Dhrystone 2 without register variables                         19.9             20.0             20.1
Execl Throughput Test                                          87.1             73.1             62.6
File Copy  (30 seconds)                                         0.0             17.7             18.1
Pipe-based Context Switching Test                              30.7             15.3              6.7
Shell scripts (8 concurrent)                                   10.1             10.0             10.5
							  =========        =========        =========
     SUM of  6 items                                          171.8            160.2            141.8
     AVERAGE                                                   28.6             26.7             23.6









Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701312020.XAA18178>