home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 3 / goldfish_volume_3.bin / files / util / arc / lino / doc / statistics < prev    next >
Encoding:
Text File  |  1995-04-13  |  9.3 KB  |  329 lines

  1.  
  2.  ****  LINO - Statistics  ****
  3.  
  4.  
  5.  Here is a detailled statistic to compare some popular packers.
  6.  The test configuration is:
  7.   * Amiga 500+ with A590, 1MB ChipRam and 2MB FastRam.
  8.   * Three typical categories of files:
  9.     1) programs
  10.     2) texts
  11.     3) pictures
  12.   * Three types of packers:
  13.     1) fast LZ77 (FAST0-90,LIN1,LIN2)
  14.     2) LZ77     (LIN3,LIN4,NUKE,FAST90-100)
  15.     3) LZ78/LZW  (ZENO,BLZW)
  16.   * Three different modes: 0,50,100
  17.   * Two chunksizes: 32kb, 256kb
  18.  
  19.  commando to compress:    xlin file -m PACK -c 32 -e Mode
  20.  commando to expand:    xlin file -u
  21.  
  22.  (where PACK is the four letter name of the packer, and Mode is a
  23.   value from 0 to 100)
  24.  
  25.  the speed of compression and expansion is specified in kilobytes per
  26.  second, the compression ratio in percent (spared diskspace).
  27.  
  28.  
  29.  --------
  30.  Programs  (Chunksize: 32K)
  31.  --------
  32.  
  33.  Packer | Mode | Ratio | Compress | Expand
  34.  -----------------------------------------
  35.  FAST    |   0  | 38.3% |    54      |  141
  36.     | 100  | 44.6  |     7      |  141
  37.  
  38.  LIN1    |   0  | 44.5  |    45      |   97
  39.     |  50  | 45.1  |    45      |   94
  40.     | 100  | 46.0  |    40      |   97
  41.  
  42.  LIN2    |   0  | 48.1  |    27      |   58
  43.     |  50  | 48.1  |    28      |   60
  44.     | 100  | 48.2  |    29      |   58
  45.  -----------------------------------------
  46.  LIN3    |   0  | 48.2  |    16      |   97
  47.     |  50  | 49.6  |    14      |   98
  48.     | 100  | 49.9  |    12      |   97
  49.  
  50.  LIN4    |   0  | 51.3  |    10      |   59
  51.     |  50  | 51.8  |     9      |   58
  52.     | 100  | 52.0  |     8      |   58
  53.  
  54.  NUKE    | 0-100| 51.0  |     7      |   84
  55.  -----------------------------------------
  56.  ZENO    |   0  | 38.6  |    21      |   32
  57.     |  50  | 38.6  |    21      |   32
  58.     | 100  | 38.6  |    21      |   32
  59.  
  60.  BLZW    |   0  | 30.1  |    22      |   40
  61.     |  50  | 38.8  |    17      |   46
  62.     | 100  | 38.8  |    22      |   48
  63.  
  64.  
  65.  --------
  66.  Programs  (Chunksize: 256K)
  67.  --------
  68.  
  69.  Packer | Mode | Ratio | Compress | Expand
  70.  -----------------------------------------
  71.  FAST    |   0  | 38.5% |    50      |   93
  72.     | 100  | 45.0  |     7      |   97
  73.  
  74.  LIN1    |   0  | 45.0  |    40      |   71
  75.     |  50  | 45.7  |    42      |   71
  76.     | 100  | 46.6  |    36      |   71
  77.  
  78.  LIN2    |   0  | 48.4  |    25      |   50
  79.     |  50  | 48.5  |    27      |   50
  80.     | 100  | 48.6  |    27      |   50
  81.  -----------------------------------------
  82.  LIN3    |   0  | 48.8  |    15      |   72
  83.     |  50  | 50.4  |    13      |   71
  84.     | 100  | 50.7  |    12      |   71
  85.  
  86.  LIN4    |   0  | 52.0  |     9      |   49
  87.     |  50  | 52.5  |     8      |   49
  88.     | 100  | 52.8  |     7      |   49
  89.  
  90.  NUKE    | 0-100| 51.0  |     7      |   87
  91.  -----------------------------------------
  92.  ZENO    |   0  | 38.8  |    20      |   29
  93.     |  50  | 38.8  |    20      |   29
  94.     | 100  | 38.8  |    20      |   29
  95.  
  96.  BLZW    |   0  | 30.0  |    20      |   35
  97.     |  50  | 38.7  |    17      |   40
  98.     | 100  | 39.5  |    20      |   42
  99.  
  100.  
  101.  -----
  102.  Texts    (Chunksize: 32K)
  103.  -----
  104.  
  105.  Packer | Mode | Ratio | Compress | Expand
  106.  -----------------------------------------
  107.  FAST    |   0  | 33.0% |    58      |  176
  108.     | 100  | 45.8  |    11      |  196
  109.  
  110.  LIN1    |   0  | 41.0  |    43      |   95
  111.     |  50  | 41.7  |    44      |   95
  112.     | 100  | 44.1  |    39      |   95
  113.  LIN2    |   0  | 46.5  |    28      |   60
  114.     |  50  | 46.9  |    29      |   60
  115.     | 100  | 46.9  |    28      |   61
  116.  -----------------------------------------
  117.  LIN3    |   0  | 47.8  |    14      |  101
  118.     |  50  | 50.5  |    12      |  101
  119.     | 100  | 51.1  |    10      |  101
  120.  LIN4    |   0  | 52.5  |    10      |   61
  121.     |  50  | 53.8  |     8      |   63
  122.     | 100  | 54.3  |     7      |   64
  123.  
  124.  NUKE    | 0-100| 50.6  |     5      |   90
  125.  -----------------------------------------
  126.  ZENO    |   0  | 50.4  |    23      |   42
  127.     |  50  | 51.6  |    21      |   43
  128.     | 100  | 51.2  |    24      |   42
  129.  
  130.  BLZW    |   0  | 34.6  |    22      |   46
  131.     |  50  | 47.8  |    22      |   56
  132.     | 100  | 51.3  |    24      |   58
  133.  
  134.  -----
  135.  Texts    (Chunksize: 256K)
  136.  -----
  137.  
  138.  Packer | Mode | Ratio | Compress | Expand
  139.  -----------------------------------------
  140.  FAST    |   0  | 33.7% |    50      |   93
  141.     | 100  | 47.0  |    11      |   96
  142.  
  143.  LIN1    |   0  | 42.2  |    39      |   64
  144.     |  50  | 43.1  |    39      |   63
  145.     | 100  | 45.7  |    35      |   63
  146.  
  147.  LIN2    |   0  | 47.5  |    26      |   46
  148.     |  50  | 48.0  |    27      |   46
  149.     | 100  | 48.1  |    28      |   47
  150.  -----------------------------------------
  151.  LIN3    |   0  | 49.4  |    14      |   67
  152.     |  50  | 52.4  |    11      |   66
  153.     | 100  | 53.1  |     9      |   65
  154.  
  155.  LIN4    |   0  | 54.0  |     9      |   47
  156.     |  50  | 55.7  |     8      |   49
  157.     | 100  | 56.3  |     6      |   50
  158.  
  159.  NUKE    | 0-100| 50.6  |     5      |   90
  160.  -----------------------------------------
  161.  ZENO    |   0  | 51.8  |    22      |   35
  162.     |  50  | 53.8  |    19      |   36
  163.     | 100  | 54.5  |    20      |   36
  164.  
  165.  BLZW    |   0  | 34.6  |    20      |   36
  166.     |  50  | 48.3  |    21      |   43
  167.     | 100  | 54.2  |    24      |   46
  168.  
  169.  
  170.  
  171.  --------
  172.  Pictures  (Chunksize: 32K)
  173.  --------
  174.  
  175.  Packer | Mode | Ratio | Compress | Expand
  176.  -----------------------------------------
  177.  FAST    |   0  | 55.4% |    67      |  186
  178.     | 100  | 68.1  |     2      |  205
  179.  
  180.  LIN1    |   0  | 62.8  |    61      |  116
  181.     |  50  | 63.0  |    59      |  122
  182.     | 100  | 64.5  |    54      |  116
  183.  
  184.  LIN2    |   0  | 66.2  |    40      |   72
  185.     |  50  | 66.4  |    39      |   73
  186.     | 100  | 66.5  |    38      |   71
  187.  -----------------------------------------
  188.  LIN3    |   0  | 67.0  |    16      |  118
  189.     |  50  | 67.9  |    13      |  116
  190.     | 100  | 68.7  |    10      |  126
  191.  
  192.  LIN4    |   0  | 69.9  |    11      |   76
  193.     |  50  | 70.6  |     8      |   76
  194.     | 100  | 71.2  |     6      |   76
  195.  
  196.  NUKE    | 0-100| 68.3  |     3      |  116
  197.  -----------------------------------------
  198.  ZENO    |   0  | 69.8  |    29      |   46
  199.     |  50  | 69.8  |    29      |   47
  200.     | 100  | 69.8  |    28      |   45
  201.  
  202.  BLZW    |   0  | 64.7  |    29      |   56
  203.     |  50  | 69.4  |    27      |   59
  204.     | 100  | 69.1  |    25      |   60
  205.  
  206.  
  207.  --------
  208.  Pictures  (Chunksize: 256K)
  209.  --------
  210.  
  211.  Packer | Mode | Ratio | Compress | Expand
  212.  -----------------------------------------
  213.  FAST    |   0  | 55.5% |    61      |   98
  214.     | 100  | 68.4  |     2      |  111
  215.  
  216.  LIN1    |   0  | 63.1  |    58      |   75
  217.     |  50  | 63.2  |    55      |   74
  218.     | 100  | 64.7  |    50      |   74
  219.  
  220.  LIN2    |   0  | 65.9  |    37      |   54
  221.     |  50  | 66.1  |    38      |   54
  222.     | 100  | 66.1  |    37      |   54
  223.  -----------------------------------------
  224.  LIN3    |   0  | 67.3  |    15      |   77
  225.     |  50  | 68.2  |    12      |   75
  226.     | 100  | 68.9  |    10      |   77
  227.  
  228.  LIN4    |   0  | 69.8  |    10      |   56
  229.     |  50  | 70.5  |     8      |   57
  230.     | 100  | 71.1  |     5      |   59
  231.  
  232.  NUKE    | 0-100| 68.3  |     3      |  102
  233.  -----------------------------------------
  234.  ZENO    |   0  | 70.1  |    27      |   40
  235.     |  50  | 70.2  |    28      |   39
  236.     | 100  | 70.2  |    29      |   39
  237.  
  238.  BLZW    |   0  | 64.7  |    27      |   42
  239.     |  50  | 69.8  |    26      |   49
  240.     | 100  | 69.2  |    27      |   50
  241.  
  242.  
  243.  
  244.  
  245.  Average
  246.  -------
  247.  
  248.  
  249.  Packer | Mode | Ratio | Compress | Expand  | Memory (Kb)
  250.  --------------------------------------------------------
  251.  FAST    |   0  | 42.3% |    57      |  131    |    96 / 0
  252.     | 100  | 53.2  |     7      |  141    |    96 / 0
  253.  
  254.  LIN1    |   0  | 49.8  |    48      |   86    |     8 / 0
  255.     |  50  | 50.3  |    47      |   87    |    32 / 0
  256.     | 100  | 51.9  |    42      |   86    |    33 / 0
  257.  
  258.  LIN2    |   0  | 53.8  |    31      |   57    |    18 / 0
  259.     |  50  | 54.0  |    31      |   57    |    34 / 0
  260.     | 100  | 54.1  |    31      |   57    |    66 / 0
  261.  --------------------------------------------------------
  262.  LIN3    |   0  | 54.8  |    15      |   89    |    52 / 0
  263.     |  50  | 56.5  |    13      |   88    |    76 / 0
  264.     | 100  | 57.1  |    11      |   90    |    76 / 0
  265.  
  266.  LIN4    |   0  | 58.3  |    10      |   58    |    98 / 0
  267.     |  50  | 59.2  |     8      |   59    |    98 / 0
  268.     | 100  | 59.6  |     7      |   59    |    98 / 0
  269.  
  270.  NUKE    | 0-100| 56.6  |     5      |   95    |  192 / 0
  271.  ---------------------------------------------------------
  272.  ZENO    |   0  | 53.3  |    24      |   37    |    30 / 12
  273.     |  50  | 53.8  |    23      |   38    |    50 / 24
  274.     | 100  | 53.9  |    23      |   37    |    90 / 48
  275.  
  276.  BLZW    |   0  | 43.1  |    23      |   43    |     3 / 2
  277.     |  50  | 52.1  |    22      |   49    |    30 / 16
  278.     | 100  | 53.7  |    24      |   51    |  240 / 128
  279.  
  280.  
  281.  
  282.  
  283.  ---------------------------------------------------------
  284.  
  285.  
  286.  Another, more practical, test configuration is copying 17 files
  287.  with 500000 bytes from one directory to another empty directory,
  288.  by using lino/xlin and two shareware harddisk compressors (XFH and EPU).
  289.  
  290.  chunksize: 32, packmode: 50
  291.  
  292.  ram->ram   =    ram:dirA -> ram:dirB,  ram:dirB -> ram:dirC
  293.  dh0->dh0   =    dh0:dirA -> dh0:dirB,  dh0:dirB -> dh0:dirC
  294.  dh0/df0    =    dh0:dirA -> df0:dirB,  df0:dirB -> dh0:dirC
  295.  
  296.       xlin dh0:dirA/#? -m PACK -c 32 -e 50 -t -n -w dh0:dirB/
  297.       xlin dh0:dirB/#? -u -t -n -w dh0:dirC/
  298.  
  299.  
  300.  xfh   =   xh0:dirA -> xh0:dirB,  xh0:dirB -> xh0:dirC
  301.  epu   =   dh0:dirA -> df0:dirB,  df0:dirB -> dh0:dirC
  302.         (epu dev df0 block 32 lib PACK)
  303.  
  304.       copy >nil: dh0:dirA dh0:dirB
  305.       copy >nil: dh0:dirB dh0:dirC
  306.  
  307.  
  308.  the result in order of speed:
  309.  
  310.  
  311.  Lib   | Ratio | ram->ram | dh0->dh0 | dh0/df0 | xfh | epu
  312.  ---------------------------------------------------------
  313.  copy  |   0%  |   10 sec |   60 sec | 212 sec |  -  |    -
  314.  ---------------------------------------------------------
  315.  NONE  |   0   |    -      |    -     |     -     | 103 | 216
  316.  ---------------------------------------------------------
  317.  FAST  |  38.6 |   22      |   64     | 164     | 122 | 237
  318.  LIN1  |  44.9 |   26      |   67     | 165     | 127 | 240
  319.  LIN2  |  48.4 |   35      |   76     | 162     | 144 | 244
  320.  BLZW  |  44.0 |   44      |   84     | 188     | 150 | 276
  321.  ZENO  |  45.4 |   46      |   86     | 182     | 149 | 272
  322.  LIN3  |  50.8 |   52      |   93     | 193     | 153 | 260
  323.  LIN4  |  53.4 |   75      |  114     | 205     | 174 | 272
  324.  NUKE  |  51.6 |   92      |  133     | 223     | 197 | 288
  325.  FAST99|  47.7 |  135      |  177     | 296     | 237 |
  326.  
  327.  (NONE: no compression)
  328.  
  329.