Re:MacOS may lose data on APFS-formatted disk images
by temprature on Sunday February 18, 2018 @07:43AM
(#16405789)
Performance is only an issue if your disk can write faster than your CPU can hash. hammer2 changed its hash a couple of years ago because this started happening with newer NVMe drives[0], but before that disk writes weren't CPU-bound.
[0] http://lists.dragonflybsd.org/pipermail/commits/2016-June/50...
Re:MacOS may lose data on APFS-formatted disk images
by jchb on Sunday February 18, 2018 @09:48AM
(#16406290)
What about:
* Disk reads may unnecessarily trash the CPU caches, because CPU will need to verify the checksum when the DMA read is done, even if the app isn't going to process the data immediately afterwards
* Battery life - without checksums the CPU can stay mostly idle, and go into a lower power mode, while the disk controller does its job
Edit: macOS disk images do have a checksum of the whole image data though. The issue mentioned in the article seems to be caused by an oversight in the disk image helper app, rather than in the APFS filesystem itself.