Flexible Architecture of Disk Array

Hai Jin, Jiangling ZrangJournal of the Magnetics Society of Japan 1997

Abstract

Redundant Array of Independent Disks (RAID) is the most efficient way to avoid the bottleneck problem between I/O subsystem's performance and the CPU processing power. This paper describes a novel RAID architecture, called FlexArch, which can meet different requirements in different application environments. It is very convenient for different users to define and construct a kind of RAID architecture according to its application environment. Two kinds of special structures, RAID_table and RAID_map, are proposed in order to implement FlexArch. Based on these two structures, the scheduling algorithms for the read/write operations on FlexArch RAID are also given.

Introduction: The I/O Performance Gap

In the late 1990s, computer architecture faced a critical imbalance: while CPU processing power grew exponentially, disk performance remained limited by mechanical seek times and rotational delays. RAID systems emerged as the standard solution to bridge this "I/O gap." However, traditional RAID implementations often forced a "one-size-fits-all" approach. Administrators typically had to choose between the high performance of RAID 1 (mirroring) or the cost-efficiency of RAID 5 (distributed parity) for an entire array, regardless of varying application needs.

FlexArch addresses this by introducing a hybrid architecture that allows a single disk array to be partitioned into multiple logical regions, each operating under a different RAID level tailored to specific tasks within a single hardware setup.

The FlexArch Architecture

The core innovation of FlexArch is the application of operating system-style partitioning to physical disk space. Instead of viewing a disk array as a monolithic block, FlexArch treats disk blocks as a pool that can be logically grouped into "Regions."

Management Structures

To manage this flexibility, the system relies on two primary data structures:

  1. RAID_table: This structure defines the logical regions. Each entry specifies a region's starting address, size, block size, and its Architecture_Type (e.g., RAID 0, 1, 5, or Parity Logging).
  2. RAID_map: Stored in non-volatile memory, this map tracks the status of every individual block in the array, identifying it as data, parity, logging, spare, or failed.
Legend for block types used in FlexArch layouts.

Scheduling and I/O Operations

FlexArch utilizes specialized scheduling algorithms that act as a translation layer. When a host sends an I/O request, the controller looks up the target region in the RAID_table to determine the appropriate striping or parity logic. This allows the system to handle complex requests across a heterogeneous array seamlessly, including error recovery and reconstruction steps.

Hybrid RAID Layouts

The power of FlexArch lies in its ability to support multiple RAID strategies simultaneously on the same physical disks. For example, a database application could use a RAID 1 region for high-speed transaction logs and a RAID 5 region for large historical data tables.

Example of a hybrid RAID layout across five disks, showing data (D), parity (P), and logging (L) blocks.

As shown in the figure above, different sections of the disks are allocated to different RAID architectures. This includes standard data striping, distributed parity, and advanced techniques like Parity Logging, which mitigates the RAID 5 "small write problem" by buffering parity updates in a dedicated log before flushing them to the main array.

Discussion and Limitations

While FlexArch offers unprecedented flexibility, it introduces new challenges:

  • Reconstruction Overhead: Dynamically changing a region's architecture (e.g., from RAID 5 to RAID 1) is computationally expensive and currently requires backing up data to auxiliary storage before reconfiguration.
  • Controller Complexity: Managing a detailed RAID_map in non-volatile memory requires high-performance controller hardware to avoid becoming a new bottleneck.
  • Logging Bottlenecks: In regions using parity logging, I/O may be blocked when the log disk fills up and requires flushing, potentially causing latency spikes.

Conclusion

FlexArch represents a significant step toward software-defined storage. By abstracting the physical disk array into logical regions with independent RAID policies, it allows system administrators to optimize for performance, capacity, and reliability within a single hardware footprint, effectively breaking the constraints of traditional fixed-RAID architectures.

Summary updated

BibTeX
@article{jin1997flexible,
  author = {Hai Jin and Jiangling ZRANG},
  title = {{Flexible Architecture of Disk Array}},
  journal = {Journal of the Magnetics Society of Japan},
  year = {1997},
  doi = {10.3379/jmsjmag.21.s2\_351},
}
Figure