Skip to main content
QUICK REVIEW

[Paper Review] Combining Emulation and Simulation to Evaluate a Near Memory Key/Value Lookup Accelerator

Joshua Landgraf, Scott Lloyd|arXiv (Cornell University)|May 13, 2021
Radiation Effects in ElectronicsEngineering11 references8 citations
TL;DR

This paper proposes a hybrid evaluation framework combining hardware emulation and software simulation to optimize a near-memory key/value lookup accelerator for Hybrid Memory Cube (HMC) architectures. By integrating an HMC-Sim memory model with an SST-based simulation of the accelerator, the authors identify optimizations—such as 128B key packetization, wider interconnects, and increased request parallelism—that improve single-accelerator performance by 93–136% and enable 2.7–5.7x scaling with multiple accelerators, yielding up to 13x speedup over the original design.

ABSTRACT

Processing large numbers of key/value lookups is an integral part of modern server databases and other "Big Data" applications. Prior work has shown that hash table based key/value lookups can benefit significantly from using a dedicated hardware lookup accelerator placed near memory. However, previous evaluations of this design on the Logic in Memory Emulator (LiME) were limited by the capabilities of the hardware on which it was emulated, which only supports a single CPU core and a single near-memory lookup engine. We extend the emulation results by incorporating simulation to evaluate this design in additional scenarios. By incorporating an HMC simulation model, we design optimizations that better mitigate the effects of the HMC closed page policy and that better utilize the HMC's parallelism, improving predicted performance by an order of magnitude. Additionally, we use simulation to evaluate the scaling performance of multiple near-memory lookup accelerators. Our work employs an open source emulator LiME, open source simulatation infrastructure SST, and the open source HMC-Sim simulator.

Motivation & Objective

  • To evaluate the performance of a near-memory key/value lookup accelerator beyond the limitations of hardware emulation alone.
  • To identify architectural optimizations that improve performance under realistic HMC memory constraints, such as closed page policy and limited parallelism.
  • To assess scaling behavior with multiple accelerators in a simulated HMC environment.
  • To leverage open-source tools (LiME, SST, HMC-Sim) for accurate, reproducible, and extensible evaluation of memory-optimized accelerators.

Proposed method

  • The study uses the LiME hardware emulator to model a single near-memory lookup accelerator with nanosecond-precision timing.
  • A software simulation is built using the SST framework to integrate the accelerator with an HMC-Sim memory model, enabling accurate modeling of HMC-specific behaviors like bank conflicts and memory latency.
  • The key/value store is implemented as an open-addressing hash table, with the lookup engine processing probe sequences starting from hashed indices.
  • Optimizations include batching keys into 128B packets, doubling the interconnect bus width, and increasing the maximum number of concurrent memory requests.
  • Performance is evaluated under both uniform and Zipfian query distributions, with results compared across different load factors and memory models.
  • Scaling is tested with 1 to 8 accelerators, using both real HMC-Sim and idealized high-bandwidth emulator memory models to isolate bandwidth vs. parallelism bottlenecks.

Experimental results

Research questions

  • RQ1How does the performance of a near-memory key/value lookup accelerator degrade under realistic HMC memory constraints compared to a simplified memory model?
  • RQ2What architectural optimizations can mitigate HMC-specific bottlenecks such as bank conflicts and limited memory parallelism?
  • RQ3How does the performance of the accelerator scale when multiple instances are deployed in parallel on an HMC?
  • RQ4To what extent is memory bandwidth or memory parallelism the primary bottleneck in accelerator performance?

Key findings

  • The combination of 128B key packetization and wider interconnects improved single-accelerator performance by up to 136% by reducing bank conflicts and increasing memory throughput.
  • Increasing the number of concurrent memory requests improved performance by up to 33%, indicating that request-level parallelism is a significant but not dominant bottleneck.
  • With two accelerators, throughput increased by 63–100%; with four, another 54–92% gain was achieved, and eight accelerators yielded a 2.7–5.7x total improvement.
  • Performance scaling was most effective at higher load factors, where CPU overhead is less significant and memory parallelism becomes the dominant performance factor.
  • In an idealized memory model with 128 GB/s bandwidth, single-accelerator performance matched HMC-Sim results within 5%, confirming simulation accuracy.
  • The results indicate that memory parallelism, not bandwidth, is the primary bottleneck in multi-accelerator deployments under realistic HMC conditions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.