Buttering Up Linux File Systems Page 2


Want the latest storage insights?

Download the authoritative guide: Enterprise Data Storage 2018: Optimizing Your Storage Infrastructure

Back to Page 1

Is BTRFS Enterprise-Ready?

So could this be the enterprise-class file system that the Linux world craves, one that could give ZFS a run for its money? Some are saying that it includes more features and better performance than its Sun rival. However, this is largely hypothetical, as ZFS is up and running successfully in many enterprises while BTRFS is not quite enterprise-ready yet.

"BTRFS and ZFS certainly have conceptual similarities, although BTRFS is still very much a work in progress," said Haff. "But it will be some time, most likely years, before it is ready for enterprise production deployments."

So how is BTRFS doing in the meantime? Early benchmarks show that it has a ways to go on performance, though it currently delivers around the same level on Linux as ext4 on reads and writes. The hope is that it will rival ZFS in terms of snapshot and checksum functionality. ZFS copy-on-write snapshots are made every time data changes, and new data is also checksummed for the sake of validity in order to prevent problems with data corruption. All of this and more has been added to BTRFS, which has already been merged into the Linux kernel.

But Sun won't exactly be sweating. It may be years before any of these emerges from the development phase into the mainstream.

"BTRFS is speculative, with production deployments even in the 2011 or 2012 timeframe seeming optimistic given the slow cadence of file system roll outs," said Haff. "Sun took a good couple of years to start seriously rolling out ZFS even after it was nominally ready."

Red Hat Signs On

One Linux vendor already incorporating these new file systems into its wares is Red Hat. Fedora is a Red Hat-sponsored open source Linux distribution, available for free download. Fedora 11 was released last month. It acts as a technology foundation for Red Hat Enterprise Linux (RHEL). Both BTRFS and ext4 are in Fedora 11.

"Ext4 is the default file system in Fedora 11 and all new users will automatically be ext4 users unless they take extra measures to choose a non-default file system," said Ric Wheeler, file system kernel manager at Red Hat. "BTRFS is built into Fedora 11, but in a way that requires a special boot time option to enable since it is still very much an experimental file system at this point and is not intended to be used for user's critical data."

Red Hat seems happy to forward the experimental line while refusing to commit wholly to any one file system. While Fedora 11 is on ext 4, Red Hat Enterprise Linux uses Ext3 by default. Further, Fedora supports other file systems such as XFS, which Wheeler describes as being feature-rich and well tested. Ext4 is a technical preview in RHEL today and BTRFS is not current supported at all.

"RHEL takes a more cautious approach," said Wheeler. "Unlike Fedora users who strive to get the newest and most cutting-edge features, our RHEL user base requires more mature technology."

He also pointed out that neither of the new Linux file systems are a direct competitor with Red Hat's Global File System. GFS provides a building block for high-availability clusters, as multiple servers can read and write concurrently to the same file system, normally directly over a shared storage fabric such as Fibre Channel. Neither BTRFS, ext4 or even ZFS supports clustered operations. Thus RHEL uses ext3 for non-clustered workloads and GFS for clustered users. NFS is also harnessed in various instances.

"Which file system is chosen is very much a case-by-case decision," said Wheeler. "As ext4 and BTRFS mature, we will learn which of them are best tailored to specific enterprise workloads. Any user of a file system can test and tune a file system with their particular workload and engage in the development process."

That said, he is enthusiastic about BTRFS and believes it could be ready for production use by some cutting-edge users next year.

"Most exciting are the new features that allow file systems to dynamically self-tune to various types of storage devices such as SSD devices or large RAID arrays," said Wheeler.

Follow Enterprise Storage Forum on Twitter

Submit a Comment


People are discussing this article with 0 comment(s)