[LWN Logo]
[LWN.net]
From:	 jmjones@jmjones.com
To:	 linux-security-module@wirex.com
Subject: LSM Benchmark Results - lsm-2001_05_04-2.4.4.patch
Date:	 Mon, 7 May 2001 19:28:32 -0400 (EDT)


What follows are the summaries generated by lmbench on two systems:

An AMD K6-2/500 and an Intel Pentium I 100mhz.  

results for *.lsm are with the patch, *.orig are without.  

Wanna help?  I'm (we're) looking for people willing to provide dual boot
systems for ORIG and LSM versions of 2.4.4.  Pentium III, Pentium 4,
Athlon, much desired.  Non-Intel-Compatible platforms DEFINITELY needed.
If you're interested, email jmjones@lsm.antisoft.com.

Raw data and benchmark system specifications will be available within
24 hours at 

http://lsm.antisoft.com/benchmarks/


Thanks,
J. Melvin Jones

P.S. -- Flame retardant jockies at the ready... let me know what I should
do differently to make these numbers more useful.

Editorial Comment: Ain't too shabby, so far.

--------

cd results && make summary percent 2>/dev/null | more
make[1]: Entering directory `/usr/src/LMbench/results'

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

Basic system parameters
----------------------------------------------------
Host                 OS Description              Mhz
                                                    
--------- ------------- ----------------------- ----
K6-2.lsm  Linux 2.4.4-l       i586-pc-linux-gnu  501
K6-2.lsm  Linux 2.4.4-l       i586-pc-linux-gnu  501
K6-2.lsm  Linux 2.4.4-l       i586-pc-linux-gnu  501
K6-2.lsm  Linux 2.4.4-l       i586-pc-linux-gnu  501
K6-2.lsm  Linux 2.4.4-l       i586-pc-linux-gnu  501
K6-2.orig   Linux 2.4.4       i586-pc-linux-gnu  501
K6-2.orig   Linux 2.4.4       i586-pc-linux-gnu  501
K6-2.orig   Linux 2.4.4       i586-pc-linux-gnu  501
K6-2.orig   Linux 2.4.4       i586-pc-linux-gnu  501
K6-2.orig   Linux 2.4.4       i586-pc-linux-gnu  501

Processor, Processes - times in microseconds - smaller is better
----------------------------------------------------------------
Host                 OS  Mhz null null      open selct sig  sig  fork exec sh  
                             call  I/O stat clos TCP   inst hndl proc proc proc
--------- ------------- ---- ---- ---- ---- ---- ----- ---- ---- ---- ---- ----
K6-2.lsm  Linux 2.4.4-l  501 0.65 1.49   11   18    94 1.54 4.13  738 3049  10K
K6-2.lsm  Linux 2.4.4-l  501 0.65 1.49   11   18    96 1.54 4.16  679 2946  10K
K6-2.lsm  Linux 2.4.4-l  501 0.64 1.49   11   18    97 1.54 4.13  683 2909  10K
K6-2.lsm  Linux 2.4.4-l  501 0.64 1.48   11   18    96 1.54 4.14  727 2954  10K
K6-2.lsm  Linux 2.4.4-l  501 0.65 1.49   11   18    96 1.54 4.13  748 3026  10K
K6-2.orig   Linux 2.4.4  501 0.65 1.32   11   17    96 1.51 4.12  693 2900  10K
K6-2.orig   Linux 2.4.4  501 0.65 1.31   11   16    95 1.52 4.13  678 2868  10K
K6-2.orig   Linux 2.4.4  501 0.65 1.32   11   17    96 1.51 4.33  724 3037  10K
K6-2.orig   Linux 2.4.4  501 0.64 1.33   11   16    96 1.53 4.12  688 2953  10K
K6-2.orig   Linux 2.4.4  501 0.65 1.31   11   17    94 1.51 4.15  735 3096  10K

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
--------- ------------- ----- ------ ------ ------ ------ ------- -------
K6-2.lsm  Linux 2.4.4-l 2.940     16    115     43    172      47     203
K6-2.lsm  Linux 2.4.4-l 4.940     15    109     36    189      50     198
K6-2.lsm  Linux 2.4.4-l 3.580     16    112     38    161      49     203
K6-2.lsm  Linux 2.4.4-l 3.500     15    108     41    186      47     203
K6-2.lsm  Linux 2.4.4-l 3.950     15    117     34    178      49     200
K6-2.orig   Linux 2.4.4 4.120     15    107     39    161      47     205
K6-2.orig   Linux 2.4.4 3.930     16    108     43    189      48     200
K6-2.orig   Linux 2.4.4 3.570     15    155     36    183      49     204
K6-2.orig   Linux 2.4.4 3.540     17    106     37    176      45     202
K6-2.orig   Linux 2.4.4 4.310     16    108     42    157      44     199

*Local* Communication latencies in microseconds - smaller is better
-------------------------------------------------------------------
Host                 OS 2p/0K  Pipe AF     UDP  RPC/   TCP  RPC/ TCP
                        ctxsw       UNIX         UDP         TCP conn
--------- ------------- ----- ----- ---- ----- ----- ----- ----- ----
K6-2.lsm  Linux 2.4.4-l 2.940    19   34    62   137    81   195  319
K6-2.lsm  Linux 2.4.4-l 4.940    18   34    55   136    78   202  335
K6-2.lsm  Linux 2.4.4-l 3.580    21   29    59   137    77   198  505
K6-2.lsm  Linux 2.4.4-l 3.500    20   30    59   137    82   173  371
K6-2.lsm  Linux 2.4.4-l 3.950    19   38    54   137    75   174  327
K6-2.orig   Linux 2.4.4 4.120    18   36    64   146    86   179 1.5M
K6-2.orig   Linux 2.4.4 3.930    19   35    65   149    85   213 1.5M
K6-2.orig   Linux 2.4.4 3.570    20   41    64   146    88   185 1.5M
K6-2.orig   Linux 2.4.4 3.540    21   34    63   142    88   212  492
K6-2.orig   Linux 2.4.4 4.310    18   37    62   139    82   172  433

File & VM system latencies in microseconds - smaller is better
--------------------------------------------------------------
Host                 OS   0K File      10K File      Mmap    Prot    Page	
                        Create Delete Create Delete  Latency Fault   Fault 
--------- ------------- ------ ------ ------ ------  ------- -----   ----- 
K6-2.lsm  Linux 2.4.4-l     12 2.3198     33 6.1384      519 1.459 7.00000
K6-2.lsm  Linux 2.4.4-l     12 2.3134     33 6.0325      527 1.443 8.00000
K6-2.lsm  Linux 2.4.4-l     12 2.3337     33 6.1463      521 1.437 8.00000
K6-2.lsm  Linux 2.4.4-l     12 2.3111     33 6.0617      503 1.456 7.00000
K6-2.lsm  Linux 2.4.4-l     12 2.3151     33 6.0551      530 1.620 8.00000
K6-2.orig   Linux 2.4.4     11 2.2855     32 5.8545      505 1.684 7.00000
K6-2.orig   Linux 2.4.4     11 2.2709     32 5.8035      500 1.438 7.00000
K6-2.orig   Linux 2.4.4     11 2.2584     32 5.7564      501 1.458 8.00000
K6-2.orig   Linux 2.4.4     11 2.2585     33 5.7554      505 1.464 8.00000
K6-2.orig   Linux 2.4.4     11 2.2562     32 5.7787      502 1.427 8.00000

*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
--------- ------------- ---- ---- ---- ------ ------ ------ ------ ---- -----
K6-2.lsm  Linux 2.4.4-l   81   50   49     89    294     67     67  294    94
K6-2.lsm  Linux 2.4.4-l   79   65   48     88    294     67     67  294    94
K6-2.lsm  Linux 2.4.4-l   83   50   47     88    294     67     67  294    94
K6-2.lsm  Linux 2.4.4-l   82   58   44     89    294     67     67  294    94
K6-2.lsm  Linux 2.4.4-l   86   56   44     74    294     67     67  294    95
K6-2.orig   Linux 2.4.4   72   55   47     89    294     67     67  294    95
K6-2.orig   Linux 2.4.4   80   55   47     81    294     67     67  294    94
K6-2.orig   Linux 2.4.4   90   62   44     89    294     67     67  294    95
K6-2.orig   Linux 2.4.4   68   53   48     82    294     67     67  294    95
K6-2.orig   Linux 2.4.4   79   59   42     88    294     67     67  294    94

Memory latencies in nanoseconds - smaller is better
    (WARNING - may not be correct, check graphs)
---------------------------------------------------
Host                 OS   Mhz  L1 $   L2 $    Main mem    Guesses
--------- -------------  ---- ----- ------    --------    -------
K6-2.lsm  Linux 2.4.4-l   501 4.122    122    209
K6-2.lsm  Linux 2.4.4-l   501 4.121    116    209
K6-2.lsm  Linux 2.4.4-l   501 4.121    122    209
K6-2.lsm  Linux 2.4.4-l   501 4.121    134    209
K6-2.lsm  Linux 2.4.4-l   501 4.122    122    209
K6-2.orig   Linux 2.4.4   501 4.121    122    209
K6-2.orig   Linux 2.4.4   501 4.121    122    209
K6-2.orig   Linux 2.4.4   501 4.121    110    209
K6-2.orig   Linux 2.4.4   501 4.121    122    210
K6-2.orig   Linux 2.4.4   501 4.121    116    209

--------

cd results && make summary percent 2>/dev/null | more
make[1]: Entering directory `/usr/src/LMbench/results'

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

