tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[g.mcgarry%ieee.org@localhost: More Microbenchmarks]



----- Forwarded message from Gregory McGarry <g.mcgarry%ieee.org@localhost> 
-----

Subject: More Microbenchmarks
From: Gregory McGarry <g.mcgarry%ieee.org@localhost>
Date: Mon, 2 Jun 2008 18:09:14 -0700 (PDT)
To: ad%netbsd.org@localhost

Hi Andrew

I've tried posting these results to tech-kern a few times without success.  
Feel free to forward these results along.

The machine is a dual pentium pro, so only the latest netbsd version and the 
freebsd version are really running multiprocessor.  It would be interesting to 
discover where some of the performance losses have come from over the years...



                 L M B E N C H  3 . 0   S U M M A R Y
                 ------------------------------------
 (Alpha software, do not distribute)

Basic system parameters
------------------------------------------------------------------------------
Host                 OS Description              Mhz  tlb  cache  mem   scal
                                                     pages line   par   load
                                                           bytes  
--------- ------------- ----------------------- ---- ----- ----- ------ ----
netbsd1    NetBSD 1.5.3     i386-netbsdelf1.5.3  333    32    32 1.1200    1
netbsd16   NetBSD 1.6.2     i386-netbsdelf1.6.2  333    32    32 1.1100    1
netbsd2      NetBSD 2.0       i386-netbsdelf2.0  333    32    32 1.1200    1
netbsd3    NetBSD 3.0.3     i386-netbsdelf3.0.3  333    32    32 1.1100    1
netbsd4      NetBSD 4.0       i386-netbsdelf4.0  333    32    32 1.0300    1
netbsd4   NetBSD 4.99.6   i386-netbsdelf4.99.62  333    32    32 1.1000    1
freebsd7  FreeBSD 7.0-R         i386-freebsd7.0  331    65    16 1.1700    1

Processor, Processes - times in microseconds - smaller is better
------------------------------------------------------------------------------
Host                 OS  Mhz null null      open slct sig  sig  fork exec sh  
                             call  I/O stat clos TCP  inst hndl proc proc proc
--------- ------------- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
netbsd1    NetBSD 1.5.3  333 1.14 4.26 15.9 19.2 22.0 2.37 3.85 979. 4589 7322
netbsd16   NetBSD 1.6.2  333 1.05 4.24 14.5 23.1 26.4 2.31 4.38 1194 5771 9182
netbsd2      NetBSD 2.0  333 1.13 4.47 15.3 20.8 25.8 2.75 5.17 1241 4770 11.K
netbsd3    NetBSD 3.0.3  333 1.10 4.61 15.0 21.9 38.3 2.87 6.01 1058 4433 11.K
netbsd4      NetBSD 4.0  333 1.11 4.43 12.0 27.1 35.6 2.59 12.2 1133 5108 13.K
netbsd4   NetBSD 4.99.6  333 1.30 4.86 23.2 32.8 67.5 2.40 8.73 1266 6020 16.K
freebsd7  FreeBSD 7.0-R  331 1.49 3.90 48.8 68.2 70.5 2.93 16.2 2162 7831 23.K

Basic integer operations - times in nanoseconds - smaller is better
-------------------------------------------------------------------
Host                 OS  intgr intgr  intgr  intgr  intgr  
                          bit   add    mul    div    mod   
--------- ------------- ------ ------ ------ ------ ------ 
netbsd1    NetBSD 1.5.3 3.0100 1.5000   12.0  117.2  123.2
netbsd16   NetBSD 1.6.2 3.0100 1.5000   12.0  117.3  123.2
netbsd2      NetBSD 2.0 3.0100 1.5000   12.0  117.1  126.3
netbsd3    NetBSD 3.0.3 3.0100 1.5000   12.0  117.2  126.4
netbsd4      NetBSD 4.0 3.0100 1.5100   12.2  117.4  120.4
netbsd4   NetBSD 4.99.6 3.0100 1.5000   12.0  117.2  123.2
freebsd7  FreeBSD 7.0-R 3.0300 1.5200 1.4000  132.2  120.8

Basic uint64 operations - times in nanoseconds - smaller is better
------------------------------------------------------------------
Host                 OS int64  int64  int64  int64  int64  
                         bit    add    mul    div    mod   
