Abstract
We consider the allocation of Virtual Arrays (VAs) in a Heterogeneous Disk Array (HDA). Each VA holds groups of related objects and datasets such as files and relational tables, which have similar performance and availability characteristics. We evaluate single-pass data allocation methods for HDA using a synthetic stream of allocation requests, where each VA is characterized by its RAID level, disk loads, and space requirements. The goal is to maximize the number of allocated VAs and maintain high disk bandwidth and capacity utilization while balancing disk loads. Although only RAID1 (basic mirroring) and RAID5 (rotated parity arrays) are considered in the experimental study, we develop the analysis required to estimate disk loads for other RAID levels. Since VA loads vary significantly over time, the VA allocation is carried out at the peak load period, while ensuring that disk bandwidth is not exceeded at other high load periods. Experimental results with a synthetic stream of allocation requests show that allocation methods minimizing the maximum disk bandwidth and capacity utilization or their variance across all disks yield the maximum number of allocated VAs. HDA saves disk bandwidth, since a single RAID level accommodating the most stringent availability requirements for a small subset of objects would incur an unnecessarily high overhead for updating check blocks or data replicas for all objects. The number of allocated VAs can be increased by adopting the clustered RAID5 paradigm, which exploits the tradeoff between redundancy and bandwidth utilization. Since rebuild can be carried out at the level of individual VAs, prioritizing rebuild of VAs with higher access rates can improve overall performance.
Introduction: The Challenge of Heterogeneous Storage
In traditional storage systems, a disk array is typically configured with a single RAID level. This "one size fits all" approach is often inefficient for complex database applications. For instance, a database might contain "hot" indexes requiring the high performance of RAID1 (mirroring) alongside "cold" logs that only necessitate the space efficiency of RAID5 (parity). Forcing a single RAID level across all data types either wastes performance or sacrifices capacity.
To address this, the authors propose Heterogeneous Disk Arrays (HDAs). An HDA allows different "Virtual Arrays" (VAs) with varying RAID levels to coexist on the same set of physical disks. This architecture enables fine-grained optimization for both performance and availability. However, it introduces a complex management challenge: how to place these VAs across physical disks to ensure that no single disk becomes a bottleneck for IOPS (bandwidth) or runs out of storage (capacity).
Methodology: Allocation as a Vector-Packing Problem
The researchers model the allocation of Virtual Disks (VDs) as a vector-packing problem in two dimensions: bandwidth requirement (IOPS) and capacity requirement (GB). The objective is to balance these two constraints across all available physical disks.
Several single-pass allocation heuristics were evaluated:
- Standard Heuristics: Including Round-Robin, Random, First-Fit, Best-Fit, and Worst-Fit.
- Advanced Heuristics (Min-F1 and Min-F2): These methods aim to minimize the maximum utilization (Min-F1) or the weighted sum of variances (Min-F2) for both bandwidth and capacity across the disk array.
- Degraded Mode Awareness: A critical contribution of this work is accounting for "degraded mode"—the state of the system during a disk failure. The proposed methods calculate the expected load spike on surviving disks before allocation, ensuring stability during rebuilds.
- Clustered RAID5: The study utilizes clustered RAID5, which employs a parity group size smaller than the total number of disks. This provides a tunable parameter (the declustering ratio, $\alpha$) to trade off storage overhead for reduced load during failures.
Experimental Setup
The study utilized a synthetic stream of allocation requests to evaluate the heuristics. The physical environment was modeled after high-performance SCSI drives, specifically the IBM DNES-309170W model.
Workload profiles were categorized into three types: bandwidth-bound (high IOPS), capacity-bound (large storage), and balanced. VA sizes followed an exponential distribution, with mean sizes of 256MB for RAID1 and 768MB for RAID5.
Key Insights and Results
The experimental results highlight several critical aspects of HDA management:
- Bandwidth as the Primary Bottleneck: In database applications (e.g., OLTP), disks typically reach their IOPS limits long before their physical capacity is exhausted. Consequently, effective allocation strategies must prioritize bandwidth balancing.
- The "Failure Tax": Maintaining performance during a disk failure significantly limits system capacity. To guarantee stability in degraded mode, the system can support only about half as many VAs as it could in normal operation, primarily due to the doubling of read loads in RAID5 during failures.
- Heuristic Performance: Advanced heuristics like Min-F1 and Min-F2 consistently outperformed simpler methods like Round-Robin or Random. These advanced methods achieved approximately 90% disk bandwidth utilization in bandwidth-bound scenarios.
- Clustered RAID5 Benefits: Implementing clustered RAID5 allowed for up to a 50% increase in the number of allocated VAs in scenarios where the system was bottlenecked by bandwidth during degraded mode.
Conclusion and Future Directions
This research demonstrates that Heterogeneous Disk Arrays can significantly improve the efficiency of storage systems for database applications by allowing multiple RAID levels to share physical resources. By treating allocation as a multi-dimensional balancing problem and accounting for failure states, administrators can maximize the utility of hardware.
Future work could explore dynamic re-allocation (moving "hot" data to "cool" disks) and implementing Quality of Service (QoS) throttling during degraded mode to prioritize critical VAs over less important ones.
Summary updated