Abstract
As the storage industry approaches the physical limits of Conventional Magnetic Recording (CMR), Interlaced Magnetic Recording (IMR) has emerged as a promising high-density alternative. However, the performance characteristics of IMR, particularly the write penalties associated with its unique track architecture, remain under-explored due to a lack of available hardware and simulation tools. This paper introduces IMRSim, the first open-source disk simulator designed specifically for IMR technology. Implemented as a Linux kernel block device driver, IMRSim allows for the evaluation of data placement strategies and performance trade-offs. Our evaluation using real-world traces reveals that while IMR significantly increases storage density, it introduces substantial write latency—up to 28 times higher than CMR—primarily due to mechanical overhead during Read-Modify-Write (RMW) operations.
Introduction
In the current "big data era," the demand for storage capacity continues to outpace the capabilities of traditional Conventional Magnetic Recording (CMR). CMR is increasingly constrained by the superparamagnetic effect, which limits the minimum size of stable magnetic grains on a disk platter. While Shingled Magnetic Recording (SMR) was introduced to bypass these limits by overlapping tracks like roof tiles, it suffers from severe write amplification; updating a single track often necessitates rewriting an entire band of subsequent tracks.
Interlaced Magnetic Recording (IMR) represents a middle ground between CMR and SMR. IMR utilizes a layout of wide "bottom tracks" and narrow "top tracks." While top tracks can be written independently, bottom tracks are partially overlapped by adjacent top tracks. Consequently, updating a bottom track requires a Read-Modify-Write (RMW) operation to preserve the data on the overlapping top tracks. Despite its potential, the research community has lacked functional tools to simulate IMR behavior. IMRSim addresses this gap by providing a software-defined storage layer for performance analysis.
System Design and Implementation
IMRSim is distinguished from theoretical models by its implementation as a functional Linux kernel block device driver using the Device Mapper (DM) framework. It exports a pseudo-block device that emulates IMR behavior while utilizing a standard CMR drive for physical data storage.
The simulator architecture is comprised of four primary sub-modules:
- Data Layout & Management: This module organizes the physical space into zones and manages the interlaced track structure.
- Data Placement Logic: It handles the complex logic required for RMW operations, determining when adjacent tracks must be buffered and rewritten.
- Address Translation: This layer maps Logical Block Addresses (LBAs) from the file system to Physical Block Addresses (PBAs) on the underlying media.
- Availability & Statistics: This module ensures metadata persistence and collects granular performance metrics, such as latency and write amplification.
Additionally, IMRSim includes a visualization mode to assist researchers in understanding how different allocation strategies affect track filling and the frequency of RMW cycles.
Experimental Methodology
To evaluate the performance of IMR under realistic conditions, the researchers utilized four block-level I/O traces from Microsoft Research Cambridge: hm_0 (home directory server), proj_0 (project directory server), and src1_2/src2_2 (source code repositories). These write-intensive workloads were replayed using the fio (Flexible I/O tester) benchmark tool on a 128GB partition of a Western Digital WD20EJRx hard drive. The simulation assumed a bottom-track density approximately 1.25x that of top tracks.
Performance Analysis and Key Insights
The Mechanical Penalty
A critical finding of the study is that the performance degradation in IMR is not solely a function of write amplification. While the volume of extra data written (write amplification) might only increase by a factor of 1.8x, the write latency can increase by up to 28x. This discrepancy is explained by mechanical overhead: the time the disk head spends seeking and waiting for platter rotation during the RMW cycle is significantly greater than the time spent on actual data transfer.
Density vs. Performance Trade-offs
IMR performance is highly sensitive to the "fill state" of the drive. When the disk is relatively empty, it can achieve CMR-like performance by prioritizing top tracks or utilizing sparse allocation. However, as capacity utilization increases and the drive is forced to use interlaced bottom tracks, performance hits a "cliff." The study compared two-stage and three-stage allocation strategies, finding that more complex three-stage approaches offer slightly better performance as the disk nears full capacity.
Comparative Results
In the proj_0 workload, CMR outperformed IMR by a factor of 35.6x in terms of write throughput. However, the impact on read operations was remarkably low. Read latency for IMR was only 7.98% to 9.55% slower than CMR, a delay primarily attributed to the computational overhead of the dynamic mapping table rather than mechanical constraints.
Conclusion and Future Work
IMRSim provides a vital tool for the storage research community to explore the nuances of Interlaced Magnetic Recording. The results indicate that while IMR is a viable path for increasing density, the mechanical penalties of RMW operations require sophisticated data management strategies to be commercially viable. Future research using IMRSim may focus on mitigating these penalties through "track flipping," hot/cold data segregation, or advanced caching mechanisms. While the current model simplifies certain physical factors like write energy intensity, it establishes a functional baseline for software-defined IMR research.
Summary updated