Abstract
Read mapping is a fundamental, yet computationally-expensive step in many genomics applications. It is used to identify potential matches and differences between fragments (called reads) of a sequenced genome and an already known genome (called a reference genome). To address the computational challenges in genome analysis, many prior works propose various approaches such as filters that select the reads that must undergo expensive computation, efficient heuristics, and hardware acceleration. While effective at reducing the computation overhead, all such approaches still require the costly movement of a large amount of data from storage to the rest of the system, which can significantly lower the end-to-end performance of read mapping in conventional and emerging genomics systems. We propose GenStore, the first in-storage processing system designed for genome sequence analysis that greatly reduces both data movement and computational overheads of genome sequence analysis by exploiting low-cost and accurate in-storage filters. GenStore leverages hardware/software co-design to address the challenges of in-storage processing, supporting reads with 1) different read lengths and error rates, and 2) different degrees of genetic variation. Through rigorous analysis of read mapping processes, we meticulously design low-cost hardware accelerators and data/computation flows inside a NAND flash-based SSD. Our evaluation using a wide range of real genomic datasets shows that GenStore, when implemented in three modern SSDs, significantly improves the read mapping performance of state-of-the-art software (hardware) baselines by 2.07-6.05$\times$ (1.52-3.32$\times$) for read sets with high similarity to the reference genome and 1.45-33.63$\times$ (2.70-19.2$\times$) for read sets with low similarity to the reference genome.
Introduction
Genome sequencing has become incredibly fast and affordable, but the downstream analysis—specifically read mapping—remains a major bottleneck. Read mapping involves aligning millions of small DNA fragments (reads) to a massive reference genome. While researchers have developed powerful hardware accelerators for the "approximate string matching" (ASM) required for mapping, these systems are increasingly hitting a "data wall." Even with near-instant computation, moving terabytes of genomic data from a Solid-State Drive (SSD) to the CPU or an external accelerator over a PCIe link is slow and energy-intensive. GenStore addresses this by implementing low-cost, high-throughput filters directly within the SSD controller to discard "easy" or "unmappable" reads before they ever leave the storage device.
Methods and Architecture
GenStore is a hardware/software co-design that adds specialized logic to the SSD controller to perform in-storage filtering. It addresses two distinct scenarios:
- GenStore-EM (Exact Matching): Designed for short, highly accurate reads (e.g., Illumina). It identifies reads that match the reference genome perfectly. Standard indices require random memory accesses, which SSDs handle poorly. GenStore-EM uses a novel sorted, read-sized k-mer index. By sorting both the reads and the index, the system performs a sequential scan that saturates the high internal bandwidth of NAND flash chips.
- GenStore-NM (Non-Matching): Designed for long, noisy reads or cases where the sample is very different from the reference. It uses selective chaining to count "seeds" (small matching segments). Reads with very few seeds are discarded, while those with many are sent to the host.
To operate within SSD constraints, GenStore temporarily flushes standard Flash Translation Layer (FTL) tables to NAND, freeing internal SSD DRAM for specialized genomic metadata. This allows the controller to process data right where it lives, tapping into "hidden" internal bandwidth across multiple channels and planes.
Key Results
The system was evaluated using real and simulated genomic data across three modern SSD configurations (SSD-L, SSD-M, SSD-H).
- Performance: Compared to the software tool Minimap2, GenStore-EM provided a 2.07x–6.05x speedup for short reads. For long reads with low similarity, GenStore-NM achieved a massive 1.45x–33.63x speedup.
- Hardware Synergy: When paired with existing hardware accelerators like GenCache or Darwin, GenStore provided a 1.5x to 19.2x performance boost by removing the I/O bottleneck.
- Energy Efficiency: GenStore reduced end-to-end energy consumption by an average of 3.92x for exact matching and up to 27.17x for non-matching filtering.
- Area Overhead: The additional logic required is minimal—only about 0.006% of the area of a modern 14nm processor.
Limitations and Future Work
GenStore requires an offline preprocessing step to sort reads and build specialized indices. While this can often be hidden by sequencing and basecalling times, it remains an additional requirement. Furthermore, implementation requires modifications to proprietary SSD firmware and hardware logic. Future work may involve integrating GenStore-like accelerators into portable sequencing devices to enable real-time, ultra-low-power genomic analysis in the field.
Summary updated