Basic system parameters
----------------------------------------------------
Host                 OS Description              Mhz
                                                    
--------- ------------- ----------------------- ----
P100.lsm  Linux 2.4.4-l       i586-pc-linux-gnu   99
P100.lsm  Linux 2.4.4-l       i586-pc-linux-gnu   99
P100.lsm  Linux 2.4.4-l       i586-pc-linux-gnu   99
P100.lsm  Linux 2.4.4-l       i586-pc-linux-gnu   99
P100.lsm  Linux 2.4.4-l       i586-pc-linux-gnu   99
P100.orig   Linux 2.4.4       i586-pc-linux-gnu   99
P100.orig   Linux 2.4.4       i586-pc-linux-gnu   99
P100.orig   Linux 2.4.4       i586-pc-linux-gnu   99
P100.orig   Linux 2.4.4       i586-pc-linux-gnu   99
P100.orig   Linux 2.4.4       i586-pc-linux-gnu   99

Processor, Processes - times in microseconds - smaller is better
----------------------------------------------------------------
Host                 OS  Mhz null null      open selct sig  sig  fork exec sh  
                             call  I/O stat clos TCP   inst hndl proc proc proc
--------- ------------- ---- ---- ---- ---- ---- ----- ---- ---- ---- ---- ----
P100.lsm  Linux 2.4.4-l   99 2.23 5.06   70  114   584 7.60   27 3230  15K  64K
P100.lsm  Linux 2.4.4-l   99 2.23 5.36   74  113   585 7.60   27 3206  15K  64K
P100.lsm  Linux 2.4.4-l   99 2.21 5.12   72  114   589 7.60   27 3237  15K  64K
P100.lsm  Linux 2.4.4-l   99 2.23 5.41   74  111   584 7.60   27 3210  15K  64K
P100.lsm  Linux 2.4.4-l   99 2.21 5.03   72  114   599 7.87   27 3205  15K  64K
P100.orig   Linux 2.4.4   99 2.21 4.96   70  102   464 7.29   23 3201  15K  64K
P100.orig   Linux 2.4.4   99 2.23 4.90   73  101   388 7.29   22 3190  15K  63K
P100.orig   Linux 2.4.4   99 2.21 4.94   70   99   388 7.58   23 3205  15K  63K
P100.orig   Linux 2.4.4   99 2.22 4.90   71   99   389 7.29   22 3195  15K  63K
P100.orig   Linux 2.4.4   99 2.23 4.93   72  101   388 7.59   22 3181  15K  64K

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
--------- ------------- ----- ------ ------ ------ ------ ------- -------
P100.lsm  Linux 2.4.4-l    37    291           298            300        
P100.lsm  Linux 2.4.4-l    40    298           297            298        
P100.lsm  Linux 2.4.4-l    46    289           297            301        
P100.lsm  Linux 2.4.4-l    37    289           301            298        
P100.lsm  Linux 2.4.4-l    41    302           297            298        
P100.orig   Linux 2.4.4    27    285           282            284        
P100.orig   Linux 2.4.4    29    283           281            282        
P100.orig   Linux 2.4.4    28    276           281            282        
P100.orig   Linux 2.4.4    28    284           281            283        
P100.orig   Linux 2.4.4    29    279           284            283        

