ZFS versus RAID: Eight Ironwolf disks, two filesystems, one winner:
This has been a long while in the making—it's test results time. To truly understand the fundamentals of computer storage, it's important to explore the impact of various conventional RAID (Redundant Array of Inexpensive Disks) topologies on performance. It's also important to understand what ZFS is and how it works. But at some point, people (particularly computer enthusiasts on the Internet) want numbers.
First, a quick note: This testing, naturally, builds on those fundamentals. We're going to draw heavily on lessons learned as we explore ZFS topologies here. If you aren't yet entirely solid on the difference between pools and vdevs or what ashift and recordsize mean, we strongly recommend you revisit those explainers before diving into testing and results.
And although everybody loves to see raw numbers, we urge an additional focus on how these figures relate to one another. All of our charts relate the performance of ZFS pool topologies at sizes from two to eight disks to the performance of a single disk. If you change the model of disk, your raw numbers will change accordingly—but for the most part, their relation to a single disk's performance will not.
[It is a long — and detailed — read with quite a few examples and their performance outcomes. Read the 2nd link above to get started and then continue with this story's linked article.--martyb]
Previously:
(2018-09-11) What is ZFS? Why are People Crazy About it?
(2017-07-16) ZFS Is the Best Filesystem (For Now)
(2017-06-24) Playing with ZFS (on Linux) Encryption
(2016-02-18) ZFS is Coming to Ubuntu LTS 16.04
(2016-01-13) The 'Hidden' Cost of Using ZFS for Your Home NAS
(Score: 5, Interesting) by Mojibake Tengu on Thursday May 21 2020, @01:49PM (8 children)
I would not call a 10T dedup with 1G RAM a configuration. It is
stupidbadly done misconfiguration, actually. ZFS requires 8G RAM by default minimum recommendation on FreeBSD and we all know why.Porting it to a toy operating system which lacks important facilities like jails and delegations was a big mistake.
While ZFS verily is the only true filesystem on Linux, it will not bring joy to its uncultured users.
Respect Authorities. Know your social status. Woke responsibly.
(Score: 3, Funny) by Runaway1956 on Thursday May 21 2020, @03:03PM
No worries, mate. Covid19 is here to culture everyone!!
(Score: 2, Insightful) by Anonymous Coward on Thursday May 21 2020, @03:10PM
ZFS works just fine with lower than 8GB as long as you don't enable deduplication. Nowadays it's really a moot issue though. My next toaster will probably have 32 gigs!
(Score: -1, Troll) by Anonymous Coward on Thursday May 21 2020, @05:16PM (4 children)
Wow, didn't realize FreeBSD is now so bad it needs 8GB RAM just for a filesystem. Thank goodness the talented developers are on Linux.
(Score: 2) by srobert on Thursday May 21 2020, @06:21PM (2 children)
It doesn't. There's a FreeBSD laptop on the kitchen table. It's got ZFS and only 4G Ram. My wife uses it for daily tasks. A single disk and not mirroring anything so under those circumstance one might ask, "what's the advantage over UFS?". I'm not sure there's an advantage, but after running that way for years, I can say there's no definitely no disadvantage.
(Score: 2, Informative) by DECbot on Thursday May 21 2020, @10:41PM (1 child)
The advantage is zfs send to do backups of her laptop--with encryption on both the dataset and the data in transfer. Also, if you do automatic snapshots before any software is installed, updated, or removed you could then always undo those mistakes with a quick reboot and rollback instead of hours of fixing a botched install, update, deletion, etc.
Performance, you could probably argue UFS is as performant or better, but the administration aspects of ZFS are superior.
cats~$ sudo chown -R us /home/base
(Score: 0) by Anonymous Coward on Thursday May 21 2020, @11:05PM
ZFS wins in performance too, even if benchmarks say differently. CoW, caching, etc. make ZFS perform very well as a desktop filesystem.
(Score: -1, Troll) by Anonymous Coward on Thursday May 21 2020, @07:05PM
Wow, didn't realize FreeBSD is now so bad it needs 8GB RAM just for a filesystem. Thank goodness the talented developers are on Linux."I don't understand the topic but I have stupid things to say"
^^I fixed it for you.
(Score: 1) by tyler on Friday May 22 2020, @11:06AM
I don't consider FreeBSD a toy operating system:
https://en.wikipedia.org/wiki/List_of_products_based_on_FreeBSD [wikipedia.org]
https://www.freebsdfoundation.org/testimonial/netflix/ [freebsdfoundation.org]
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/nutshell.html#introduction-nutshell-users [freebsd.org]