Remix.run Logo
atonse 3 hours ago

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.

TheJoeMan 3 hours ago | parent | next [-]

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

kridsdale1 an hour ago | parent [-]

Claude was super helpful at walking me through the APFS CLI tool to do some more advanced stuff that’s not in the GUI.

snazz an hour ago | parent | prev [-]

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 :)

djfdat 28 minutes ago | parent [-]

Here's a very recent video benchmarking APFS vs ZFS, btrfs, and XFS+: https://www.youtube.com/watch?v=4wVNFaFDIn8