*Local* Communication latencies in microseconds - smaller is better
-------------------------------------------------------------------
Host                 OS 2p/0K  Pipe AF     UDP  RPC/   TCP  RPC/ TCP
                        ctxsw       UNIX         UDP         TCP conn
--------- ------------- ----- ----- ---- ----- ----- ----- ----- ----
P100.lsm  Linux 2.4.4-l    37   114  262   539  1118   798  1453 2444
P100.lsm  Linux 2.4.4-l    40   110  274   546  1138   699  1508 3156
P100.lsm  Linux 2.4.4-l    46   118  273   547  1135   816  1512 2483
P100.lsm  Linux 2.4.4-l    37   119  276   577  1124   809  1494 2345
P100.lsm  Linux 2.4.4-l    41   127  262   548  1109   794  1507 2364
P100.orig   Linux 2.4.4    27   101  235   512  1131   771  1452 2423
P100.orig   Linux 2.4.4    29    97  257   539  1129   764  1437 2362
P100.orig   Linux 2.4.4    28    98  245   517  1138   773  1460 2414
P100.orig   Linux 2.4.4    28   107  242   523  1121   771  1480 2458
P100.orig   Linux 2.4.4    29    96  245   541  1185   810  2056 2433

File & VM system latencies in microseconds - smaller is better
--------------------------------------------------------------
Host                 OS   0K File      10K File      Mmap    Prot    Page	
                        Create Delete Create Delete  Latency Fault   Fault 
