1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking Benchmarking Platform
Phoromatic Test Orchestration

Can DragonFlyBSD's HAMMER Compete With Btrfs, ZFS?

Michael Larabel

Published on 7 January 2011
Written by Michael Larabel
Page 1 of 3 - 29 Comments

The most common Linux file-systems we talk about at Phoronix are of course Btrfs and EXT4 while the ZFS file-system, which is available on Linux as a FUSE (user-space) module or via a recent kernel module port, gets mentioned a fair amount too. When it comes to the FreeBSD and PC-BSD operating systems, ZFS is looked upon as the superior, next-generation option that is available to BSD users. However, with the DragonFlyBSD operating system there is another option: HAMMER. In this article we are seeing how the performance of this original creation within the DragonFlyBSD project competes with ZFS, UFS, EXT3, EXT4, and Btrfs.

HAMMER is a file-system created by the DragonFlyBSD developers themselves and is the default choice when installing this BSD operating system, but UFS remains a choice too. The one sentence description about this file-system is that "[HAMMER] provides instant crash recovery, multi-volume file systems, integrity checking, fine grained history/undo, networked mirroring, and historical snapshots." HAMMER uses no fsck, can be sized up to one Exabyte, supports up to 256 volumes of four petabytes in size, coarse-grained history provided by snapshots with up to sixty days history, live snapshot access, and data/meta-data is CRC-checked. Like Btrfs, HAMMER snapshots can be taken at any time, can be accessed live, and boasts a similar set of features. Other HAMMER file-system features include the ability to split it up into multiple pseudo file-systems, there is support for back-up pseudo file-systems, NFS-exportable snapshots, and there is support for slave-to-slave mirroring streams.

The HAMMER file-system has been available since DragonFlyBSD 1.11 while it was made official with DragonFlyBSD 2.0 in 2008. While it's not common for us to benchmark or write about DragonFlyBSD, a request came in recently to benchmark the HAMMER file-system so we found this another good opportunity to test out the latest Phoronix Test Suite 3.0 "Iveland" and OpenBenchmarking.org capabilities. DragonFlyBSD 2.8.2 (the latest release) was benchmarked in both HAMMER and UFS configurations in a stock configuration. PC-BSD was then tested with ZFS and UFS; finally, Ubuntu 10.10 was then run with the EXT3, EXT4, and Btrfs file-systems.

DragonFlyBSD still uses a uni-processor kernel configuration by default and when we had used the SMP kernel atop DragonFlyBSD 2.8.2 (and later also built a x86_64 SMP kernel configuration from the 2.9-development code), the SMP performance under our setup was actually much slower than with its UP kernel. As a result, we used the stock DragonFlyBSD UP kernel and when benchmarking PC-BSD and Ubuntu we disabled the SMP support there.

The test system was a Lenovo ThinkPad T61 notebook with an Intel Core 2 Duo T9300 processor, 4GB of system memory, a 100GB Hitachi HTS72201 SATA HDD, and NVIDIA Quadro NVS 140M graphics. The 64-bit versions of DragonFlyBSD 2.8.2, PC-BSD 8.1, and Ubuntu 10.10 were the operating systems used for this file-system benchmarking.

The disk/file-system tests from the Phoronix Test Suite included BlogBench, Gzip, PostMark, Unpack Linux, and Threaded I/O Tester as they are compatible with both Linux and BSD operating systems.

Latest Linux News
  1. VirtualBox 5.0 RC3 Brings VMM Fixes, Takes Care Of Some KDE DnD Problems
  2. Ubuntu Is Finally Fixing Its Annoying GRUB Setting
  3. Firefox 39.0 Brings New Features, HTML5 Changes
  4. OPNsense 15.7 Released As Fork Of Pfsense
  5. The Less-Powerful Intel Compute Stick With Ubuntu Will Soon Ship
  6. Kodi 15.0 Release Candidate 1 Arrives
  7. Fedora 23: Python 3 Default Approved; Netizen Spin Rejected
  8. GNOME Shell & Mutter Just Landed More Wayland Improvements
  9. Ubuntu MATE Announces A Partnership With A PC Hardware Vendor
  10. Linux 4, GCC v. Clang & Vulkan Were Among The Hot Stories So Far This Year
Latest Articles & Reviews
  1. 6-Way File-System Comparison On The Linux 4.1 Kernel
  2. How KDE VDG Is Trying To Make Open-Source Software Beautiful
  3. Attempting To Try Out BCache On The Linux 4.1 Kernel
  4. CompuLab's Fitlet Is A Very Tiny, Fanless, Linux PC With AMD A10 Micro
Most Viewed News This Week
  1. Kubuntu 15.10 Could Be The End Of The Road
  2. KDBUS Won't Be Pushed Until The Linux 4.3 Kernel
  3. Pinos Is For Linux Video What PulseAudio Is For Audio
  4. The State & Complications Of Porting The Unity Editor To Linux
  5. The Staging Pull For Linux 4.2: "Big, Really Big"
  6. Latest Rumor Pegs Microsoft Wanting To Buy AMD
  7. "PulseVideo" Coming To Complement PulseAudio?
  8. Exciting Features Merged So Far For The Linux 4.2 Kernel