On Sat, Aug 6, 2011 at 6:47 PM, Zhe Wang <[email protected]> wrote:

> Hi,
>
> I am using marss with DRAMsim2 to run the experiment to test memory
> performance.
>
> I would like to set the memory size to 16G. But I found if I set the memory
> size larger than 12000M, the qemu is abort. So I am wondering is there any
> way to set the memory size larger than 12000m?
>
> QEMU doesn't allow VM memory size to  be greater than Host memory size. So
you can run simulations of 16 GB RAM only if your host has 16GB or more RAM.
If this is not the case then, does unmodified QEMU allows you to allocate
more than 12GB?


> I also did some tests that set the memory size to 8G, then when the
> simulator running the spec2006 benchmark, I print out the physical address,
> I found some of the physical address is 34 bis(binary) that means the
> physical address is larger than 8G.  I am confused by this, since if the
> memory size is 8G, all the physical address should within 8G(33 binary
> bits). Is anybody could give me some help on these questions?
>
> This is interesting. Please can you give some example memory addresses?
Even with 8GB RAM, there can be memory access to IO devices via MMIO which
can be mapped to higher memory range. In ptl-qemu.cpp, 'check_and_translate'
function set 'mmio' flag if the requested address belongs to MMIO range. You
can use that function to check if your virtual address is MMIO or not (in
QEMU there is no way to check if physical address is MMIO or not).

- Avadh

>
> Thank you!
> zhe
>
> _______________________________________________
> 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