--------- ------------- ------ ------ ------ ------  ------- -----   ----- 
P100.lsm  Linux 2.4.4-l     78     16    675     41      778 6.124 11.1650
P100.lsm  Linux 2.4.4-l     78     16    671     46      776 6.061 11.1950
P100.lsm  Linux 2.4.4-l     78     16    689     31      784 6.166 11.9080
P100.lsm  Linux 2.4.4-l     78     16    689     29      783 6.536 10.4720
P100.lsm  Linux 2.4.4-l     78     16    662     40      782 6.154 13.3650
P100.orig   Linux 2.4.4     76     15    675     28      826 5.112    8859
P100.orig   Linux 2.4.4     77     15    671     39      821 5.444 10.3060
P100.orig   Linux 2.4.4     77     15    684     28      814 5.471 13.9210
P100.orig   Linux 2.4.4     77     15    684     28      825 4.726 13.9150
P100.orig   Linux 2.4.4     77     15    671     39      825 5.504 15.3600

*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
--------- ------------- ---- ---- ---- ------ ------ ------ ------ ---- -----
P100.lsm  Linux 2.4.4-l   20   14   10     20     57     36     36   57    85
P100.lsm  Linux 2.4.4-l   20   13   10     20     57     36     36   57    85
P100.lsm  Linux 2.4.4-l   20   13   10     20     57     36     36   57    85
P100.lsm  Linux 2.4.4-l   21   14   10     20     57     36     36   57    85
P100.lsm  Linux 2.4.4-l   20   14   10     20     57     36     36   57    85
P100.orig   Linux 2.4.4   21   14   10     20     57     36     36   57    85
P100.orig   Linux 2.4.4   21   14   10     20     57     36     36   57    85
P100.orig   Linux 2.4.4   21   14   10     20     57     36     36   57    85
P100.orig   Linux 2.4.4   20   14   10     20     57     36     36   57    85
P100.orig   Linux 2.4.4   20   14 9.49     20     57     36     36   57    85

Memory latencies in nanoseconds - smaller is better
    (WARNING - may not be correct, check graphs)
---------------------------------------------------
Host                 OS   Mhz  L1 $   L2 $    Main mem    Guesses
--------- -------------  ---- ----- ------    --------    -------
P100.lsm  Linux 2.4.4-l    99    20    251    264    No L2 cache?
P100.lsm  Linux 2.4.4-l    99    20    251    264    No L2 cache?
P100.lsm  Linux 2.4.4-l    99    20    251    264    No L2 cache?
P100.lsm  Linux 2.4.4-l    99    20    251    264    No L2 cache?
P100.lsm  Linux 2.4.4-l    99    20    251    264    No L2 cache?
P100.orig   Linux 2.4.4    99    20    251    264    No L2 cache?
P100.orig   Linux 2.4.4    99    20    251    264    No L2 cache?
P100.orig   Linux 2.4.4    99    20    251    264    No L2 cache?
P100.orig   Linux 2.4.4    99    20    251    264    No L2 cache?
P100.orig   Linux 2.4.4    99    20    251    264    No L2 cache?
 


|>------------------------------------------------------
||  J. MELVIN JONES            jmjones@jmjones.com 
|>------------------------------------------------------
||  Microcomputer Systems Consultant  
||  Software Developer
||  Web Site Design, Hosting, and Administration
||  Network and Systems Administration
|>------------------------------------------------------
||  http://www.jmjones.com/
|>------------------------------------------------------


_______________________________________________
linux-security-module mailing list
linux-security-module@wirex.com
http://mail.wirex.com/mailman/listinfo/linux-security-module