Re: [gem5-users] Errors on compiling gem5.fast

2014-08-25 Thread Andreas Hansson via gem5-users
Hi Nishant,

That¹s unfortunate. You can always compile without LTO by adding --no-lto
to the scons command line.

I suspect it is an issue with your compiler. Could you verify that it is
indeed built with LTO support (and linker-plugin support)?

Andreas

On 8/26/14, 2:49 AM, "Nishant Borse via gem5-users" 
wrote:

>Hi,
>
>I am unable to build gem5.fast and its terminating with the following
>error.
>"g++: error: -fuse-linker-plugin is not supported in this configuration"
>
>I am using  gcc/4.8.2.  I did run into similar error for --plugin for
>gcc/4.6.3
>Is anyone aware why would I be running into this while compiling
>gem5.fast. I was able to build gem5.opt without any such issues.
>
>
>
>Thanks,
>Nishant Borse
>___
>gem5-users mailing list
>gem5-users@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.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England & Wales, Company No:  2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
Registered in England & Wales, Company No:  2548782

___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users


[gem5-users] Errors on compiling gem5.fast

2014-08-25 Thread Nishant Borse via gem5-users
Hi,

I am unable to build gem5.fast and its terminating with the following error.
"g++: error: -fuse-linker-plugin is not supported in this configuration"

I am using  gcc/4.8.2.  I did run into similar error for --plugin for gcc/4.6.3
Is anyone aware why would I be running into this while compiling
gem5.fast. I was able to build gem5.opt without any such issues.



Thanks,
Nishant Borse
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users


[gem5-users] scheduling issue for Parsec X68 FS mode

2014-08-25 Thread Fulya via gem5-users
Hi all,
I have been running Parsec benchmarks with x86 FS mode. I am running 4 cpus, 4 
threads and using simlarge input set. My gem5 version is the latest stable 
version (gem5-stable-aaf017eaad7d). I am using the x86_64-vmlinux-2.6.28.4-smp 
kernel and the parsec image provided on the UT Austin website. My problem is 
that some cpus seem to hang there doing nothing resulting in unrealistically 
low number of committed instructions. Below are some of the statistics for the 
ROI portion of canneal:
system.cpu0.committedInsts  831079737   # 
Number of instructions committed
system.cpu1.committedInsts 512473   # 
Number of instructions committed
system.cpu2.committedInsts  396574208   # 
Number of instructions committed
system.cpu3.committedInsts  409403428   # 
Number of instructions committed

system.cpu0.numCycles  1671471523   # 
number of cpu cycles simulated
system.cpu1.numCycles  1618509331   # 
number of cpu cycles simulated
system.cpu2.numCycles  1645375971   # 
number of cpu cycles simulated
system.cpu3.numCycles  1646168550   # 
number of cpu cycles simulated

In this example, I used the atomic cpu and simply ran the benchmarks from the 
beginning till the end, and reported the 2nd set of stats, which correspond to 
ROI. It looks like cpu0, cpu2, and cpu3 executed ~0.83, 0.4, and 0.41 billion 
instructions, respectively. Cpu1, on the other hand, executed only 0.0005 
billion instructions, which is negligible compared to the others. I am thinking 
this may be a linux scheduling issue. Does anyone have a solution to this 
problem? I had this problem a while ago 
(http://www.mail-archive.com/gem5-users%40gem5.org/msg08466.html) and still 
could not figure out a solution.
Best,
Fulya___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] Avoid using DMA in Ruby FS mode

2014-08-25 Thread Alex Tomala via gem5-users
Hello,

I am wondering if there is any way to boot the Linux kernel in Ruby FS mode 
(Alpha ISA) without requiring the use of the DMA units. I am trying to do it 
right now and it hangs as there is an unfulfilled DMA request.

Best regards,

Alex Tomala___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] linux boot up time

2014-08-25 Thread Andreas Hansson via gem5-users
Hi Namitha,

Looking at the linux-boot in regressions, using the atomic CPU, on a modern 
workstation:

Alpha: 25 s
ARM: 50 s
X86: 130 s

Andreas

From: Namitha Krishna via gem5-users 
mailto:gem5-users@gem5.org>>
Reply-To: Namitha Krishna mailto:namitha...@gmail.com>>, 
gem5 users mailing list mailto:gem5-users@gem5.org>>
Date: Monday, August 25, 2014 at 8:17 PM
To: "gem5-users@gem5.org" 
mailto:gem5-users@gem5.org>>
Subject: [gem5-users] linux boot up time

Hello,

Can anybody pls tell me how much time it takes to boot up linux on Gem5?



regards,
Namitha

