home *** CD-ROM | disk | FTP | other *** search
/ ftp.pasteur.org/FAQ/ / ftp-pasteur-org-FAQ.zip / FAQ / windows / win95 / faq / part11 < prev    next >
Encoding:
Text File  |  1998-11-09  |  20.3 KB  |  448 lines

  1. Newsgroups: comp.os.ms-windows.win95.misc,comp.os.ms-windows.setup.win95,comp.os.ms-windows.networking.win95,comp.os.ms-windows.apps.compatibility.win95,comp.os.ms-windows.apps.utilities.win95,comp.answers,news.answers
  2. Path: senator-bedfellow.mit.edu!bloom-beacon.mit.edu!cam-news-feed5.bbnplanet.com!cam-news-hub1.bbnplanet.com!news.gtei.net!cpk-news-hub1.bbnplanet.com!news.news.gtei.net!newsfeed.cwix.com!204.174.67.209!news.bctel.net!srv4.reelwest.bc.ca!not-for-mail
  3. From: gordonf@intouch.bc.ca
  4. Subject: Win95 FAQ Part 11 of 14: Disk Compression
  5. Message-ID: <19981108.8D7FAB8.12373@ras4vpn10.reelwest.bc.ca>
  6. Date: Sun, 8 Nov 98 20:11:39
  7. Approved: news-answers-request@MIT.EDU
  8. Followup-To: comp.os.ms-windows.win95.misc
  9. Summary: These postings list many questions asked in said newsgroups,
  10.          and answers them as best as I can.  I make references to other
  11.          Web sites and FAQs when appropriate.  Visit the WWW home of
  12.          this FAQ (http://www.orca.bc.ca/win95) for the appropriate
  13.          links.  This section is the 11th: Disk Compression
  14. Organization: Personal and Win95 FAQ maintainence
  15. X-NoSpamWanted: This address is not for unsolicited commercial e-mail
  16. X-ImNotKidding: By sending UCE to this address you agree to pay $50.00 CDN
  17. X-pensive-spam: Payable to G. Fecyk, c/o P.O. Box 373 Oakville, MB  R0H 0Y0
  18. X-ploded-spams: Stop e-mail trespassing. <http://www.orca.bc.ca/dul/>
  19. X-federal-bill: Section 302, HR3888 / S1618, R.I.P.
  20. Lines: 424
  21. Xref: senator-bedfellow.mit.edu comp.os.ms-windows.win95.misc:326158 comp.os.ms-windows.setup.win95:77834 comp.os.ms-windows.networking.win95:59636 comp.os.ms-windows.apps.compatibility.win95:17901 comp.os.ms-windows.apps.utilities.win95:62529 comp.answers:33788 news.answers:143975
  22.  
  23. Archive-name: windows/win95/faq/part11
  24. Last-Modified: 1998/11/08
  25. Posting-Frequency: Every two months
  26. URL: http://www.orca.bc.ca/win95/faq11.htm
  27.  
  28. Subject: 11. Disk compression and you 
  29.  
  30.      * 11.1. Why should I bother? (Actually it's not as dumb as you
  31.        might think)
  32.      * 11.2. I heard that using disk compression is helpful on drives
  33.        > 1 GB. Is this true? (yes.)
  34.           + 11.2.1. Does disk compression on > 1 GB drives work with
  35.             FAT32 as well?
  36.      * 11.3. How do I compress my whole hard drive? (Avoid if
  37.        possible!)
  38.      * 11.4. How do I compress a part of my hard drive?
  39.      * 11.5. How do I compress floppy disks?
  40.           + 11.5.1. Enabling "Auto-mount" for removable compressed
  41.             disks 
  42.      * 11.6. The DriveSpace driver takes 60 KB and I can't load it
  43.        high! How do I do it?
  44.      * 11.7. The DriveSpace 3 driver takes 100 KB and I can't load it
  45.        high! How do I do it?
  46.      * 11.8. How do I start my computer WITHOUT loading the
  47.        DriveSpace driver?
  48.           + 11.8.1. Why you should run DOS programs in DOS sessions
  49.             in Win95
  50.           + 11.8.2. How do I load the Win95 DriveSpace driver, but
  51.             NOT load the DOS DriveSpace driver? 
  52.      * 11.9. My computer is very, very, slow since I installed disk
  53.        compression. How can I speed it up?
  54.           + 11.9.1. Basic DriveSpace 3 theory; regular, HiPack,
  55.             UltraPack, Compression Agent
  56.           + 11.9.2. Why on slow computers, you should use "No
  57.             compression" and still use DriveSpace 3 
  58.      * 11.10. Top ten mistakes using disk compression
  59.      * 11.11. Top ten mis-conceptions regarding DriveSpace 3 
  60.        
  61. ------------------------------
  62.  
  63. Subject: 11.1. Why should I bother? (Actually it's not as dumb as you might think)
  64.    
  65.    With hard drives getting cheaper every day, you will believe (and I do
  66.    too) that disk compression is a waste of processor time, a waste of
  67.    system memory, and it makes the system unstable. But, here are some
  68.    good reasons to use disk compression:
  69.    
  70.    On FAT file systems, it wastes far less disk space (Cluster sizes are
  71.    minimum 512 bytes regardless of the partition's 'reported' cluster
  72.    size)
  73.    
  74.    It reduces the amount of CPU time spent on the hard drive (It reads
  75.    less off hardware)
  76.    
  77.    It makes good use of smaller hard drives
  78.    
  79.    Win95's disk compression take NO conventional memory (At least, when
  80.    you run Win95 that is)
  81.    
  82. ------------------------------
  83.  
  84. Subject: 11.2. I heard that using disk compression is helpful on drives > 1 GB. Is this true?
  85.    
  86.    DriveSpace 3, in particular, is helpful for drives > 1 GB, if you set
  87.    compression to "none". This is because DriveSpace will use a smaller
  88.    physical cluster size.
  89.    
  90.    FAT file systems have a 65 thousand cluster limit (64 K, or 65 536
  91.    clusters); this means as the drive gets bigger, the cluster size gets
  92.    bigger too. On a 1 GB hard drive, the cluster size is 32 KB! That's a
  93.    lot of disk space wasted if your file is much smaller than 32 KB!
  94.    
  95.    DriveSpace (and Stacker, and what-have-you) use their own file system
  96.    and emulate FAT, and they can compress the unused space in a cluster.
  97.    DriveSpace 3, in particular, will use no more than 512 bytes per
  98.    simulated cluster, if your file is smaller than this.
  99.    
  100.    You can observe this by running DEFRAG on a compressed drive in Win95;
  101.    after the initial Defrag pass, it will de-fragment a second time,
  102.    showing the relative sizes of each cluster. Tightly compressed
  103.    clusters will appear shorter.
  104.  
  105.      * 11.2.1. Does disk compression on > 1 GB drives work with FAT32 as
  106.        well? 
  107.        
  108.    Apparently not. MS describes FAT32 in KB article Q154997 and they
  109.    clearly state that disk compression does not work on it (Hey, Stac
  110.    Electronics: That's your cue! Get on it!) This probably has something
  111.    to do with FAT32 being almost completely different from original FAT
  112.    and VFAT; the root directory being a real FAT chain instead of a
  113.    couple of sectors, for example.
  114.    
  115. ------------------------------
  116.  
  117. Subject: 11.3. How do I compress my whole hard drive?
  118.    
  119.    I say Avoid If Possible. If you have to re-install Win95, you might
  120.    not be able to read the compressed drive to perform the
  121.    re-installation on!
  122.    
  123.    However, it can be done. You will have to have Disk Compression
  124.    installed in Win95; check Add/Remove Programs / Windows Setup / Disk
  125.    Tools. Then, right-click on your target hard drive and bring up its
  126.    properties. You should see a Compression tab which gives you two
  127.    options. Select the option to compress the whole hard drive.
  128.    
  129.    This built in compression (Affectionately called "DriveSpace 2") will
  130.    re-boot your computer and run a compression process in a "miniature"
  131.    Windows 3.1 environment. This means you can't use your computer while
  132.    this happens. This does take a long time, so you should get it started
  133.    and let it run overnight. When completed, you will have two active
  134.    drive letters, or volumes; your original hard drive (Re-named to "H:"
  135.    or some such thing) and your new compressed hard drive (Renamed "C:"
  136.    to replace your original hard drive).
  137.    
  138. ------------------------------
  139.  
  140. Subject: 11.4. How do I compress a part of my hard drive?
  141.    
  142.    OK so you heeded my warning. Good. You have to install Disk
  143.    Compression if you didn't already do so. Before running DriveSpace,
  144.    de-fragment the hard drive you're placing the compressed volume on.
  145.    This will maximize the space the compressed volume can take.
  146.    
  147.    Then, bring up properties of the target hard drive. In the Compression
  148.    tab, select the option to create a new compressed volume. This will
  149.    run DriveSpace, create the new .CVF file, and tell you to re-boot your
  150.    computer. Much quicker.
  151.    
  152.    If you plan to use DriveSpace this way, you should do so right after
  153.    you complete your Win95 installation, and create a compressed volume
  154.    with all the remaining space. This will maximize the drive space that
  155.    gets compressed, and keep your Win95 installation uncompressed, ready
  156.    to re-install if necessary. Maybe leave about 100 MB uncompressed for
  157.    the Program Files folder, which always goes on your booting drive.
  158.    
  159. ------------------------------
  160.  
  161. Subject: 11.5. How do I compress floppy disks?
  162.    
  163.    Bring up properties for your floppy drive, and select the
  164.    "Compression" tab. You only have one compression option here; you
  165.    can't put a separate CVF on a floppy disk. The rest of it works like
  166.    compressing your whole hard drive.
  167.    
  168.    It's best to do this with blank disks; otherwise you will waste time
  169.    compressing the files already on the floppy. Use this technique for
  170.    any other removable media; optical disks, SyQuest disks, whatever.
  171.  
  172.      * 11.5.1. Enabling "Auto-mount" for removable compressed disks 
  173.        
  174.    Back in DOS 6.0, you had to manually mount compressed floppies, and
  175.    unmount them before ejecting them. Win95 will automatically mount
  176.    compressed floppies if you allow it to.
  177.    
  178.    Run DriveSpace, then in Advanced/Settings, turn on the Auto-Mount
  179.    switch. This is normally turned on by default. The first time you
  180.    access the removable disk, if it sees a DRVSPACE.xxx file, it will use
  181.    that instead of the actual disk.
  182.    
  183.    No, you can't copy .CAB files to compressed floppies; the files in a
  184.    CAB are already compressed.
  185.    
  186. ------------------------------
  187.  
  188. Subject: 11.6. The DriveSpace driver takes 60 KB and I can't load it high! How do I do it?
  189.    
  190.    In order for Win95 to actually start, Win95 DOS has to see any
  191.    compressed drives you might have installed Win95 on. There is a real
  192.    mode DriveSpace driver (and a real-mode DRVSPACE.INI settings file) in
  193.    the root of your boot drive, though they're hidden.
  194.    
  195.    If you have an empty CONFIG.SYS file (which you should), when Win95
  196.    starts it will remove the real mode DRVSPACE.SYS driver and run the
  197.    protected mode driver in its place, freeing up the 60 KB.
  198.    
  199.    If you insist on keeping a DOS configuration (Or if you specified a
  200.    special DOS config for any of your games), you can continue to use
  201.  
  202. DEVICEHIGH=%WINDIR%\COMMAND\DRVSPACE.SYS /MOVE
  203.  
  204.    to re-locate the real mode driver to upper memory.
  205.    
  206. ------------------------------
  207.  
  208. Subject: 11.7. The DriveSpace 3 driver takes 100 KB and I can't load it high! How do I do it?
  209.    
  210.    Ahh... monster driver! This thing is so big because it needs to have
  211.    compression routines for the three types of compression: UltraPack,
  212.    HiPack, and Standard.
  213.    
  214.    If you have enough upper memory, make the DRVSPACE.SYS /MOVE entry in
  215.    CONFIG.SYS the very next DEVICE= right after EMM386. This will eat 100
  216.    KB of upper memory of course, and the rest of your real mode drivers
  217.    probably won't fit in upper memory afterwards.
  218.    
  219.    Win95 will unload this monster driver from conventional memory when
  220.    you run Win95, provided you didn't try to load it high. Do yourself a
  221.    favor and run your DOS programs in DOS sessions.
  222.    
  223. ------------------------------
  224.  
  225. Subject: 11.8. How do I start my computer WITHOUT loading the DriveSpace driver?
  226.    
  227.    Edit MSDOS.SYS and add or edit these lines to the [options] section:
  228.  
  229. drvspace=0
  230. dblspace=0
  231.  
  232.    and re-boot.
  233.    
  234.    NOTE: If you do this, you can't access compressed drives from DOS of
  235.    course, but you also can't access them in Win95 either! This is an
  236.    important reason not to compreess your whole hard drive.
  237.  
  238.      * 11.8.2. How do I load the Win95 DriveSpace driver, but NOT load
  239.        the DOS DriveSpace driver? 
  240.        
  241.    Actually, there IS a way NOT to load the DriveSpace driver in MS-DOS
  242.    Mode, AND use the compressed drive in Win95! You'll find this trick
  243.    useful if you run many programs in Single Mode DOS or make up
  244.    special DOS configurations for certain programs and games, as it saves
  245.    a good 60 KB to 100 KB of conventional memory, and still lets you use
  246.    the compressed drive under Win95 and in DOS sessions.
  247.    
  248.    This is a bit tricky, so only do it if you know what you're doing, AND
  249.    you aren't picky about what drive letter the compressed drive takes,
  250.    AND you didn't install Win95 on the compressed drive, AND you don't
  251.    assign any network shares on the compressed drive (You'd have to
  252.    re-share them each time you re-boot if you did this.)
  253.    
  254.    1. Put in the entries to MSDOS.SYS above
  255.    
  256.    2. Run Policy Editor, Select File/Open Registry, and in Local
  257.    Computer/System/Run Services, add this entry:
  258.        
  259. Name: Manually mount DriveSpace Drive (Actually you can call this what you want)
  260. Value: DRVSPACE.EXE /MOUNT=001 C:
  261.  
  262.    3. Save changes to the Registry, and test by re-booting to "Command
  263.    Prompt Only" (Press F8 on "Starting Windows 95..."). Check that you
  264.    have lots of conventional memory free.
  265.    
  266.    4. Type WIN to start Win95. Before any other programs load, you should
  267.    get some floppy access and a message stating that your compressed
  268.    drive has mounted.
  269.    
  270.    5. Now you can re-boot normally, once you're sure everything works.
  271.    
  272.    What this does, is prevent the real mode DriveSpace driver from
  273.    loading at all. Again, this means you can't access compressed drives
  274.    outside of Win95. It also mounts the compressed drive, using protected
  275.    mode drivers, before any other Win95 programs start (Run Services runs
  276.    its programs before anything else does). You will get an annoying
  277.    message on start up, but you had to pay the price somewhere for this
  278.    cool trickery, no?
  279.  
  280.      * Syntax of DRVSPACE.EXE /MOUNT command:
  281.        
  282. DRVSPACE /MOUNT=xxx y: /NEW=z:
  283.  
  284.    Where "xxx" is the number of the compressed volume (Find out by
  285.    showing all files and looking for a DRVSPACE.001 file; the 001 is the
  286.    number you put in the MOUNT= parameter). "y:" is the drive letter
  287.    where the compressed volume exists. "z:" is the drive letter you
  288.    assign the new compressed drive in the /NEW= parameter. NOTE: /NEW=
  289.    does not always pick the drive letter you want, especially if you have
  290.    network drives. It's best to leave out the /NEW= and just live with
  291.    the drive letter it comes up with. You can specify a range of drive
  292.    letters in the DRVSPACE.INI file, if you choose, to make the
  293.    assignment consistent. Once it settles on a drive letter it will
  294.    consistently use it, until you remove the compressed drive or
  295.    re-assign the drive letter.
  296.    
  297. ------------------------------
  298.  
  299. Subject: 11.9. My computer is very, very, slow since I installed disk compression. How can I speed it up?
  300.    
  301.    DriveSpace works best in Win95 if you have lots of RAM (16 MB), have
  302.    lots of extra computing power ('DX2-66es are quite adequate for this),
  303.    and some external SRAM for processor caching (256 KB is best). The CPU
  304.    has to work harder to interpret compressed data, but it has to wait
  305.    less time to actually get it. This is the trade-off.
  306.    
  307.    To speed compressed drives up, install DriveSpace 3 (in MS Plus!), and
  308.    set compression to "none", or "none, unless it is xx% full, then use
  309.    Standard". You still get the benefits of reduced cluster sizes even
  310.    though you aren't compressing data. Later on, you can use Compression
  311.    Agent to compress the drive overnight, or any other time you aren't
  312.    using the computer.
  313.    
  314.    If you use DriveSpace 3 on a '486 class computer, do not use HiPack as
  315.    the default file format. There's a reason MS didn't recommend that.
  316.    Maybe even set compression to "None" and use Compression Agent to
  317.    re-compress overnight, using HiPack then. HiPack takes less time to
  318.    read than to write. Also, when using Compression Agent, DO NOT USE
  319.    UltraPack! UltraPack is very, very, slow on '486 machines. I wouldn't
  320.    even recommend it for Pentium machines slower than 100 MHz.
  321.    
  322.    If you're too cheap to buy MS Plus, simply make sure your swap file
  323.    isn't on the compressed drive, and it's set to a fixed size. Do this
  324.    from System Properties/Performance/Virtual Memory. Win95 doesn't
  325.    actually compress the swap file, but it does go through the DriveSpace
  326.    driver to access it. Move it to an uncompressed drive to remove that
  327.    extra layer of protocol.
  328.    
  329.    Finally, make sure you have NO real mode disk drivers to handle
  330.    CD-ROMs, etc, that might be sitting on the hard drive adapters. The
  331.    Win95 disk driver can't load then, and it won't use the Win95
  332.    DriveSpace driver either.
  333.  
  334.      * 11.9.1. Basic DriveSpace 3 advice; regular, HiPack, UltraPack,
  335.        Compression Agent 
  336.        
  337.    DriveSpace 3 makes more drive space by compressing files tighter. It
  338.    does so using Compression Agent, which gets automatically scheduled in
  339.    System Agent when you install MS Plus.
  340.    
  341.    Run DriveSpace 3, select the compressed drive, then select
  342.    Advanced/Settings. This selects how DriveSpace writes data to the
  343.    compressed drive on the fly. As MS recommends, don't use HiPack on
  344.    '486 class computers. I won't even use it on Pentium-75s. "Standard"
  345.    is best for all '486 machines or better, though a slow '486 can
  346.    benefit from the "None until..." setting. Use "None" on all '386 class
  347.    machines.
  348.    
  349.    Now, DriveSpace 3 can uncompress data faster than it can compress it,
  350.    so it makes sense to try to re-compress the drive during idle moments,
  351.    like overnight. Compression Agent does this.
  352.    
  353.    Either in System Agent, or in Accessories/System Tools, run
  354.    Compression Agent and hit its Settings button. For Pentiums faster
  355.    than 100 MHz, you could try UltraPack, but I doubt you'll get a whole
  356.    lot of extra disk space from it. All '486 systems can benefit by
  357.    completely turning off UltraPack and specifying HiPack for the rest of
  358.    the files (basically meaning "All of them".) Generally, reading back
  359.    HiPacked files is quick, so you can specify that for even '386 class
  360.    machines, but if you really can't handle the decrease in speed, use
  361.    "Store them uncompressed".
  362.    
  363.    A re-compression run does take a LONG time, so do it overnight. Use
  364.    System Agent to schedule re-compression, say, once a month, and
  365.    schedule a thorough disk scan about an hour before Compression Agent
  366.    runs. A Defrag after Compression Agent wouldn't hurt, but schedule it
  367.    for a LONG TIME after Compression Agent.
  368.  
  369.      * 11.9.2. Why on slow computers, you should use "No compression" and
  370.        still use DriveSpace 3 
  371.        
  372.    It handles bigger hard drives (compressed volumes larger than 512 MB)
  373.    
  374.    It reduces wasted disk space (for files smaller than 512 bytes, it
  375.    only occupies 512 bytes, regardless of logical cluster size)
  376.    
  377.    It won't eat CPU time if you turn compression off
  378.    
  379. ------------------------------
  380.  
  381. Subject: 11.10. Top ten mistakes using disk compression
  382.    
  383.    10. Running your DOS games outside of Win95 (Not enough memory)
  384.    
  385.    9. Deleting the DRVSPACE.001 file (Fortunately, Win95 has a safety
  386.    mechanism for that!)
  387.    
  388.    8. Deleting the DRVSPACE.BIN file
  389.    
  390.    7. Using an old DOS compression program
  391.    
  392.    6. Using a DOS driver for your IDE CD-ROM and DriveSpace (Get Win95
  393.    drivers for the IDE port and it'll find the CD-ROM)
  394.    
  395.    5. Not using ScanDisk regularly (Use System Agent to do automatic disk
  396.    scans)
  397.    
  398.    4. Setting your estimated compression ratio higher than your real one
  399.    (Then installing a big game...)
  400.    
  401.    3. Using UltraPack on a '386 computer
  402.    
  403.    2. Using Norton Disk Doctor for Win95 on DriveSpace 3 drives (ScanDisk
  404.    is more reliable... Symantec released two patch sets to fix Norton
  405.    Utilities)
  406.    
  407.    1. Compressing your whole hard drive
  408.    
  409. ------------------------------
  410.  
  411. Subject: 11.11. Top ten misconceptions regarding DriveSpace 3 from MS Plus
  412.    
  413.    10. Norton Utilities for Win95 works on it (Sorry... it reported false
  414.    errors on mine!)
  415.    
  416.    9. It's faster than "DriveSpace 2" (At least not at first...)
  417.    
  418.    8. I need a Pentium-133 to use it (Just don't use UltraPack)
  419.    
  420.    7. It eats more conventional memory (Actually, it eats NONE under
  421.    Win95, if set up properly)
  422.    
  423.    6. I can compress my whole drive with it (Yeah... then try
  424.    re-installing Win95)
  425.    
  426.    5. It's useless on '386 machines
  427.    
  428.    4. It makes my computer unstable (use System Agent to schedule disk
  429.    scans)
  430.    
  431.    3. A virus can wipe out the system (A nasty virus could wipe out the
  432.    system, compressed or not)
  433.    
  434.    2. MS deliberately crippled Win95's built-in DriveSpace to make us buy
  435.    MS Plus
  436.    
  437.    1. It's the best compression program for Win95 (Actually, it's the
  438.    ONLY one... heh heh... Stac, you lose this round)
  439.  
  440. --
  441. ==============================================================================
  442. = I am Gordon of Winterpeg. Junk mail is futile.          Post MakeMoneyFast =
  443. = Find out why: http://spam.abuse.net/spam/      Or eat pink meat from a can =
  444. = World's best computer: http://www.amiga.de/          they're both the same =
  445. = Windows 95 FAQ: http://www.orca.bc.ca/win95/             http://ga.to/mmf/ =
  446. ==============================================================================
  447.  
  448.