First:
the other topic, discussing the scamsters at DiskTrix claiming that NTFS compression is oh-so-über-fantastic (and not even revealing that their "OMFG SPEED UP WINDOZE!!!11! one one" trick is NTFS compression until you pay them ca$h).
With that said, NTFS compression isn't a hack, and it
can have some good uses; but just like
Josh, I'd never enable it systemwide. For some things it's decent enough though, like compressing the contents of the PlatformSDK
include folder. I made a copy of this folder, enabled NTFS compression for it, made sure that both the compressed and uncompressed files were defragmented (sysinternals'
contig tool), and then rebooted so I was sure the filesystem cache was empty.
Here's the results of "
md5sum -b *" in the folders, timed with "timeit.exe" from the Windows Resource Kit:
Version Number: Windows NT 5.1 (Build 2600)
Exit Time: 3:19 pm, Tuesday, September 4 2007
Elapsed Time: 0:00:02.703
Process Time: 0:00:00.484
System Calls: 136548
Context Switches: 130067
Page Faults: 13608
Bytes Read: 102010609
Bytes Written: 0
Bytes Other: 128204
-compressed
Version Number: Windows NT 5.1 (Build 2600)
Exit Time: 3:20 pm, Tuesday, September 4 2007
Elapsed Time: 0:00:04.437
Process Time: 0:00:00.375
System Calls: 135903
Context Switches: 132015
Page Faults: 13701
Bytes Read: 102214521
Bytes Written: 0
Bytes Other: 133980
-uncompressed
So about twice the speed to read in the files... 10,000rpm raptor drive and AMD64x2 4400+ CPU. Disk usage:
49.299.474 bytes, taking up
18.926.984 bytes on disk, volume cluster size: 4kb (gains/savings likely to be different with different cluster size because of how NTFS compression works).
Thing is, the PlatformSDK include folder is "pretty huge" considering it's plain text, but even that kind of "plain huge" is <50 megabytes, and under normal use (ie., compiling apps) it's probably going to be cached most of the time, so it's not that big a deal imho. And you'd be hard pressed to find real-life situations where you can get better results than this and actually feel the effect.
Gonna reboot and post stats for the PlatformSDK "lib" folder too...