--------- ------------- ------ ------ ------ ------ ------ 
netbsd1    NetBSD 1.5.3  9.720          36.8 1347.3 1745.3
netbsd16   NetBSD 1.6.2    10.          33.6  339.5  343.9
netbsd2      NetBSD 2.0    19.          32.3  300.5  317.3
netbsd3    NetBSD 3.0.3    19.          32.2  297.8  316.8
netbsd4      NetBSD 4.0  4.030          16.4  316.3  315.1
netbsd4   NetBSD 4.99.6    10.          33.1  339.8  343.6
freebsd7  FreeBSD 7.0-R  4.090        3.9700  312.6  325.3

Basic float operations - times in nanoseconds - smaller is better
-----------------------------------------------------------------
Host                 OS  float  float  float  float
                         add    mul    div    bogo
--------- ------------- ------ ------ ------ ------ 
netbsd1    NetBSD 1.5.3 9.0200   15.0   96.3   93.3
netbsd16   NetBSD 1.6.2 9.0200   15.0   96.4   93.3
netbsd2      NetBSD 2.0 9.0200   15.0   96.4   93.3
netbsd3    NetBSD 3.0.3 9.0200   15.0   96.4   93.4
netbsd4      NetBSD 4.0 9.0300   15.1   96.4   93.5
netbsd4   NetBSD 4.99.6 9.0100   15.0   96.3   93.2
freebsd7  FreeBSD 7.0-R 9.0600   15.2   96.7   93.7

Basic double operations - times in nanoseconds - smaller is better
------------------------------------------------------------------
Host                 OS  double double double double
                         add    mul    div    bogo
--------- ------------- ------  ------ ------ ------ 
netbsd1    NetBSD 1.5.3 9.0200   15.0   96.3   93.3
netbsd16   NetBSD 1.6.2 9.0200   15.0   96.4   93.3
netbsd2      NetBSD 2.0 9.0200   15.0   96.3   93.3
netbsd3    NetBSD 3.0.3 9.0200   15.0   96.4   93.7
netbsd4      NetBSD 4.0 9.0300   15.1   96.5   93.6
netbsd4   NetBSD 4.99.6 9.0100   15.0   96.5   93.2
freebsd7  FreeBSD 7.0-R 9.0600   15.2   96.8   94.0

Context switching - times in microseconds - smaller is better
-------------------------------------------------------------------------
Host                 OS  2p/0K 2p/16K 2p/64K 8p/16K 8p/64K 16p/16K 16p/64K
                         ctxsw  ctxsw  ctxsw ctxsw  ctxsw   ctxsw   ctxsw
--------- ------------- ------ ------ ------ ------ ------ ------- -------
netbsd1    NetBSD 1.5.3 9.9000   18.1   14.8   25.4  136.4    44.1   185.8
netbsd16   NetBSD 1.6.2 9.4700   20.4   13.5   30.3   92.6    45.9   190.1
netbsd2      NetBSD 2.0 8.2000   19.6   13.8   20.3   97.4    29.3   207.2
netbsd3    NetBSD 3.0.3 9.3800   20.9   15.2   32.0   96.3    42.6   208.0
netbsd4      NetBSD 4.0   10.1   19.3   15.4   29.0  121.9    34.4   263.7
netbsd4   NetBSD 4.99.6   11.0   23.4   17.4   34.1   43.0    42.0   139.6
freebsd7  FreeBSD 7.0-R   28.6   32.4   25.0   42.8   85.7    53.0   184.7

*Local* Communication latencies in microseconds - smaller is better
---------------------------------------------------------------------
Host                 OS 2p/0K  Pipe AF     UDP  RPC/   TCP  RPC/ TCP
                        ctxsw       UNIX         UDP         TCP conn
--------- ------------- ----- ----- ---- ----- ----- ----- ----- ----
netbsd1    NetBSD 1.5.3 9.900  32.4 32.1  77.2 142.3  95.8 172.1 445.
netbsd16   NetBSD 1.6.2 9.470  31.2 33.7  80.9       105.6       473.
netbsd2      NetBSD 2.0 8.200  28.7 33.1  81.4       109.5       399.
netbsd3    NetBSD 3.0.3 9.380  32.9 39.6  88.2       119.2       305.
netbsd4      NetBSD 4.0  10.1  35.3 44.2  95.4       138.2       471.
netbsd4   NetBSD 4.99.6  11.0  36.1 55.8 144.6       207.9       754.
freebsd7  FreeBSD 7.0-R  28.6  75.5 101. 217.4       259.2           

