Hi George,

First of all, not that the “--mem-size” you pass to gem5 only affects the 
memory seen by the OS, not the actual DRAM configuration. We have recently 
added a warning to highlight any discrepancy for the user when using the native 
gem5 DRAM controller.

When it comes to your specific question, if you use the native DRAM controller 
(faster and more tightly integrated with gem5), you can change the number of 
channels on the command line, and add new memory types if you want to change 
the number of ranks. Just subclass one of the existing memory classes in 
src/mem/DRAMCtrl.py.

For DRAMSim2, there is no integration besides some basic checks on the access 
granularity. Thus, you have to modify the ini file passed to the DRAMSim2 
wrapper if you want to go down this route.

Andreas

From: George Michelogiannakis via gem5-users 
<[email protected]<mailto:[email protected]>>
Reply-To: George Michelogiannakis 
<[email protected]<mailto:[email protected]>>, gem5 users mailing 
list <[email protected]<mailto:[email protected]>>
Date: Monday, October 6, 2014 at 7:35 PM
To: Gem5 Users Mailing List <[email protected]<mailto:[email protected]>>
Subject: [gem5-users] Memory size with DRAMSim2

Hi all,

when I run gem5 with dramsim2, what is the easiest way to increase the memory 
size? Should I increase the number of channels in DRAMSim2's config, or use a 
parameter in gem5 that'll trickle down to DRAMSim2 to increase the number of 
ranks?

Thank you,
  George M

-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England & Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
Registered in England & Wales, Company No: 2548782
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to