What are the advantages APFS has over ZFS, for lightweight systems or otherwise?
What are the advantages APFS has over ZFS, for lightweight systems or otherwise?
https://arstechnica.com/gadgets/2016/06/a-zfs-developers-ana...
Dominic Giampaolo wrote BeFS, Spotlight, and now APFS.
In my 15-ish years running ZFS at home, the only time I’ve had corruption was when there was also noticeable hardware issues (cables, drives, enclosures). ZFS made them easy to deal with, but wouldn’t have helped if I wasn’t already running RAIDZ or mirrors. I’ve not looked recently, but in the past ZFS was extremely RAM hungry and relatively CPU expensive, not necessarily something optimized for mobile devices or battery life.
For single-disk non-checksummed, non-deduplicated storage, it's a lot of wasted code that a device with a "mere" gigabyte of RAM doesn't need. So APFS hits most of their needs: volume management + journal + better disk layout for SSD.
ZFS features like dedupe and data protection require a lot of RAM and run in the background;
filesystems optimized for different medias (HDD, SDD, WORM, etc) make different design choices.