Ahmad,

HybridSim currently assumes a memory size that is a power of 2. Changing
that shouldn't be too difficult. You'd just have to have HybridSim round
up to the next power of 2 when it computes things like tag width, but not
allow accesses above a certain address. If you do that, send me a patch
and I can put that in my dev branch.

Also, based on what you said, it sounds like you are looking for a
side-by-side address space mapping of both the DRAM and the NVM. HybridSim
does not work like that. The DRAM is purely a cache and is not directly
addressable by the external caller. The external address space directly
corresponds to the address space of the flash memory. Changing that would
require completely redesigning the system and implementing some sort of
external management (typically this is done in software with the various
research proposals I've seen).

Good luck.

Jim Stevens
University of Maryland, College Park



> Thanks Tyler. How can configure the system with DRAM as 64GB and nvram as
> 128GB on marss.hybridsim code base
> (https://github.com/jimstevens2001/marss.hybridsim)
>
> Kind Regards, Ahmad
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> Sent: 02 December 2013 19:22
> To: Hassan, Ahmad
> Cc: Brendan Fitzgerald; [email protected]
> Subject: Re: [marss86-devel] Large Hybrid main memory
>
> https://github.com/jimstevens2001/HybridSim
>
> Tyler
>
>> So the hybrid memory DRAM/NVRAM hierarchy described in the paper
>> (http://www.ece.umd.edu/~blj/papers/itj2013.pdf) hasn't been available
>> in
>> source code yet?
>>
>> Kind Regards, Ahmad
>>
>> From: [email protected] [mailto:[email protected]] On Behalf
>> Of Brendan Fitzgerald
>> Sent: 02 December 2013 19:11
>> To: Hassan, Ahmad
>> Cc: [email protected]
>> Subject: Re: [marss86-devel] Large Hybrid main memory
>>
>> MARSS doesn't support that, so you'll have to do it yourself.
>>
>> On Mon, Dec 2, 2013 at 1:55 PM, Hassan, Ahmad
>> <[email protected]<mailto:[email protected]>> wrote:
>>
>>>When you start a simulation, add -m option to configure qemu with the
>>> required size of main memory.
>>>http://wiki.gentoo.org/wiki/QEMU/Options
>>
>> Thanks. That will configure the total RAM size. But where shall I define
>> Hybrid memory with DRAM as 64GB and PCM as 128GB so that I can simulate
>> different latencies and power of these hybrid memories?
>>
>> --Ahmad
>>
>> On Mon, Dec 2, 2013 at 1:35 PM, Hassan, Ahmad
>> <[email protected]<mailto:[email protected]>> wrote:
>>
>>>1. Yes, but you would have to figure out how the partitioning would work
>>> for you.
>>
>> Thanks Brendan. Please can you point me to the configuration file where
>> I
>> can configure such system? In terms of Partitioning, I want to
>> distribute
>> memory access packets between different memories based on virtual
>> address.
>> For example I want virtual address range 0 till 2GB to go through memory
>> type 1 and rest of the virtual address goes through memory type 2. Which
>> place in marss86 would that be possible to implement this logic please?
>>
>> Thanks
>> Ahmad
>>
>> On Mon, Dec 2, 2013 at 1:17 PM, Hassan, Ahmad
>> <[email protected]<mailto:[email protected]>> wrote:
>> Hi All,
>>
>> Please I have two questions regarding MARSS86
>>
>>
>> 1)      Is it possible to simulate hybrid main memory with DRAM ~ 64GB
>> and
>> PCM (slower DRAM) ~ 128GB in MARSS86? So Total main memory 64 + 128 =
>> 192
>> GB
>>
>> 2)      Can we get power/energy statistics from Marss86 main memory
>> model
>> without using dramsim2 because dramsim2 is cycle accurate which results
>> in
>> extremely slow simulation speed.
>>
>> Thanks.
>>
>> -Ahmad
>>
>> _______________________________________________
>> http://www.marss86.org
>> Marss86-Devel mailing list
>> [email protected]<mailto:[email protected]>
>> https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
>>
>>
>> _______________________________________________
>> http://www.marss86.org
>> Marss86-Devel mailing list
>> [email protected]<mailto:[email protected]>
>> https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
>>
>>
>> _______________________________________________
>> http://www.marss86.org
>> Marss86-Devel mailing list
>> [email protected]
>> https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
>>
>
>
>
> _______________________________________________
> http://www.marss86.org
> Marss86-Devel mailing list
> [email protected]
> https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
>



_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to