logoalt Hacker News

atonsetoday at 2:59 PM2 repliesview on HN

After watching a video about how the filesystems are > 2x faster (and testing this myself in my mac mini vs a linux machine), I feel like Apple is leaving a lot on the table, and I hope that they get APFS to be as fast as the linux filesystems.

Because otherwise a lot of this hardware (including their blazing fast SSDs) is wasted. Cuz my M1 mac mini is awesome otherwise.


Replies

TheJoeMantoday at 3:23 PM

I took a peek into APFS a bit ago [1] because I (stupidly) yanked a usb SSD before it was unmounted and corrupted it. Reading the documentation, it seems to have many "cool" features which just aren't fully exposed/utilized in the OS, and there is a lack of API tooling.

For example: it is copy-on-write, and my corruption happened in the superblock checkpoint. There is no built-in command in Disk Utility to "mount" an older checkpoint (and accepting a small amount of dataloss). Also the "First Aid" command allegedly runs volume repair top-down when it is recommended to do it inside-out.

[1] https://www.ntfs.com/apfs-structure.htm

show 1 reply
snazztoday at 4:52 PM

Is APFS that much slower than ZFS or btrfs (more comparable Linux file systems) or just ext4? Btrfs is noticeably slower than ext4, but at least all the Mac and Linux file systems are way faster than file operations on Windows :)