Abstract
MEMS storage devices offer massive parallelism through thousands of probe tips, but their complex physical structure makes efficient data placement a challenge for developers. This paper introduces the Region-Sector (RS) model, a logical abstraction that simplifies these devices into a 2D plane, enabling new data placement strategies that boost retrieval speeds by up to 4.8x compared to traditional methods.
Introduction
Micro-Electro-Mechanical Systems (MEMS) storage represents a significant shift in storage hierarchy, offering performance characteristics that bridge the gap between RAM and traditional magnetic disks. Unlike hard drives that rely on a single moving head, MEMS devices utilize a "media sled" positioned beneath an array of thousands of probe tips. This architecture provides two primary advantages: flexibility in selecting specific probe tips for access and parallelism in simultaneous data operations. Despite these benefits, the complexity of mapping logical data to thousands of physical tips often leads to suboptimal performance or overly complex software implementations.
The Region-Sector (RS) Model
To address the complexity of physical MEMS management, we introduce the Region-Sector (RS) model. This logical abstraction collapses the four physical dimensions of the device—region coordinates ($R_x, R_y$) and tip sector coordinates ($S_x, S_y$)—into a simplified 2D logical plane defined by a Region-axis and a Sector-axis.
In this model, the Region-axis represents the potential for parallelism by utilizing different probe tips, while the Sector-axis represents sequential access through the mechanical movement of the media sled. This abstraction allows developers to optimize for either throughput or latency without needing to manage the underlying physical geometry directly.
Data Placement Strategies
Leveraging the RS model, we developed two primary heuristic strategies:
- Strategy_Sequential: Minimizes mechanical "seeks" by packing data along the Sector-axis.
- Strategy_Parallel: Maximizes throughput by spreading data across the Region-axis, activating up to the hardware limit of active probe tips (typically around 1,280).
For relational databases, we implemented a Relational-Parallel strategy. This approach uses a "column-prime order" to distribute attributes across different regions, ensuring that multiple attributes or tuples can be read in parallel.
For spatial data, we utilized Hilbert space-filling curves within the RS model. This maintains spatial locality while declustering data across parallel tips, ensuring that spatial queries trigger massive parallel reads.
Performance Evaluation
Using a high-fidelity MEMS emulator, we benchmarked these strategies against traditional disk-mapping approaches (such as NSM-Griffin and DSM-Griffin).
- Relational Data: The Relational-Parallel strategy achieved a 2.6x to 4.0x speedup as dataset sizes grew to 320 MB. The benefit of parallelism increasingly outweighed the overhead of mechanical seeks at larger scales.
- Spatial Data: For selective spatial queries, the Spatial-Parallel approach was up to 4.8x faster than sequential placements.
- Scalability: The performance gap between RS-based strategies and traditional methods widened as the database size increased, highlighting the model's value for large-scale systems.
Conclusion
The Region-Sector model successfully abstracts the physical complexities of MEMS storage into a manageable logical framework. By enabling straightforward implementation of parallel data placement strategies, the RS model allows systems to fully exploit the unique hardware capabilities of MEMS devices, delivering substantial performance gains for both relational and spatial workloads.
Summary updated