home *** CD-ROM | disk | FTP | other *** search
/ PC-Test Pro / PCTESTPRO.iso / disktool / diskstat / entp / readme.txt < prev   
Encoding:
Text File  |  1994-10-06  |  4.1 KB  |  78 lines

  1. Diskstat is a program intended to help you decide how you should partition
  2. your hard disk. It tells you how much wasted space you will have for each
  3. possible partition size. You then decide if you are likely to have more
  4. wasted space with the larger partition or at the end of the small ones.
  5.  
  6. This is what it shows for my disk, run in the most usual way:
  7.  
  8. C:\>diskstat \
  9. Total Clusters: 64413 Avail Clusters: 5174 Sectors/Cluster 16 Bytes/Sector 512
  10.                                                          Wasted as % of
  11. Cluster Size      Wasted Bytes      k      Megabytes   Allocated     Used
  12.  
  13.        512             1696580      1656        1.62        0.37     0.38
  14.       1024             3332932      3254        3.18        0.73     0.74
  15.       2048             6961988      6798        6.64        1.52     1.54
  16.       4096            14799684     14452       14.11        3.18     3.28
  17.  
  18.       8192 *          31015748     30288       29.58        6.43     6.88
  19.  
  20.      16384            64766788     63248       61.77       12.55    14.36
  21.      32768           142394180    139056      135.80       23.99    31.57
  22. 6056 files totalling 451099836 bytes (430.20 Mb). Average size 74488 bytes
  23.  
  24. What this shows is that my current cluster size is 8k (the one with blank
  25. lines before and after it. At this cluster size I have 29 megabytes unused
  26. at the end of my files, which is about 7% of the disk space. If I switched
  27. to a smaller partition which had 4k clusters I could save about 15
  28. megabytes because there would only be 14 megabytes wasted. Because I tend
  29. to want to keep at least 10 megabytes empty to provide working room it's
  30. not worthwhile for me to make any change.
  31.  
  32. These are the maximum sizes you can make a partition for each cluster size:
  33.  
  34.                   Drive Size        Sectors     Cluster
  35.                (partition size)   Per Cluster     Size
  36.                ----------------   -----------   -------
  37.  
  38.                  0 MB - 15 MB           8          4K
  39.                 16 MB - 127 MB          4          2K
  40.                128 MB - 255 MB          8          4K
  41.                256 MB - 511 MB         16          8K
  42.                512 MB - 1023 MB        32         16K
  43.               1024 MB - 2048 MB        64         32K
  44.  
  45. If you like you can give wildcards for the files you're interested in.
  46. "diskstat c:\*.exe" would give you statistics for just the EXE files.
  47. Using "\gif\*.gif" would give you figures for only the *.GIF files in the
  48. directory \gif and all directories under it.
  49.  
  50. If you want to see the directores that are being searched add a space and
  51. any letter after the file name. Add another for a listing of the file sizes
  52. and their attributes. "diskstat \ a b" would list all files and directories
  53. and give the standard summary afterwards.
  54.  
  55. If you use one of the DOS disk compression programs the results will be of
  56. little value because those schemes don't use the standard cluster approach
  57. internally. you might still find the statistics useful - just don't
  58. expect them to help you pick a compressed partition size.
  59.  
  60. The program works fine on the Netware 2.1, 3.11 and 3.12 drives I have. If you
  61. give a file specification that results in more than 64 gigabytes the results
  62. won't be useful because the byte counts will overflow.
  63.  
  64. BUG: The program thinks that the current drive is the one you asked for. You
  65. can use "diskstat D:\" while on drive C but the cluster size that is
  66. highlighted will be the one for drive C. The figures are still correct.
  67.  
  68. If you find this program useful and believe it's worth it, please check the
  69. current description in the Compuserve libraries to find it's shareware
  70. registration number. Then GO SWREG to pay the $5 payment I request. Thanks!
  71. Small VARs and computer dealers should pay the fee once for every 5 people
  72. they supply with the program. If you supply more than 100 copies a year, send
  73. me EMail and we can discuss a suitable charge and a less costly way to pay it.
  74.  
  75. The program and this documentation are Copyright (c) 1994 James RW Day.
  76. You can contact me on Compuserve with ID 100276,3552 or using
  77. 100276.3552@compuserve.com on the Internet. Please use "DISKSTAT:" as part
  78. of your message title.