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. Phoronix Turns 11 Years Old Next Week: How Should We Celebrate?
  2. Ubuntu Community Council Reaffirms Its Decision Against Kubuntu's Leader
  3. Future Plans For Changing Fedora's Installer
  4. Confusion Mounts Over Wayland's Actual License
  5. GNOME's Mutter Now Supports Drag-n-Drop To/From Wayland & X11
  6. Wine 1.7.44 Works On More 64-bit ARM Support
  7. Phoronix Test Suite 5.8 Milestone 5 Brings Near Final "Belev" Experience
  8. For AMD Users, Linux 4.2 Will Bring The New AMDGPU Driver & VCE1 For Radeon
  9. Atomic Mode-Setting Still Baking For Samsung's Exynos DRM Driver
  10. Ubuntu Phone Update This Month Brings Many Improvements
Latest Articles & Reviews
  1. Btrfs RAID 0/1/5/6/10 Five-Disk Benchmarks On Linux 4.1
  2. Opening The Gates To Our Daily Open-Source Linux Benchmark Results
  3. The Latest Features For Linux Performance Management + Benchmark Monitoring
  4. Noctua NH-U12DX i4 + NF-F12
Most Viewed News This Week
  1. NVIDIA's Proprietary Driver Is Moving Closer With Kernel Mode-Setting
  2. Zapcc Claims To Be A "Much Faster C++ Compiler"
  3. OpenWRT 15.05 Preparing Improved Security & Better Networking
  4. Features Added To Mesa 10.6 For Open-Source GPU Drivers
  5. Ubuntu's LXD vs. KVM For The Linux Cloud
  6. The Latest Linux Kernel Git Code Fixes The EXT4 RAID0 Corruption Problem
  7. Friction Building Around An Ubuntu Community Council Decision
  8. Fedora 22 Is Being Released Next Tuesday