*Remote* Communication latencies in microseconds - smaller is better
---------------------------------------------------------------------
Host                 OS   UDP  RPC/  TCP   RPC/ TCP
                               UDP         TCP  conn
--------- ------------- ----- ----- ----- ----- ----
netbsd1    NetBSD 1.5.3                             
netbsd16   NetBSD 1.6.2                             
netbsd2      NetBSD 2.0                             
netbsd3    NetBSD 3.0.3                             
netbsd4      NetBSD 4.0                             
netbsd4   NetBSD 4.99.6                             
freebsd7  FreeBSD 7.0-R                             

File & VM system latencies in microseconds - smaller is better
-------------------------------------------------------------------------------
Host                 OS   0K File      10K File     Mmap    Prot   Page   100fd
                        Create Delete Create Delete Latency Fault  Fault  selct
--------- ------------- ------ ------ ------ ------ ------- ----- ------- -----
netbsd1    NetBSD 1.5.3   84.4   62.8  217.3   95.1   85.1K 1.185   10.5K  18.1
netbsd16   NetBSD 1.6.2 1390.8  461.3 1785.7 1353.2  1667.0 0.979  2620.1  25.5
netbsd2      NetBSD 2.0 1345.9  473.0 1694.9 1381.2  3307.0 0.982  2731.1  24.3
netbsd3    NetBSD 3.0.3 2083.3  545.0 2577.3 2288.3  2549.0 0.498  1327.9  24.4
netbsd4      NetBSD 4.0 1406.5  491.9 1785.7 1506.0  1668.0        4948.6  22.8
netbsd4   NetBSD 4.99.6 1492.5  521.1 1831.5 1572.3  2685.0        5103.6  63.4
freebsd7  FreeBSD 7.0-R  196.1  184.5  476.4  277.2   14.1K        6035.5  32.0

*Local* Communication bandwidths in MB/s - bigger is better
-----------------------------------------------------------------------------
Host                OS  Pipe AF    TCP  File   Mmap  Bcopy  Bcopy  Mem   Mem
                             UNIX      reread reread (libc) (hand) read write
--------- ------------- ---- ---- ---- ------ ------ ------ ------ ---- -----
netbsd1    NetBSD 1.5.3 80.8 82.4 24.7 9.4400  258.5   52.7   44.9 257.  61.7
netbsd16   NetBSD 1.6.2 206. 96.1 30.3   89.6  258.3   53.0   44.8 257.  61.1
netbsd2      NetBSD 2.0 195. 57.0 64.1   89.1  258.4   53.1   44.9 257.  61.2
netbsd3    NetBSD 3.0.3 192. 45.7 93.8   90.0  258.4   53.1   45.0 257.  61.2
netbsd4      NetBSD 4.0 190. 44.3 95.2   89.1  222.4   53.0   44.9 222.  61.1
netbsd4   NetBSD 4.99.6 187. 44.6 96.4   77.4  258.4   52.8   44.7 257.  60.9
freebsd7  FreeBSD 7.0-R 126. 38.7 26.9 7.1300   25.8 8.2600 1.2600 20.1 2.900

Memory latencies in nanoseconds - smaller is better
    (WARNING - may not be correct, check graphs)
------------------------------------------------------------------------------
Host                 OS   Mhz   L1 $   L2 $    Main mem    Rand mem    Guesses
--------- -------------   ---   ----   ----    --------    --------    -------
netbsd1    NetBSD 1.5.3   333 9.0140   51.1       216.0       287.4
netbsd16   NetBSD 1.6.2   333 9.0160   51.1       216.1       284.1
netbsd2      NetBSD 2.0   333 9.0150   51.1       216.1       286.4
netbsd3    NetBSD 3.0.3   333 9.0160   51.1       216.1       282.6
netbsd4      NetBSD 4.0   333 9.0180   51.1       216.2       282.4
netbsd4   NetBSD 4.99.6   333 9.0150   51.1       215.2       286.6
freebsd7  FreeBSD 7.0-R   331 9.0540   76.9      7597.9       309.8
 
-- Gregory McGarry <g.mcgarry%ieee.org@localhost>



      Get the name you always wanted with the new y7mail email address.
www.yahoo7.com.au/mail

----- End forwarded message -----


Home | Main Index | Thread Index | Old Index