Hi Muzamil,

In gem5, the actual size of the physical memory exposed to the “guest” is a 
parameter on its own, and thus separate from how the DRAM controller is 
configured. We chose this option as we don’t want to force the average used to 
specify what kind of DRAM device, how many ranks, channels etc.

All this warning is telling you is that the size specified by “--mem-size” is 
different than what you get if you actually look at the DRAM configuration 
specified. If you want to simulate a realistic DRAM system I’d suggest you 
adjust the DRAM config or memory size so that they match. This is extra 
important if you’re evaluating DRAM power. You can easily change the rank and 
channel count. If needed you can also specify new DRAM device beyond what is 
already there.

Andreas

From: gem5-users 
<[email protected]<mailto:[email protected]>> on behalf of 
Subhankar Pal <[email protected]<mailto:[email protected]>>
Reply-To: gem5 users mailing list 
<[email protected]<mailto:[email protected]>>
Date: Tuesday, 28 March 2017 at 20:44
To: gem5 users mailing list <[email protected]<mailto:[email protected]>>, 
Muzamil Rafique 
<[email protected]<mailto:[email protected]>>
Subject: Re: [gem5-users] Device size vs. Address Range Assigned

Hi Muzamil,

It probably means that the size of your memory divided by the number of memory 
devices is 256 MB, whereas the device_size of your memory is 8 MB. You need to 
make sure that these two number must be equal.

- Subhankar


On March 28, 2017 at 3:39:53 PM, Muzamil Rafique 
([email protected]<mailto:[email protected]>) wrote:

Hi All,

While simulating gem5, we usually get a warning saying"

warn: DRAM device capacity (8 Mbytes) does not match the address range assigned 
(256 Mbytes)

What does it actually mean? How can we assign more address range than available 
memory space we have available?

Please help me get clear about this.

Thanks
Muzamil


_______________________________________________
gem5-users mailing list
[email protected]<mailto:[email protected]>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
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.
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to