Jump to content

geom raid5

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 24.81.130.107 (talk) at 10:58, 14 May 2008 (Comparing to other Software RAID5 solutions: - source needed). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.


geom_raid5 is a storage module created for the FreeBSD operating system. It facilitates RAID5 functionality without the need of a hardware RAID controller.

geom_raid5 allows storage of large amounts of data to be protected against disk failure while providing good throughput performance. Like other FreeBSD storage modules, geom_raid5 utilizes the GEOM framework. It is built as a kernel loadable module (KLD) which allows it to run inside the FreeBSD kernel. The module can be compiled on FreeBSD version 5 and newer, including the in-production 7-CURRENT branch. geom_raid5 is also incorporated into FreeNAS, an Operating System dedicated to Network Attached Storage. Its author, Arne Woerner, has released the software under the BSD license, making geom_raid5 OSI-compliant open source software.

Comparing to other Software RAID5 solutions

geom_raid5 distinguishes itself by providing both advanced features and high performance. While the theoretical maximum write speed is <speed of slowest disk> · (<number of disks> - 1), the latest version is able to achieve about 80% of that theoretical maximum. This is in huge contrast with other software RAID5 solutions[citation needed] which sometimes achieve less than 10% of that throughput combined with significantly higher CPU utilization.

The reason for this huge difference lies in geom_raid5's design. In order to write data to a RAID5 volume, data must often first be read in order to calculate the parity information that protects against data loss in case of a single disk failure. Using request combining a full stripe block can be 'collected' so a read is no longer required. This means the harddrive heads do not need to change position every time but can write data contiguously, theoretically at full speed.

Of course, this only works with sequential transfers and sometimes even then the filesystem does not write contiguously. But using request combining, geom_raid5 manages to outperform any software RAID5 solution to date, capable of reaching write-speeds associated with hardware RAID5 on budget-level x86 hardware.

Currently the module is being finalized. When a stable version is released the author will release further information about its design and disclose benchmarks. In particular, benchmarks showing geom_raid5 performance versus ZFS's RAID-Z are long awaited by users.