4 ms·
I like the idea. Would there be any expected performance differences between running ZFS on a Pi using FreeBSD instead of Ubuntu?
by tosh 4y ago
I like the idea. Would there be any expected performance differences between running ZFS on a Pi using FreeBSD instead of Ubuntu?
- yjftsjthsd-h 4y agoThat feels like something we'd need to actually benchmark for real to test.
- agilob 4y agoThis is rasbperry pi 1 the post is about. It's not a super computer. Running updates and unpacking archives chokes the SD and CPU on official raspbian with ext4. It only has 512MB of memory, so ZFS would be killing it.
- tosh 4y agoIt sounds like FreeBSD also works on the Pi 3 and Pi 4: https://wiki.freebsd.org/arm/Raspberry%20Pi https://wiki.freebsd.org/arm/Raspberry%20Pi
- macshome 4y agoYeah, the pi 1 is really slow for a lot of things these days. While the post mentioned they started this on a pi 1B+, everything else is about running things on model 3 units.
- agilob 4y agoYes, regardless whether RPI1 or 3. These boards are quite weak. I wouldn't want file system to one of the biggest bottlenecks on a running system. I had BRTFS on rpi3 before and don't recommend it. Both FS are CoW.
- wil421 4y agoZFS without mirrored disks is kinda pointless.
- yjftsjthsd-h 4y agoNo it's not; you still get detection of errors (just without correction), compression, arbitrary filesystems in a single pool, and snapshots. ZFS is great regardless of RAID.
- nix23 4y agoExactly, that's why my offline/off-site backups are all zfs, well and encryption and compression (zstd-19), at least i know that something is damaged an can (or not) get it from another backup.
- modderation 4y agoYou can always set copies=2 to work around block-level failures on important datasets. Beyond that, you still get all the other ZFS goodness for management, snapshots, compression, zvols, error detection, send/recv, and so forth. Best of all, you can always throw another disk at it and convert to a mirror if the situation changes.
- trasz2 4y agoI suppose it might look pointless if you need to jump through the hoops to get it running. In FreeBSD ZFS is properly integrated, and ZFS is a perfectly fine default root filesystem; there's no reason not to use it, except eg very memory-constrained virtual machines.
- ggm 4y agoI'd love to know this too. I have a zfs over 4 drives with the radxa sata hat, running ubuntu and I'd much rather run FreeBSD if I could. (Pi4, 8gb) The great thing about zfs is the portability Linux to BSD and vice versa, feature flags noted. I've done it many times on racked servers. The sad thing about the radxa card is that it presents as usb. You don't want to run any raid-like fs over usb if you can avoid it.