-- 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.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England & Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
Registered in England & Wales, Company No: 2548782___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] linux boot up time

2014-08-25 Thread Namitha Krishna via gem5-users
Hello,

Can anybody pls tell me how much time it takes to boot up linux on Gem5?



regards,
Namitha
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Integrate DRAMSim2 with gem5

2014-08-25 Thread Prathap Kolakkampadath via gem5-users
Thanks Andreas and Debiprasanna for your reply. I wanted to use a Cycle
Accurate Memory System Simulator. I got more details about native gem5 DRAM
controller from gem5 publications page. I am doing some experiments with
LLC and its really good to know that native DRAM controller match
contemporary controller architecture.


On Mon, Aug 25, 2014 at 4:14 AM, Andreas Hansson 
wrote:

>  Hi all,
>
>  DRAMSim2 is indeed integrated through a wrapper that has been part of
> gem5 since March. Note that we integrated it primarily as a reference
> implementation, and that I would suggest to stick to the native gem5 DRAM
> controller. It is more flexible, more tightly integrated with the gem5
> configuration scripts, and will not slow down your simulations like
> DRAMSim2.
>
>  See the gem5 publications page for more info on the DRAM controller in
> gem5: http://www.gem5.org/Publications
>
>  Andreas
>
>   From: Debiprasanna Sahoo via gem5-users 
> Reply-To: Debiprasanna Sahoo , gem5 users
> mailing list 
> Date: Monday, August 25, 2014 at 5:24 AM
> To: Prathap Kolakkampadath , gem5 users mailing list
> 
> Subject: Re: [gem5-users] Integrate DRAMSim2 with gem5
>
>  Hi Prathap,
>
>  It is already integrated in the development version. You can download it
> from the dev repository. In the next release of gem5 stable, you can find
> the same in the stable repository.
>
>  Thanks,
> Debiprasanna Sahoo
>  Research Scholar
> IIT Bhubaneswar
>
>
> On Sun, Aug 24, 2014 at 11:16 PM, Prathap Kolakkampadath via gem5-users <
> gem5-users@gem5.org> wrote:
>
>> Hi Users,
>>
>>  Has anyone successfully integrated  DRAMSim2 with  gem5? If so please
>> point me to the patch and the version of gem5 used.
>>
>>  Thanks,
>> Prathap
>>
>> ___
>> gem5-users mailing list
>> gem5-users@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.
>
> ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ,
> Registered in England & Wales, Company No: 2557590
> ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ,
> Registered in England & Wales, Company No: 2548782
>
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Integrate DRAMSim2 with gem5

2014-08-25 Thread Andreas Hansson via gem5-users
Hi all,

DRAMSim2 is indeed integrated through a wrapper that has been part of gem5 
since March. Note that we integrated it primarily as a reference 
implementation, and that I would suggest to stick to the native gem5 DRAM 
controller. It is more flexible, more tightly integrated with the gem5 
configuration scripts, and will not slow down your simulations like DRAMSim2.

See the gem5 publications page for more info on the DRAM controller in gem5: 
http://www.gem5.org/Publications

Andreas

From: Debiprasanna Sahoo via gem5-users 
mailto:gem5-users@gem5.org>>
Reply-To: Debiprasanna Sahoo 
mailto:debiprasanna.sa...@gmail.com>>, gem5 users 
mailing list mailto:gem5-users@gem5.org>>
Date: Monday, August 25, 2014 at 5:24 AM
To: Prathap Kolakkampadath mailto:kvprat...@gmail.com>>, 
gem5 users mailing list mailto:gem5-users@gem5.org>>
Subject: Re: [gem5-users] Integrate DRAMSim2 with gem5

Hi Prathap,

It is already integrated in the development version. You can download it from 
the dev repository. In the next release of gem5 stable, you can find the same 
in the stable repository.

Thanks,
Debiprasanna Sahoo
Research Scholar
IIT Bhubaneswar


On Sun, Aug 24, 2014 at 11:16 PM, Prathap Kolakkampadath via gem5-users 
mailto:gem5-users@gem5.org>> wrote:
Hi Users,

Has anyone successfully integrated  DRAMSim2 with  gem5? If so please point me 
to the patch and the version of gem5 used.

Thanks,
Prathap

___
gem5-users mailing list
gem5-users@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.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England & Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
Registered in England & Wales, Company No: 2548782___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] gem5-users Digest, Vol 97, Issue 20

2014-08-25 Thread Namitha Krishna via gem5-users
Hi Ali,

Thank you for your reply. What you explained is exactly what I had to do on
hardware as well.. This segmenting off a piece of memory for each core can
be done in the linker script right and then you pass it to the bootloader?
or is there anything I'm missing here? Also, could you tell me how much
time it takes to boot linux in Gem5?

