Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • 1
    I remember reading sometime in the past that NTFS compression is optimised to compress fixed blocks of data (disk clusters?) As quickly as possible and it wouldn't surprise me that it is independently compressing each block in a different thread. That way you could end up with incredibly high aggregate data rates, especially on modern multi-core processors. Multithreading compression would have significant benefits in data canters where high core counts are more common and could provide real boosts to data throughput as a result.
    – Mokubai
    Commented Jun 7, 2023 at 15:50
  • does CrystalDiskMark create a normal file on the NTFS partition or does it access file blocks directly?
    – phuclv
    Commented Jun 7, 2023 at 16:21
  • It would also be interesting to monitor actual disk space usage during the test so that you can get an idea of space savings compared to speed improvements.
    – Mokubai
    Commented Jun 7, 2023 at 16:40
  • 2
    @Mokubai, Yes 16 cluster blocks (max 4KB clusters). I recall from using RtlCompressBuffer in my NTFS file recovery tool to recover compressed files. Commented Jun 7, 2023 at 19:44
  • 2
    @Mokubai Pretty much all filesystems that use transparent compression, barring a few rare cases, work like that, NTFS included. That said, the compression block size is usually larger than the filesystem’s typical allocation unit, because the overhead is just too high otherwise. One of the interesting side effects of this is that random read/write performance is usually poor with transparent compression for small op sizes, but significantly better for large ops (because you have to [de]compress a full compression block regardless for the small ops). Commented Jun 8, 2023 at 1:04