Sign inSubmit
computersciencejournal.org is not ours. This journal is published only at thescipub.com/jcs. Report a suspicious emailcomputersciencejournal.org is not ours · Report
ArticleMetrics
Research Article · Open access · Published 16 June 2023

DDRSHARP: A Fast and Extensible DRAM Simulator

Tesfamichael Gebregziabher Gebrehiwot1, Fitsum Assamnew Andargie1 & Mohammed Ismail2

Journal of Computer Science, Volume 19, Issue 7, pp. 836–846 · doi.org/10.3844/jcssp.2023.836.846

5,747 accesses4,175 downloads0 citations (Crossref)Metrics
Cite Check for updates

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 article

Responses (0)

Have a comment on this research? Sign in to respond. Responses are moderated and published with your name and affiliation; the authors are invited to reply. How we use your dataWrite a response

About this article

Cite 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
DDRSHARP: A Fast and Extensible DRAM SimulatorJournal of Computer Science · Volume 19, Issue 7 · pp. 836–846 · CC BY 4.0Download