DDRSHARP: A Fast and Extensible DRAM Simulator
Tesfamichael Gebregziabher Gebrehiwot1, Fitsum Assamnew Andargie1 & Mohammed Ismail2 Show affiliations
- School of Electrical and Computer Engineering, Addis Ababa Institute of Technology, Addis Ababa, Ethiopia
- Department of Electronics and Communication Engineering, Sasi Institute of Technology and Engineering, Andhra Pradesh, India
Journal of Computer Science, Volume 19, Issue 7, pp. 836–846 · doi.org/10.3844/jcssp.2023.836.846
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.
Licence and reuse
Open access. This article is licensed under a Creative Commons Attribution 4.0 International Licence (CC BY 4.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.
How to reuse this articleResponses (0)
About this article
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
- Licence
- CC BY 4.0
- Issue
- Volume 19, Issue 7
- Policies
- Editorial independenceUse of generative AIData availabilityAppeals and complaints
- Version
- Version of record
