HackGh Community Forum
Who Is Online?
Guests : 0
Hidden : 0
Registered : 0
Users Online :
Refresh View the whole list
Are NTFS Compressed Files Decompressed to Disk or Memory? Empty

Top posting users this month
PhAnt0m
Are NTFS Compressed Files Decompressed to Disk or Memory? Left11Are NTFS Compressed Files Decompressed to Disk or Memory? Mid10Are NTFS Compressed Files Decompressed to Disk or Memory? Right11 



Free counters!
Staff Online
Staff Online
Members2155
Most Online179
Newest Member
http://hackgh.forumotion.com/u2252

You are not connected. Please login or register

 » Computer Tricks And Technology Tips » Technology News And Tips » 

Are NTFS Compressed Files Decompressed to Disk or Memory?

View previous topic View next topic Go down  Message [Page 1 of 1]

swiftblack

swiftblack
Support Moderator
Support Moderator
Are NTFS Compressed Files Decompressed to Disk or Memory? 650x300xare-ntfs-compressed-files-decompressed-to-disk-or-memory-00.jpg.pagespeed.gp+jp+jw+pj+js+rj+rp+rw+ri+cp+md.ic.nNebRibf7q

If you are looking for ways to tweak your Windows system to conserve disk space, you might be looking at NTFS compression as an option. But if you choose this option, then how does the decompression process work?

The Question

How does NTFS decompression work in Windows? According to Microsoft, NTFS decompression is done by expanding the file, then using it. That sounds right, but my question is how does this process occur technically?

Does Windows load the compressed file into memory, expand it in memory, then read it from memory? Or does it load the compressed file into memory, expand it to disk or memory, write it to disk, then read it?

I am trying to figure out if I can improve my computer’s performance by using NTFS compression. That way, a slow hard drive or SSD that is unable to handle that many write operations will always have less data to write and read, and the powerful processor that is idling most of the time can decompress the files and improve my computer’s storage speed and health.


Are NTFS compressed files decompressed to disk or memory?




The Answer


Windows decompresses files into memory. Doing it to disk would completely obliterate any speed improvements and would cause a lot of unnecessary disk writing. See the end of this Microsoft blog article on NTFS sparse files and compression.

Are NTFS Compressed Files Decompressed to Disk or Memory? 625x301xare-ntfs-compressed-files-decompressed-to-disk-or-memory-01.jpg.pagespeed.gp+jp+jw+pj+js+rj+rp+rw+ri+cp+md.ic.J-JaIodK5H

Of course, if you are low on memory, the memory used by the decompression process could cause other memory be paged out and written to disk in the page file. Fortunately, only the chunks containing sections that your programs actually read will be decompressed. NTFS does not have to decompress the whole thing if you only need a few bytes.

If your SSD is fast, you are probably not going to get any speed improvements from NTFS compression. It is conceivable that the time your processor spends decompressing data plus the time your disk spends reading the compressed data could add up to be more than the time your SSD takes to read the uncompressed data.

It also depends on the size of the files you work with. The minimum size of a compressible file ranges from 8 – 64 KB, depending on your cluster size. Any files less than that in size will not be compressed at all, but a tiny amount of bookkeeping would be added. If you do a lot of writing to compressed files, you could see a lot of variance in speed due to the compression algorithm used (LZ).





HAPPY NEW YEAR


------------------------------------------------

IF u like my Post..Pls HIT the + button beside it... affraid


[/b][/color]
[Useful Links]
Free Browsing
Betting Hack
Buy A Website
Reset Your Password
Free Cheat Book
[/center]
View user profile

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum