Hi gem5 users,
Do ruby memory model works with arm in gem5 ?
I am following below steps to compile and run:
Compile:
scons build/ARM/gem5.opt PROTOCOL=MESI_Two_Level RUBY=True
run:
build/ARM/gem5.opt --outdir=/home/vpathak/gem5_git/gem5/m5out_ruby
configs/example/fs.py --checkpoint-restore=1
--restore-with-cpu=detailed
--script=/home/vpathak/gem5_git/gem5/configs/boot/dgemm.rcS
--kernel=/home/vpathak/gem5_git/full-system-images/binaries/vmlinux.aarch64.20140821
--machine-type=VExpress_EMM64
--dtb-file=/home/vpathak/gem5_git/full-system-images/binaries/vexpress.aarch64.20140821.dtb
--disk-image=/home/vpathak/gem5_git/full-system-images/disks/aarch64-ubuntu-trusty-headless.img
--cpu-type=detailed --arm-iset=aarch64
--num-cpus=1 --cpu-clock=3GHz
--ruby
But I am getting below error:
AttributeError: object 'LinuxArmSystem' has no attribute '_dma_ports'
I looks into the code and found, unlike x86, makeArmSystem() do not
initialize test_sys._dma_ports.
Am I doing some mistake? Please help in resolving this issue.
Thanks in advance for your time.
--
with regards,
Virendra Kumar Pathak
Hi,
After searching the mailing list, I found Andreas Hansson comment
"Ruby does not work with ARM (due to assumptions about the memory
layout). Thus, stay with the classic memory system"
http://www.mail-archive.com/gem5-users%40gem5.org/msg11914.html -
Sun, 05 Jul 2015
Could some one please confirm if issue is still present or it was
solved in recent commits.
Thanks in advance for you time.
On 16 November 2015 at 20:13, Virendra Kumar Pathak
<kumarvir.pathak(a)gmail.com> wrote:
Hi gem5 users,
Do ruby memory model works with arm in gem5 ?
I am following below steps to compile and run:
Compile:
scons build/ARM/gem5.opt PROTOCOL=MESI_Two_Level RUBY=True
run:
build/ARM/gem5.opt --outdir=/home/vpathak/gem5_git/gem5/m5out_ruby
configs/example/fs.py --checkpoint-restore=1
--restore-with-cpu=detailed
--script=/home/vpathak/gem5_git/gem5/configs/boot/dgemm.rcS
--kernel=/home/vpathak/gem5_git/full-system-images/binaries/vmlinux.aarch64.20140821
--machine-type=VExpress_EMM64
--dtb-file=/home/vpathak/gem5_git/full-system-images/binaries/vexpress.aarch64.20140821.dtb
--disk-image=/home/vpathak/gem5_git/full-system-images/disks/aarch64-ubuntu-trusty-headless.img
--cpu-type=detailed --arm-iset=aarch64
--num-cpus=1 --cpu-clock=3GHz
--ruby
But I am getting below error:
AttributeError: object 'LinuxArmSystem' has no attribute '_dma_ports'
I looks into the code and found, unlike x86, makeArmSystem() do not
initialize test_sys._dma_ports.
Am I doing some mistake? Please help in resolving this issue.
Thanks in advance for your time.
--
with regards,
Virendra Kumar Pathak
--
with regards,
Virendra Kumar Pathak
Hello Pathak,
currently, ARM has no interest in the Ruby memory subsystem.
You can check Andreas Hansson's presentation here:
http://www.m5sim.org/wiki/images/f/f7/2015_ws_02_hansson_gem5_workshop_2015.pdf
There is a very old patch to add Ruby support for ARM (2012):
http://reviews.gem5.org/r/1191/
This patch will not work with the VExpress_EMM architecture AFAIK.
On Tue, Nov 17, 2015 at 5:46 AM, Virendra Kumar Pathak <
kumarvir.pathak(a)gmail.com> wrote:
Hi,
After searching the mailing list, I found Andreas Hansson comment
"Ruby does not work with ARM (due to assumptions about the memory
layout). Thus, stay with the classic memory system"
http://www.mail-archive.com/gem5-users%40gem5.org/msg11914.html -
Sun, 05 Jul 2015
Could some one please confirm if issue is still present or it was
solved in recent commits.
Thanks in advance for you time.
On 16 November 2015 at 20:13, Virendra Kumar Pathak
<kumarvir.pathak(a)gmail.com> wrote:
Hi gem5 users,
Do ruby memory model works with arm in gem5 ?
I am following below steps to compile and run:
Compile:
scons build/ARM/gem5.opt PROTOCOL=MESI_Two_Level RUBY=True
run:
build/ARM/gem5.opt --outdir=/home/vpathak/gem5_git/gem5/m5out_ruby
configs/example/fs.py --checkpoint-restore=1
--restore-with-cpu=detailed
--script=/home/vpathak/gem5_git/gem5/configs/boot/dgemm.rcS
--kernel=/home/vpathak/gem5_git/full-system-images/binaries/vmlinux.aarch64.20140821
--machine-type=VExpress_EMM64
--dtb-file=/home/vpathak/gem5_git/full-system-images/binaries/vexpress.aarch64.20140821.dtb
--disk-image=/home/vpathak/gem5_git/full-system-images/disks/aarch64-ubuntu-trusty-headless.img
--cpu-type=detailed --arm-iset=aarch64
--num-cpus=1 --cpu-clock=3GHz
--ruby
But I am getting below error:
AttributeError: object 'LinuxArmSystem' has no attribute '_dma_ports'
I looks into the code and found, unlike x86, makeArmSystem() do not
initialize test_sys._dma_ports.
Am I doing some mistake? Please help in resolving this issue.
Thanks in advance for your time.
--
with regards,
Virendra Kumar Pathak
--
with regards,
Virendra Kumar Pathak
gem5-users mailing list
gem5-users(a)gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Hi all,
Rodrigo, I think you’ve gotten the wrong end of the stick. Ruby definitely has a number of technical issues, but if someone is happy to invest time in addressing them that is of course welcome. For most users I would suggest staying with the classic memory system though.
Andreas
From: gem5-users <gem5-users-bounces(a)gem5.orgmailto:gem5-users-bounces(a)gem5.org> on behalf of Rodrigo Cataldo <cadorecataldo(a)gmail.commailto:cadorecataldo(a)gmail.com>
Reply-To: gem5 users mailing list <gem5-users(a)gem5.orgmailto:gem5-users(a)gem5.org>
Date: Tuesday, 17 November 2015 at 17:08
To: gem5 users mailing list <gem5-users(a)gem5.orgmailto:gem5-users(a)gem5.org>
Subject: Re: [gem5-users] arm - ruby model failed at run time
Hello Pathak,
currently, ARM has no interest in the Ruby memory subsystem.
You can check Andreas Hansson's presentation here: http://www.m5sim.org/wiki/images/f/f7/2015_ws_02_hansson_gem5_workshop_2015.pdf
There is a very old patch to add Ruby support for ARM (2012): http://reviews.gem5.org/r/1191/
This patch will not work with the VExpress_EMM architecture AFAIK.
On Tue, Nov 17, 2015 at 5:46 AM, Virendra Kumar Pathak <kumarvir.pathak(a)gmail.commailto:kumarvir.pathak(a)gmail.com> wrote:
Hi,
After searching the mailing list, I found Andreas Hansson comment
"Ruby does not work with ARM (due to assumptions about the memory
layout). Thus, stay with the classic memory system"
http://www.mail-archive.com/gem5-users%40gem5.org/msg11914.html -
Sun, 05 Jul 2015
Could some one please confirm if issue is still present or it was
solved in recent commits.
Thanks in advance for you time.
On 16 November 2015 at 20:13, Virendra Kumar Pathak
<kumarvir.pathak(a)gmail.commailto:kumarvir.pathak(a)gmail.com> wrote:
Hi gem5 users,
Do ruby memory model works with arm in gem5 ?
I am following below steps to compile and run:
Compile:
scons build/ARM/gem5.opt PROTOCOL=MESI_Two_Level RUBY=True
run:
build/ARM/gem5.opt --outdir=/home/vpathak/gem5_git/gem5/m5out_ruby
configs/example/fs.py --checkpoint-restore=1
--restore-with-cpu=detailed
--script=/home/vpathak/gem5_git/gem5/configs/boot/dgemm.rcS
--kernel=/home/vpathak/gem5_git/full-system-images/binaries/vmlinux.aarch64.20140821
--machine-type=VExpress_EMM64
--dtb-file=/home/vpathak/gem5_git/full-system-images/binaries/vexpress.aarch64.20140821.dtb
--disk-image=/home/vpathak/gem5_git/full-system-images/disks/aarch64-ubuntu-trusty-headless.img
--cpu-type=detailed --arm-iset=aarch64
--num-cpus=1 --cpu-clock=3GHz
--ruby
But I am getting below error:
AttributeError: object 'LinuxArmSystem' has no attribute '_dma_ports'
I looks into the code and found, unlike x86, makeArmSystem() do not
initialize test_sys._dma_ports.
Am I doing some mistake? Please help in resolving this issue.
Thanks in advance for your time.
--
with regards,
Virendra Kumar Pathak
--
with regards,
Virendra Kumar Pathak
gem5-users mailing list
gem5-users(a)gem5.orgmailto:gem5-users(a)gem5.org
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.