Memory-driven computing accelerates genomic data processing

Matthias Becker, Milind Chabbi, Stefanie Warnat‐Herresthal, Kathrin Klee, Jonas Schulte-Schrepping, Paweł Biernat, Patrick Günther, Kevin Baβler, Rocky Craig, Hartmut Schultze, Sharad Singhal, Thomas Ulas, Joachim L. SchultzeBiorxiv 2019

TL;DR

The explosion of genomic data from Next-Generation Sequencing (NGS) is overwhelming current computing infrastructure. This paper demonstrates that Memory-Driven Computing (MDC), a novel hardware architecture, can dramatically accelerate genomic data processing, specifically RNA-seq analysis, by up to two orders of magnitude while also reducing energy consumption. This opens the door for more efficient, localized, and privacy-preserving genomic data analysis.

What Problem Does This Paper Address?

The life sciences, particularly precision medicine, are experiencing an exponential surge in genomic data generated by Next-Generation Sequencing (NGS). This data deluge, projected to reach exabytes in the coming decade, poses a significant challenge to existing computational infrastructures. Traditional approaches rely on scaling up processor-centric High-Performance Computing (HPC) clusters and centralized cloud storage. However, this leads to increased data movement, duplication, security risks, and substantial energy consumption. The authors argue that this approach is unsustainable and propose Memory-Driven Computing (MDC) as a more efficient and scalable alternative.

Methods

The core of the paper lies in adapting genomic data analysis pipelines to a Memory-Driven Computing (MDC) architecture. MDC fundamentally shifts the paradigm from processor-centric to memory-centric computing, where memory is the central component and processors access it directly via a fabric (like Gen-Z). The authors explored two key optimization strategies:

  • Pipeline-wide optimization: This involves modifying how data is exchanged between different tools in a pipeline. Instead of writing intermediate results to disk and then reading them back, MDC allows data to be held and accessed directly from a large, shared memory pool. This eliminates I/O bottlenecks and data format conversions.
  • Per-application optimization: This focuses on optimizing individual applications to better leverage the abundant memory. For example, in the kallisto pseudoalignment tool, the authors modified its data loading mechanism to allow for random parallel access to larger data packages, removing a bottleneck associated with its original single-threaded reader. They also optimized internal data structures, such as expanding hash maps to reduce collisions and memory consumption.

To emulate the MDC environment on classical hardware, they utilized a Fabric Attached Memory Emulation (FAME) software.

Datasets

The study utilized several datasets for evaluation:

  • ERR188140: A publicly available RNA-seq dataset (140 million reads) used for initial testing of kallisto and SAMtools.
  • 1.181 RNA-seq datasets: A large compilation of transcriptomes from peripheral blood mononuclear cell (PBMC) samples across 23 different studies (GEO accession GSE97309). This dataset was used to assess the general applicability and scalability of the MDC approach across diverse genomic data. The studies included patients with various diseases like Acute Myeloid Leukemia (AML), Juvenile Idiopathic Arthritis (JIA), and Tuberculosis (TB.vaccination), as well as healthy individuals.

Key Insights and Ideas

  • Memory is the new bottleneck: The paper strongly suggests that for data-intensive applications like genomics, the limitations are increasingly shifting from processing power to memory access and data movement.
  • MDC fundamentally changes data flow: By making memory the central hub, MDC eliminates the traditional I/O overhead that plagues processor-centric systems, leading to significant speedups.
  • Beyond "in-memory" computing: MDC is distinct from traditional "in-memory" approaches, which still operate within the von Neumann architecture. MDC offers a more profound architectural shift with direct memory access and a fabric-based interconnect.
  • Edge computing for genomics: MDC's ability to process data locally and efficiently makes it ideal for pushing genomic data analysis closer to the source (e.g., sequencers), enhancing privacy and reducing data transfer.
  • Energy efficiency is a major win: The reduction in data movement and processing time directly translates to significant energy savings, a critical factor for large-scale data centers.

Key Results

  • Kallisto Acceleration: The MDC-modified kallisto achieved a speedup of more than two orders of magnitude for RNA-seq pseudoalignment and quantification. One billion RNA-seq reads were processed in just 92 seconds.
  • SAMtools Acceleration: The first step of RNA-seq assembly using SAMtools was accelerated by 5.9-fold.
  • User Time Reduction: MDC-modified kallisto showed a 66% reduction in user time, indicating improved efficiency and reduced energy consumption.
  • Identical Accuracy: The MDC modifications did not compromise the accuracy of the results, with kallisto showing very minor differences compared to its original version.
  • Scalability: The MDC approach demonstrated significant performance gains across a large dataset of 1,181 RNA-seq samples, with speedups up to 13.4-fold and a 112-fold reduction in compute time observed in some cases.

Limitations and Future Work

  • FAME Emulation vs. Native Hardware: The paper notes that emulation (FAME) does not achieve the same performance gains as native MDC hardware, though significant improvements are still observed.
  • Further Optimization Needed: While SAMtools showed improvement, the authors acknowledge that StringTie, another tool in the assembly pipeline, still presents bottlenecks that require further work.
  • Data Security and Access Control: While MDC offers inherent benefits for data security and access control due to its architecture and the Gen-Z fabric, these aspects were not directly evaluated in this study and require further research.
  • MDC Hardware Development: Optimized memory controllers for MDC are still under development, suggesting that future hardware advancements could further enhance performance.
  • Broader Applicability: The authors envision that other data-rich fields beyond genomics will benefit from MDC, suggesting future work in exploring these applications.

Summary updated

BibTeX
@misc{becker2019memory,
  author = {Matthias Becker and Milind Chabbi and Stefanie Warnat‐Herresthal and Kathrin Klee and Jonas Schulte-Schrepping and Paweł Biernat and Patrick Günther and Kevin Baβler and Rocky Craig and Hartmut Schultze and Sharad Singhal and Thomas Ulas and Joachim L. Schultze},
  title = {{Memory-driven computing accelerates genomic data processing}},
  year = {2019},
  doi = {10.1101/519579},
  howpublished = {Biorxiv},
}
Figure