home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / TEXT / N7TIPS.ZIP / 1014210.TXT < prev    next >
Text File  |  1994-03-04  |  10KB  |  241 lines

  1.  
  2.  
  3.               NOVELL TECHNICAL INFORMATION DOCUMENT
  4.  
  5. TITLE:              Stacker Statistics
  6. DOCUMENT ID:        014920
  7. DOCUMENT REVISION:  A
  8. DATE:               25FEB94
  9. ALERT STATUS:       Yellow
  10. INFORMATION TYPE:   Issue
  11. README FOR:         NA
  12.  
  13. NOVELL PRODUCT and VERSION:
  14. Novell DOS 7
  15.  
  16. ABSTRACT:
  17.  
  18. This document explains the statistics shown on a Stacker
  19. compressed partition under Novell DOS 7.
  20.  
  21. ------------------------------------------------------------------
  22. DISCLAIMER
  23. THE ORIGIN OF THIS INFORMATION MAY BE INTERNAL OR EXTERNAL TO
  24. NOVELL.  NOVELL MAKES EVERY EFFORT WITHIN ITS MEANS TO VERIFY
  25. THIS INFORMATION.  HOWEVER, THE INFORMATION PROVIDED IN THIS
  26. DOCUMENT IS FOR YOUR INFORMATION ONLY.  NOVELL MAKES NO EXPLICIT
  27. OR IMPLIED CLAIMS TO THE VALIDITY OF THIS INFORMATION.
  28. ------------------------------------------------------------------
  29.  
  30. ISSUE
  31.  
  32.      This document is not designed to be an introduction to the
  33.      Stacker portion of Novell DOS 7.  Users who are new to
  34.      Stacker should read the following references before reading
  35.      this document:
  36.  
  37.           Novell DOS 7 User Guide: Chapter 12 "Disk Compression"
  38.           Novell DOS 7 README.TXT
  39.           Stacker section within the DOSBOOK online reference
  40.           manual
  41.           (Type DOSBOOK STACKER at the command line.)
  42.  
  43.      Novell DOS 7 offers three utilities for examining statistics
  44.      on a Stacker drive: DIR, XDIR, and CHKDSK.  Each of these
  45.      utilities is specifically written to understand the internal
  46.      structures of a Stacker drive.  For a list and description
  47.      of switches for these utilities refer to DOSBOOK or type the
  48.      utility name followed by a /? (for example, DIR /?) at the
  49.      command line.
  50.  
  51.  
  52.      DIR
  53.  
  54.      The Novell DOS 7 DIR command has been written to give an
  55.      accurate calculation of free space on a Stacker drive. 
  56.      Please see the Estimated Bytes Free section below for a
  57.      description of how free space is calculated for a Stacker
  58.      drive.
  59.  
  60.  
  61.  
  62.      XDIR
  63.  
  64.      The Novell DOS 7 XDIR command has been written to give
  65.      compression ratios for each file on a compressed drive as
  66.      well as an average compression ratio for the current
  67.      directory.  An example of an XDIR of the root directory
  68.      follows:
  69.  
  70.      --a---         355  8.0:1   2-24-94   9:32a  c:autoexec.bat
  71.      --a---          73  8.0:1   2-18-94  10:32a  c:autostac.bat
  72.      ------      56,081  1.4:1   1-26-94   7:00a  c:command.com
  73.      --a---         306  8.0:1   2-23-94  11:43a  c:config.sys
  74.      rs--h-      27,880  1.4:1   1-26-94   7:00a  c:ibmbio.com
  75.      rs--h-      29,684  1.1:1   1-26-94   7:00a  c:ibmdos.com
  76.      DIRECTORY                   2-18-94  10:02a  c:nwclient
  77.      DIRECTORY                   2-18-94  10:02a  c:nwcntl
  78.      DIRECTORY                   2-18-94  10:02a  c:nwdos
  79.      --a---       4,768  8.0:1   1-26-94   7:00a  c:nwdos.386
  80.      DIRECTORY                   2-18-94  11:25a  c:windows
  81.      DIRECTORY                   2-18-94   2:02p  c:wpc20
  82.      DIRECTORY                   2-18-94   2:00p  c:wpwin60
  83.      total files  7   total bytes 119,147   disk free space
  84.      39,997,440
  85.      average compression ratio 1.6:1
  86.  
  87.      To get an average compression ratio for the entire drive,
  88.      use the command XDIR /S at the root of the Stacker drive to
  89.      include all subdirectories.  The average compression ratio
  90.      figure obtained by doing an XDIR /S is representative of all
  91.      the files on the drive.  This figure is calculated by
  92.      averaging the actual compression ratio for each file on the
  93.      drive.  An example of the last two lines of an XDIR /S
  94.      follows:
  95.  
  96.      total files 1,304 total bytes 58,252,054 disk free space
  97.      39,997,440
  98.      average compression ratio 1.6:1
  99.  
  100.      In the example, the average compression ratio of 1.6:1 is
  101.      slightly below the expected compression ratio for the drive
  102.      (fixed at 2.0:1).  This suggests that the files on the
  103.      Stacker drive are taking up slightly more room than
  104.      expected.
  105.  
  106.      A Stacker drive is most efficient when the average
  107.      compression ratio is as close to the expected compression
  108.      ratio as possible.  Ultimately the average compression ratio
  109.      should not be much higher or lower than the 2.0:1 expected
  110.      compression ratio.
  111.  
  112.      If the average compression ratio is much lower than 2.0:1
  113.      (as an example 1.2:1), an overabundance of poorly
  114.      compressible data is on the drive.  A user might consider
  115.      taking files that have a compression ratio (found with XDIR
  116.      /S) much lower than 2.0:1 off the drive.
  117.  
  118.      If the Stacker Drive Compression Ratio is much higher than
  119.      2.0:1 (as an example 8.0:1), an overabundance of highly
  120.      compressible data is on the drive.  A user might consider
  121.      taking files that have actual compression ratio (found with
  122.      XDIR /S) much higher than 2.0:1 off the drive.
  123.  
  124.      Note:     The expected compression ratio is set at 2.0:1. 
  125.                Therefore, there are twice as many file allocation
  126.                units in the Stacker FAT.
  127.  
  128.      A Stacked drive with files that compress at a higher ratio
  129.      will use the allocation units at the same rate as files that
  130.      compress at a lower ratio.  Even though a drive may have a
  131.      very high Stacker Drive Compression Ratio, such as 8.0:1,
  132.      you will not be able to store any more data than the
  133.      expected compression ratio of 2.0:1 allows.
  134.  
  135.      XDIR also gives accurate used and free space information on
  136.      a Stacker drive.  Please see the Estimated Bytes Free
  137.      section below for a description of how free space is
  138.      calculated for a Stacker drive.
  139.  
  140.  
  141.      CHKDSK
  142.  
  143.      The Novell DOS 7 CHKDSK command used with a /D parameter
  144.      will display space usage on a Stacker drive.  An example
  145.      CHKDSK /D follows:
  146.  
  147.      Volume STACVOL_DSK created Feb-18-1994 10:36
  148.  
  149.      Checking cluster integrity...
  150.  
  151.      Stacker Drive Statistics:
  152.  
  153.                        Stacker Drive           STACVOL File
  154.                        Drive C:                D:\STACVOL.DSK
  155.                    ----------------------   --------------------
  156.        Total Bytes:   162,914,304             61,506,048
  157.        Bytes Used:     61,329,408 ( 37.6%)    37,220,864 ( 60.5%)
  158.        Bytes Free:    101,584,896 ( 62.4%)    24,285,184 ( 39.5%)
  159.  
  160.        Bytes Per Cluster:       4,096                2,048
  161.  
  162.        Fragmentation Level         = 0
  163.  
  164.      Checking FAT integrity...
  165.  
  166.        162,914,304 bytes total disk space.
  167.             61,440 bytes in 2 hidden files.
  168.            114,688 bytes in 24 directories.
  169.         61,153,280 bytes in 1302 user files.
  170.         39,997,440 estimated bytes free.
  171.  
  172.              4,096 bytes in allocation unit.
  173.             39,774 total allocation units on disk.
  174.             24,801 available allocation units on disk.
  175.  
  176.            655,360 total bytes of memory.
  177.            621,216 total bytes of free memory.
  178.            620,240 bytes in largest free memory block.
  179.  
  180.  
  181.      Stacker Drive Drive C:
  182.  
  183.      This column of CHKDSK /D reports information based on the
  184.      estimated compression ratio of all the files on the drive
  185.  
  186.      being 1.6:1.  These statistics represent logical disk space
  187.      as each figure represents how space on the Stacker drive
  188.      would be used if this were a standard DOS formatted drive.
  189.  
  190.      In other words, this information is based on one cluster
  191.      being the smallest allocable unit on the drive.  Consider
  192.      the method for reporting statistics in this column to be
  193.      equal to what CHKDSK would display on any normal DOS
  194.      formatted drive.
  195.  
  196.  
  197.      STACVOL File G:\STACVOL.DSK
  198.  
  199.      This column of CHKDSK /D reports information based on actual
  200.      physical disk space used by Stacker.  In other words, its
  201.      information is based on the amount of physical sectors (512
  202.      bytes) used within the STACVOL file after files have been
  203.      compressed.
  204.  
  205.      Understanding that Stacker can store files at the sector
  206.      level is important.  This is unlike a normal DOS formatted
  207.      drive, which stores files at the cluster level.  Most
  208.      third-party utilities are incapable of reporting actual
  209.      physical disk space use on a Stacker drive.
  210.  
  211.  
  212.      Estimated Bytes Free
  213.  
  214.      This number represents an estimate of the number of bytes
  215.      free on a Stacker drive.  Actual usable space may vary based
  216.      on the compression ratio of the drive (see above note). 
  217.      This estimate is based on the lesser of the two values found
  218.      using Method 1 and Method 2 that follow:
  219.  
  220.      Method 1: Estimated Bytes Free is found by multiplying the
  221.                bytes free value in the STACVOL File column by the
  222.                average compression ratio (found with XDIR /S). 
  223.                Although the average compression ratio is rounded
  224.                off to tenths, the compression ratio used in the
  225.                calculation is not rounded off.
  226.  
  227.      Method 2: Estimated Bytes Free is equal to the bytes free in
  228.                the Stacker Drive column.
  229.  
  230.      Note:     SETUP will allow you to expand or shrink a Stacker
  231.                drive to increase or decrease the amount of space
  232.                on the drive.  However, when the number of bytes
  233.                free in the STACVOL File column is zero, the drive
  234.                is full.
  235.  
  236.                You cannot expand the drive to create more
  237.                physical space.  Also, if the drive is less than
  238.                12 percent full, the estimated bytes free will
  239.                equal the bytes free value in the Stacker Drive
  240.                column.
  241.