[NCLUG] July 1, 2003 talk - Linux System Performance

jbass at dmsd.com jbass at dmsd.com
Wed Jun 25 12:47:35 MDT 2003


Hmm Minor fix and needs cc to compile due to it's age ;-)

	    for(size=1024; size <= sizeof data; size <<= 1) {
	        for(i=0; i<sizeof plot; i++) plot[i] = ' ';
	        plot[(100*(sizeof plot-2))/100] = '|';
	        plot[( 75*(sizeof plot-2))/100] = '|';
	        plot[( 50*(sizeof plot-2))/100] = '|';
	        plot[( 25*(sizeof plot-2))/100] = '|';
	        plot[(  0*(sizeof plot-2))/100] = '|';
	        printf("%7d ", size); fflush(stdout);
should be
	        printf("%8d ", size); fflush(stdout);

[jbass at fastbox dmsd2]$ make mbench
cc     mbench.c   -o mbench
[jbass at fastbox dmsd2]$ ./mbench
Mbench by John. L. Bass, DMS Design copyright 1985-1996
You are free to copy and use this program providing configuration info
and results are shared with the author by email to jbass at dmsd.com

Counts are per clock tick, presumed to be HZ=100
SetSize        Random   Sequential
-------  ------------ ------------ 0%        25%        50%        75%       100%
    1024 1550385 100% 1406014 100% |          |          |          |      @   *
    1536 1552130 100% 1406581 100% |                                       @   *
    2048 1551855 100% 1407020 100% |          |          |          |      @   *
    3072 1551155 100% 1406612 100% |                                       @   *
    4096 1552851 100% 1407079 100% |          |          |          |      @   *
    6144 1550740 100% 1406701 100% |                                       @   *
    8192 1550280  99% 1408208 100% |          |          |          |      @   *
   12288 1547572  99% 1399533  99% |                                       @   *
   16384 1537173  99% 1396636  99% |          |          |          |      @   *
   24576 1278952  82%  718502  51% |                   @               *
   32768 1110120  71%  718107  51% |          |        @ |         *|          |
   49152  922301  59%  718181  51% |                   @     *
   65536  855675  55%  719120  51% |          |        @ | *        |          |
   98304  512605  33%  264853  18% |       @      *
  131072  370892  23%  196522  13% |     @    *          |          |          |
  196608  211245  13%  177362  12% |    @*
  262144  161165  10%  157726  11% |   @*     |          |          |          |
  393216  113123   7%  154580  10% |  *@
  524288   94458   6%  153780  10% |  *@      |          |          |          |
  786432   77885   5%  154713  11% | * @
 1048576   70747   4%  153757  10% | * @      |          |          |          |
 1572864   64929   4%  154690  11% | * @
 2097152   61427   3%  153552  10% | * @      |          |          |          |
 3145728   58838   3%  154706  11% | * @
 4194304   57628   3%  154608  10% | * @      |          |          |          |
 6291456   56223   3%  153993  10% | * @
 8388608   55501   3%  154611  10% | * @      |          |          |          |
12582912   54253   3%  154338  10% | * @
16777216   52017   3%  154536  10% |*  @      |          |          |          |

This is a 128MB dual 550MHz PIII box with RH9. Your results are very likely
to vary :)

John



More information about the NCLUG mailing list