Research Article Open Access

DDRSHARP: A Fast and Extensible DRAM Simulator

Tesfamichael Gebregziabher Gebrehiwot1, Fitsum Assamnew Andargie1 and Mohammed Ismail2
  • 1 School of Electrical and Computer Engineering, Addis Ababa Institute of Technology, Addis Ababa, Ethiopia
  • 2 Department of Electronics and Communication Engineering, Sasi Institute of Technology and Engineering, Andhra Pradesh, India

Abstract

Dynamic Random-Access Memory (DRAM) is a crucial component of modern computing systems and there exist a variety of DRAM standards. The variance in DRAM architecture calls for an extensible simulator to accommodate current and future DRAM standards. Moreover, as every researcher may not be an expert in programming, choosing an easier programming language to construct a simulator would reduce the efforts of a researcher who seeks to reuse/modify existing code to meet the demands of his/her work. Performance bottleneck is another challenge of cycle-accurate simulators; some researchers even suggest statistical modeling to achieve higher speed by sacrificing accuracy. We present DDRSHARP, a cycle-accurate DRAM simulator written entirely in C#. It provides simplified configuration and evaluation of different DRAM standards. It includes both the performance and power/energy models of DRAM. In order to improve the performance of DDRSHARP, we skipped infeasible iterations on queued requests, minimized the number of branch instructions, saved repetitive calculations for later use, and minimized code execution paths. Since our simulator is constructed using C# and the garbage collector consumes a big amount of CPU time, we worked on minimizing heap allocation of immutable objects such as strings. Our approach has enabled more than 1.8 times speedup in performance compared to contemporary simulators.

Journal of Computer Science
Volume 19 No. 7, 2023, 836-846

DOI: https://doi.org/10.3844/jcssp.2023.836.846

Submitted On: 21 February 2023 Published On: 16 June 2023

How to Cite: Gebrehiwot, T. G., Andargie, F. A. & Ismail, M. (2023). DDRSHARP: A Fast and Extensible DRAM Simulator. Journal of Computer Science, 19(7), 836-846. https://doi.org/10.3844/jcssp.2023.836.846

  • 1,768 Views
  • 1,204 Downloads
  • 0 Citations

Download

Keywords

  • DRAM
  • CPU
  • Simulation
  • Modeling