Abstract
Hybrid storage systems (HSS) integrate multiple storage devices with diverse characteristics to deliver high performance and capacity at low cost. The performance of an HSS highly depends on the effectiveness of two key policies: (1) the data-placement policy, which determines the best-fit storage device for incoming data, and (2) the data-migration policy, which dynamically rearranges stored data across the devices to sustain high HSS performance. Prior works optimize either data placement or data migration in isolation, which leads to suboptimal HSS performance. We propose Harmonia, a multi-agent reinforcement learning (RL)-based data-management technique that employs two lightweight autonomous RL agents—a data-placement agent and a data-migration agent—that adapt their policies for the current workload and HSS configuration while coordinating with each other to improve overall HSS performance. On performance-optimized HSS with two storage devices, Harmonia outperforms the best-performing prior approach by 49.5% on average. Harmonia's performance benefits come with low latency (240ns for inference) and minimal storage overhead.
Introduction
Modern data centers increasingly rely on Hybrid Storage Systems (HSS) to balance the high cost of fast storage (e.g., NVMe SSDs, Intel Optane) with the high capacity of slower drives (e.g., HDDs). To maximize the utility of these heterogeneous tiers, systems must implement two critical policies: Data Placement, which assigns new data to a device upon arrival, and Data Migration, which moves existing data between tiers as access patterns change.
Historically, these policies have been developed and optimized in isolation. This siloed approach often results in "policy interference," where the placement policy and migration policy work at cross-purposes—for instance, placing data on a fast tier only for a background process to immediately evict it. Harmonia addresses this by treating HSS management as a cooperative multi-agent problem.
The Harmonia Framework
Harmonia introduces a coordinated multi-agent reinforcement learning (RL) architecture. Unlike prior single-agent or heuristic-based approaches, Harmonia decouples the management tasks into two specialized, lightweight agents that share state information but optimize for different temporal horizons.
Coordinated RL Agents
- Data-Placement Agent: This agent operates on the critical I/O path. When a write request arrives, it selects the optimal device based on immediate feedback (request latency).
- Data-Migration Agent: Operating in the background, this agent identifies "hot" or "cold" data for relocation. Its reward is delayed, receiving positive reinforcement only when its background migrations improve the performance of future placement decisions.
To handle the high variance of storage latencies, both agents utilize a Categorical Deep Q-Network (C51), which predicts a distribution of rewards rather than a simple scalar mean. The agents are designed to be extremely lightweight, consisting of only 19 neurons, ensuring that inference (approx. 240ns) does not become a bottleneck for high-speed storage devices.
Evaluation and Results
The researchers evaluated Harmonia against 17 data-intensive workloads, including enterprise traces (SYSTOR '17), key-value stores (RocksDB), and machine learning training (MLPerf). The system was tested on various hardware configurations, ranging from simple two-device setups to complex four-device "quad-HSS" environments.
Key Performance Gains
- Superior Latency Reduction: Harmonia consistently outperforms state-of-the-art techniques like Sibyl and SAPM. On performance-optimized systems, it achieves a 49.5% average speedup over the best prior work, closing the gap to a theoretical "Oracle" policy by over 64%.
- Scalability: The benefits of multi-agent coordination become even more pronounced as system complexity increases. In configurations with four heterogeneous devices, Harmonia maintains a 42% performance lead over baselines.
- Minimal Overhead: The entire framework requires only 206 KiB of DRAM, making it suitable for integration into existing storage controllers or operating system kernels without significant resource contention.
Conclusion
Harmonia demonstrates that joint optimization of placement and migration policies is essential for fully exploiting the potential of hybrid storage. By employing specialized, coordinating RL agents, Harmonia eliminates policy interference and proactively adapts to dynamic workloads. Its combination of high performance, low computational overhead, and hardware-agnostic learning makes it a robust solution for next-generation data center storage management.
Summary updated