compressing vs compactos


  1. Posts : 1,232
    Windows 10 Pro x64
       #1

    compressing vs compactos


    Guys,

    few questions

    what saves more space compressing or compact os

    i did a few clean installs and one time it was in the compact state another time it wasn't and some times compressing the folder actually made it bigger so just wondering...
      My Computers


  2. Posts : 5,478
    2004
       #2

    What are you asking? Did you look into it and found something you couldn't understand?

    compact /compactos compacts some (but by no means all) files in the C:\Windows directory using the xpress4k algorithm. It does nothing with user files.

    xpress4k is one of the options on the compact command all of which result in smaller compressed files than NTFS, but it is worse than xpress8K, xpress16k or LZX. Conversly xpress* use less CPU to extract than LZX. These other compression options are only avaliable manually where you specify the directory and if you use them the directory prompty forgets it is supposed to be compressed and so no new files are compressed at all.

    Generally speaking NTFS compression is terrible and should not be used these days. You'll have to check performance for yourself but xpress8k or xpress16k will probably be the most efficient for any PC made in the last decade.

    I use xpress16k (for most things) and then flag the directory with default in case I forget to re-do it.

    Something like
    $folder='C:\Users\Whatever'
    compact /c /s /a /f /q /i /exe:xpress16k $folder\*
    then
    compact /c $folder
      My Computer


  3. Posts : 9,790
    Mac OS Catalina
       #3

    It is about the algorithms that Microsoft is using. Windows 10 Feature Focus: CompactOS Compact OS, single-instancing, and image optimization | Microsoft Docs

    CompatOS uses another compression algorithm 4K XPRESS Huffman instead LZNT1 (NTFS compression), so compression is better,
    - files compressed by CompactOS are not shown in blue,
    - compression may make reading and writing files slower due to it loads CPU more strongly.
      My Computer


  4. Posts : 9,790
    Mac OS Catalina
       #4
      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 17:19.
Find Us




Windows 10 Forums