Properties: Compress to save Disk Space


  1. Posts : 52
    Microsoft Windows 10 Pro Education N 10.0.19044.2130
       #1

    Properties: Compress to save Disk Space


    If I enable Compress to Save Disk Space from a file's properties, what is the trade-off? How significant is the HDD/CPU uncompression process (assuming that's how windows does it)
      My Computer


  2. Posts : 5,452
    Windows 11 Home
       #2

    It will increase fragmentation and CPU usage. How much, that is individual for each computer depending on the hardware/software. You might not notice any difference, but lets say your CPU will use 50% instead of 10%. Run some benchmarks, then compress and then run them again. You can decompress easily, if needed.
      My Computer


  3. Posts : 31,666
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #3

    TairikuOkami said:
    It will increase fragmentation...
    For another thread I tested that...

    As an experiment I have just copied 6GB of video files to an ntfs-formatted 8GB USB. As you'd expect, initially Defrag said 0% fragmentation. Then I applied ntfs compression to the whole drive, resulting in it being 24% fragmented. Uncompressing the files again made little difference, still 24% fragmented.
    Problem with audio and video files playback after ntfs folder decompre

    ...of course, you could always defrag after compression.

    As for speed, the trade-off is increased CPU use against decreased disk access. If the disk is a 'spinner' then a highly compressed file may actually be quicker to access (text compresses very well). Jpegs and mp4s don't compress much, so may be slower to access. Either way, you're not likely to notice a big difference with a reasonably fast CPU.

    I once ran an old slow XP machine (0.75Ghz CPU) where the entire HDD used ntfs compression. It was slower, but no by much.
    Last edited by Bree; 31 May 2017 at 05:09.
      My Computers


  4. Posts : 52
    Microsoft Windows 10 Pro Education N 10.0.19044.2130
    Thread Starter
       #4

    I think I should disable it as much as I can on this old laptop slow bottlenecking hard drive of mine. Even though you do have that helpful experience Bree, I want to get as much performance as I can.

    What steps should I take in order to disable it? What do you guys recommend I do?
      My Computer


  5. Posts : 52
    Microsoft Windows 10 Pro Education N 10.0.19044.2130
    Thread Starter
       #5

    Beuller?

    My first guess as far as disabling is to just select some root folders and turn this off, ye?
    Are there any negative side effects I should be aware of though?
      My Computer


  6. Posts : 68,968
    64-bit Windows 11 Pro for Workstations
       #6

    Hello @blksith0, :)

    It basically just comes down to if you need to save disk space or not.

    If not, then there's no need to compress.

    If yes, then compressing will save space with a slight performance cost when accessing them.

    Compress or Uncompress Files and Folders in Windows 10 Windows 10 Customization Tutorials
      My Computers


  7. Posts : 31,666
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #7

    blksith0 said:
    Are there any negative side effects I should be aware of though?
    Well, decompressing an already compressed file will increase fragmentation, that may well be noticeable "on this old laptop slow bottlenecking hard drive of mine". You'd have to defrag afterwards. In fact, defragmenting a particularly slow drive may be your best bet for improving 'performance' anyway.

    Actually having compressed files on the drive doesn't slow the system down, it's accessing them that may be slower. Having compressed files doesn't run processes in the background all the time, the ntfs routines that perform compression are already loaded, but will only run when you read or write to a compressed file or folder.

    If you need the space, then compress files or folders you hardly ever use. If you don't, just do a Disk Clean-up and defragment it.
      My Computers


  8. Posts : 15,487
    Windows10
       #8

    Personally, I would not use that option - if your OS gets corrupted, then retrieving data is more complicated if you need to remove drive and put it in another pc.

    You can compress the OS using compactos option. Data is not compressed. In the end, buying a larger drive is better.

    Compress or Uncompress Windows 10 with Compact OS Windows 10 General Tips Tutorials

    To compress OS only:
    From an administrative command prompt, simply use the commands:

    Compact.exe /CompactOS:query This will query Windows to see if CompactOS is enabled or not

    Compact.exe /CompactOS:always
    This will enable CompactOS

    Compact.exe /CompactOS:never
    This will disable CompactOS
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 22:46.
Find Us




Windows 10 Forums