regards,
Namitha


On Sun, Aug 24, 2014 at 6:00 PM, via gem5-users  wrote:

> Send gem5-users mailing list submissions to
> gem5-users@gem5.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
> or, via email, send a message with subject or body 'help' to
> gem5-users-requ...@gem5.org
>
> You can reach the person managing the list at
> gem5-users-ow...@gem5.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of gem5-users digest..."
>
>
> Today's Topics:
>
>1. Re: Full system simulation in AMP mode (Ali Saidi via gem5-users)
>2. Re: ARMv8 Client-Server configuration (Ali Saidi via gem5-users)
>
>
> --
>
> Message: 1
> Date: Sat, 23 Aug 2014 13:20:04 -0500
> From: Ali Saidi via gem5-users 
> To: Namitha Krishna , gem5 users mailing list
> 
> Subject: Re: [gem5-users] Full system simulation in AMP mode
> Message-ID: 
> Content-Type: text/plain; charset=windows-1252
>
> You?d have to add some support to gem5 to segment off a piece of memory
> for the AMP and load some code for it to run. Right now all cores jump into
> a boot loader where they all spin except cpu0 which boots linux. When linux
> is ready to bring up the other cores it sends them an interrupt and they
> read a predefined location to find their starting address. You could modify
> the boot loader to alway jump to a known location and tell linux there is
> only 1 cpu, but you?d still need to segment off a piece of memory.
>
> Ali
>
> On Aug 20, 2014, at 3:09 PM, Namitha Krishna via gem5-users <
> gem5-users@gem5.org> wrote:
>
> > Hi,
> >
> > Can anybody tell me how I can use Gem5 for a full system simulation of a
> dual-core cortex-A9 in Asymmmetric multiprocessing mode when one core is
> running Linux and the other core is running a bare-metal application. On
> hardware, the linux core which is the master has to kick the second core
> with a SEV (Send event) . Should this be done on Gem5 as well? Where can we
> specify the .elf for the bare metal core if the linux image needs to be
> passed to --kernel on the command line ? If the number of cores are
> increased, where should the .elf files for these cores be specified?
> > Can somebody please elaborate the steps and the python scripts to be
> modified please?
> >
> > regards,
> > Namitha.
> > ___
> > gem5-users mailing list
> > gem5-users@gem5.org
> > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
>
>
> --
>
> Message: 2
> Date: Sat, 23 Aug 2014 13:21:56 -0500
> From: Ali Saidi via gem5-users 
> To: Ivan Stalev , gem5 users mailing list
> 
> Subject: Re: [gem5-users] ARMv8 Client-Server configuration
> Message-ID: <0db2e4ae-6152-4b58-91e1-2a724c208...@umich.edu>
> Content-Type: text/plain; charset="windows-1252"
>
> You?re not going to have any support for PCIe device with that kernel.
> We?re working on the last bit of debugging and polishing around a kernel
> that will support it ? I intended to have it out 2 weeks ago, but we?re
> still diligently working and it should be out in the next couple of days.
>
> Ali
>
>
>
>
> On Aug 20, 2014, at 10:36 AM, Ivan Stalev  wrote:
>
> > Edit: I was using my own compiled kernel. I am now using the default
> kernel, vmlinux-3.14-aarch64-vexpress-emm64, and it appears not to crash. I
> will go ahead and test it out.
> >
> >
> > On Wed, Aug 20, 2014 at 11:19 AM, Ivan Stalev  wrote:
> > Hi Andreas,
> >
> > No problem, I figured it wasn't the 80 char README file patch :)
> >
> > I applied the 7 patches you posted this morning, but now when I run in
> dual mode, gem5 crashes with this:
> >
> > panic: M5 panic instruction called at pc=0xffc8a024.
> >  @ tick 58408160
> > [execute:build/ARM/arch/arm/generated/exec-ns.cc.inc, line 241403]
> >
> > The GDB backtrace from gem5.debug suggests that execution is somehow
> killed from a manually inserted breakpoint.
> >
> > This is also after I had to hardcode the DTB file name for the drivesys
> in /src/arch/arm/linux/system.cc since it was not picking it up from the
> command line...
> >
> > warn: Kernel supports device tree, but no DTB file specified
> > fatal: Expected a single ATAG memory entry but got 3
> >  @ tick 58402784
> > [initState:build/ARM/arch/arm/linux/system.cc, line 202]
> >
> > Can you share how you tested the client-server configuration?
> >
> > Thank you,
> >
> > Ivan
> >
> >
> >
> >
> > On Wed, Aug 20, 2014 at 4:45 AM, Andreas Hansson