Hi Ashif,

I am not too familiar with the x86 system configs in gem5, but if I
remember correctly there is a 3 GB “hole” in the memory map where the
first 3 GB goes, and then the remainder goes in some upper address (above
32 bit). The consequence is that you get two distinct memory ranges, and
each range gets as many channels as you have specified. Thus, in your case
you have 8 channels(!).

The other part is the use of large simulated memories. By default gem5
calls mmap in such a way that the host machine has to guarantee swap
space. You can try and run without this by changing the System parameter
mmap_noreserve. I have successfully seen simulation runs with many Tbyte
of memory per socket using this technique. As long as you don’t touch all
the memory in the guest this should work.

Andreas

On 18/09/2015 01:14, "gem5-users on behalf of Ashif Sikder"
<[email protected] on behalf of [email protected]> wrote:

>Hi all,
>
>I'm new to Gem5. When I try to run Gem5 in Full System mode for x86
>architecture with --mem-size=16GB, on the master terminal I get:
>
>"warn: Physical memory size specified is 16GB which is greater than 3GB.
>Twice the number of memory controllers would be created."
>
>and simulation gets aborted after showing (on the master terminal):
>
>"fatal: Could not mmap 13958643712 bytes for range [0x100000000 :
>0x43fffffff]!".
>
>In case of --mem-size=8GB, I get the same warning (on the master
>terminal):
>"warn: Physical memory size specified is 8GB which is greater than 3GB.
>Twice the number of memory controllers would be created."
>
>but it runs and after showing:
>
>"Initializing CPU#0
>Checking aperture...
>No AGP bridge found
>PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
>Placing 64MB software IO TLB between ffff880020000000 - ffff880024000000
>software IO TLB at phys 0x20000000 - 0x24000000
>Memory: 8183752k/9437184k available (4469k kernel code, 1048964k absent,
>203544k reserved, 2815k data, 376k init)"
>
>on the slave terminal simulation gets aborted.
>
>I have looked into the discussion at
>http://comments.gmane.org/gmane.comp.emulators.m5.users/17539  and the
>source code at /configs/common/FSConfig.py but could not solve the
>problem.
>
>The command line used is:
>
>./build/X86/gem5-MESI2L.opt ./configs/example/fs.py
>--disk-image=linux-x86.img --kernel=x86-vmlinux-2.6.22.9.smp
>--cpu-type=timing --ruby --num-cpus=16 --mesh-rows=4 --num-dirs=4
>--mem-type=DDR4_2400_x64 --mem-channels=4 --mem-size=8GB
>--topology=MeshDirCorners
>
>Any help will be highly appreciated. Thanks.
>
>_______________________________________________
>gem5-users mailing list
>[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