Re: [gem5-users] Troubles using Barrelfish into GEM5

2012-06-20 Thread Ali Saidi
Hi Rafael, The ELT platform was removed because there isn't a linux kernel available for it. IF you need it you can add the code back from a previous change set in the repository. It would be best to switch to the EMM model. Thanks, Ali On Jun 20, 2012, at 1:58 PM, Rafael Garibotti wrote: > H

Re: [gem5-users] FS mode simulation exits just after starting, benchmark seems not running

2012-06-20 Thread Bojun Ma
Hi,Tony, A further question about .rcS script Is there any special commands of running SPEC CPU2000 in FS mode? I only got some reference of Syscall Emulation Mode Command Lines Also, if possible, can you share an example of rcS script you created for running SPEC in FS mode. Thank you very much

Re: [gem5-users] FS mode simulation exits just after starting, benchmark seems not running

2012-06-20 Thread Bojun Ma
Got it. Thank you. On Wed, Jun 20, 2012 at 11:03 PM, Anthony Gutierrez wrote: > That's just an example. You can put the binary and input anywhere you > like. And run it in the script the same way you'd run it from the command > line. > > > On Wed, Jun 20, 2012 at 10:56 PM, Bojun Ma wrote: > >> A

Re: [gem5-users] FS mode simulation exits just after starting, benchmark seems not running

2012-06-20 Thread Anthony Gutierrez
That's just an example. You can put the binary and input anywhere you like. And run it in the script the same way you'd run it from the command line. On Wed, Jun 20, 2012 at 10:56 PM, Bojun Ma wrote: > A question of ammp.rcS > > #!/bin/sh > > cd /benchmarks/spec/ammp00/ > > > /sbin/m5 checkpoint

[gem5-users] about .rcS script in FS mode of SPEC CPU benchmark

2012-06-20 Thread Bojun Ma
Hi, All, I am running the SPEC CPU 2000 in FS mode, But got some trouble of creating .rcS script. Can I use the .rcS script in configs/boot directly? like ammp.rcS? Could any one share your .rcS script of SPEC CPU2000 benchmark? Or give any suggestion of how to generate it. I am

Re: [gem5-users] FS mode simulation exits just after starting, benchmark seems not running

2012-06-20 Thread Bojun Ma
A question of ammp.rcS #!/bin/sh cd /benchmarks/spec/ammp00/ /sbin/m5 checkpoint 0 0 /sbin/m5 checkpoint 1 2 /sbin/m5 loadsymbol /sbin/m5 resetstats ./ammp < input/mdred.in /sbin/m5 exit -- "./ammp < in

Re: [gem5-users] FS mode simulation exits just after starting, benchmark seems not running

2012-06-20 Thread Anthony Gutierrez
look at the ammp.rcS file that already exists in configs/boot. I would put the binary and input in some place designated for benchmarks. Perhaps a directory called "benchmarks" within the home directory, then cd into that directory from your script before you attempt to launch the binary. Also you

Re: [gem5-users] error: 'IsaFakeParams' has no member named 'fake_mem'

2012-06-20 Thread Ali Saidi
It looks like you'r running into an issue with a newer compiler and an older version of gem5. You should give the development version a try. Ali On 20.06.2012 15:25, Matthew Catanzaro (RIT Student) wrote: > Getting this build error when trying to build ALPHA_FS. Is scons > attempting to bu

Re: [gem5-users] FS mode simulation exits just after starting, benchmark seems not running

2012-06-20 Thread Bojun Ma
Any suggestion of how to write .rcS file. I am not familiar with that. I just make a little modification of the ammp.rcS script in configs/boot. By the way is that right to copy the benchmark to the mount point of the disk image? Regards, Bojun On Wed, Jun 20, 2012 at 10:36 PM, Anthony Gutierrez

Re: [gem5-users] FS mode simulation exits just after starting, benchmark seems not running

2012-06-20 Thread Anthony Gutierrez
usage: /sbin/m5 exit [delay] /sbin/m5 resetstats [delay [period]] /sbin/m5 dumpstats [delay [period]] /sbin/m5 dumpresetstats [delay [period]] /sbin/m5 readfile [filename] /sbin/m5 execfile /sbin/m5 checkpoint [delay [period]] /sbin/m5 loadsymbol

Re: [gem5-users] FS mode simulation exits just after starting, benchmark seems not running

2012-06-20 Thread Bojun Ma
Here is the system.terminal file. (in attachment) It seems cannot open the input file of ammp. Yes I compile it statically. I mean I put it in the /mnt of my Ubuntu OP which is the mount point I used for the disk image. The Structure is like this: bojun@bojun-desktop:/mnt$ ls 164.gzip bin dev

Re: [gem5-users] FS mode simulation exits just after starting, benchmark seems not running

2012-06-20 Thread Anthony Gutierrez
The stats file isn't really useful here. What do the simulator and system.terminal output say? Is it exiting because of m5 exit? If so I have a feeling that your binary isn't able to execute. Did you compile it statically? Why are you placing it in the /mnt directory of the disk image? -Tony On W

[gem5-users] FS mode simulation exits just after starting, benchmark seems not running

2012-06-20 Thread Bojun Ma
Hi, All, I am running SPEC CPU2000 benchmark in ARM FS mode.(ammp) I copy ammp binary and input file to the /mnt of the disk image which download from the gem5 website. My .rcS file: #!/bin/sh /sbin/m5 checkpoint 0 0 /sbin/m5 checkpoint 1 2 /sbin/m5 loadsymb

Re: [gem5-users] Error determining SWIG version

2012-06-20 Thread Andreas Hansson
The patch is pushed. Please make sure that you either set SWIG using export/setenv etc or specify SWIG = .. on the scons command line. Andreas From: gem5-users-boun...@gem5.org [mailto:gem5-users-boun...@gem5.org] On Behalf Of Nyunyi Tshibangu Sent: 20 June 2012 18:15 To: gem5 users mailing lis

Re: [gem5-users] Error determining SWIG version

2012-06-20 Thread Nyunyi Tshibangu
Hello Andreas, the SWIG is in my path. the same path all other dependency are install. I can verify this with echo $PATH command. are you gonna fix SConstruct? or give me a fix for it I can do it myself. Thanks On Wed, Jun 20, 2012 at 7:08 PM, Andreas Hansson wrote: > Hi Nyunyi, > > ** ** >

Re: [gem5-users] Error determining SWIG version

2012-06-20 Thread Andreas Hansson
Hi Nyunyi, Is your local swig in your path? Alternatively you can specify the path using SWIG = ... As a side note, I noticed when looking at the SConstruct file that we always execute 'swig' rather than what is specified by the SWIG environment variable for determining the version. I'll fix t

Re: [gem5-users] Help with debugging a kernel panic

2012-06-20 Thread Pritha Ghoshal
Hi Ali, I have a different panic now(not sure about the old one, that is also there). I had modified e1000_clean_rx_irq function to check for the skb_dev_name and match it with eth0 and process the packet only if it matched, just for a check.. The panic comes in the first line of code in strcmp: f

[gem5-users] Error determining SWIG version

2012-06-20 Thread Nyunyi Tshibangu
I am trying to build M5 with: *scons build/ARM/gem5.opt* but I am getting the error: Error determining SWIG version. I change swig 2.07 to 2.02 but still the same. I dont have root permisssion but I install all dependencies on my local directory on Red Hat Enterprise Linux Workstation release 6.2

[gem5-users] Simpoint on ARM or X86

2012-06-20 Thread Jee Ho Ryoo
Hi, In the ASPLOS tutorial, it says that the simpoint is only implemented in alpha. Has there been any progress in this towards ARM or X86 architecture? Is it possible to run simpoint on either of two ISAs? Thank you. Jee Ho Ryoo ___ gem5-users mailing

[gem5-users] error: 'IsaFakeParams' has no member named 'fake_mem'

2012-06-20 Thread Matthew Catanzaro (RIT Student)
Getting this build error when trying to build ALPHA_FS. Is scons attempting to build out of order? scons build/ALPHA_FS/m5.fast Running scons to build gem5... scons: Reading SConscript files ... Checking for leading underscore in global variables...(cached) no Checking for C header file Python.h.

Re: [gem5-users] FATAL: Kernel too old error

2012-06-20 Thread Lluís Vilanova
Ali Saidi writes: > Either compile your code on an older system or compile a newer kernel for use > with gem5. What's the newest kernel version for x86 that anyone got to run in FS mode? Lluis -- "And it's much the same thing with knowledge, for whenever you learn something new, the whole w

Re: [gem5-users] Trying to use MIPS full-system

2012-06-20 Thread Rafael Garibotti
Hi Korey, At least, in the Review request number 991, called "MIPS: The full patch of MIPS_FS" (http://reviews.m5sim.org/r/991/diff/), Deyuan said he would send you a standalone kernel image by email. Testing Done: We have

Re: [gem5-users] Troubles using Barrelfish into GEM5

2012-06-20 Thread Rafael Garibotti
Hi Samuel, Yes, you were right. I run hake.sh with the arm_gem5 parameter and then run make without the arm parameter. So, running Barrelfish on the old GEM5 revision (d45a02bd5391) with the VExpress_ELT platform, it works. But as I said before, the new GEM5 revision (64db8473f3ab) do n

Re: [gem5-users] Trying to use MIPS full-system

2012-06-20 Thread Korey Sewell
Did he send me this image? He might have. If so, can you point me to the thread (subject or mailing list) and I'll forward to you whatever I have. On Tue, Jun 19, 2012 at 3:28 AM, Rafael Garibotti wrote: > Hi Korey, > > Yes, following the mailing list, I found he used the linux-3.1-rc4 and

Re: [gem5-users] Bpred: RAS maybe not getting correctly squashed (in some case)

2012-06-20 Thread Nathanaël Prémillieu
Any new insights on what happens? Le 12/06/2012 16:20, Nathanaël Prémillieu a écrit : Ok, my bad. The new trace: http://www.irisa.fr/alf/downloads/premillieu/gem5/445.gobmk.score2.trace_All-Event.deferredtime.gz The code look like that now: // if we have a response packet waiting we have to st

Re: [gem5-users] Reseting the stats

2012-06-20 Thread Hamid Reza Khaleghzadeh
Hello, I have modified Gem5 and introduced a patch where ruby stats is reset by m5_reset_stats(). You can download the patch from http://reviews.gem5.org. I would be thankful if send your opinion about it. Best regards On Wed, Jun 20, 2012 at 1:48 PM, Yuval H. Nacson wrote: > Oh… and I want to

Re: [gem5-users] Reseting the stats

2012-06-20 Thread Yuval H. Nacson
Oh. and I want to use the SE mode while doing so. Thanks again. From: Yuval H. Nacson [mailto:yhnac...@tx.technion.ac.il] Sent: Wednesday, June 20, 2012 12:17 PM To: gem5-users@gem5.org Subject: Reseting the stats Hello, Thank you guys for all the help so far. I've managed to g

[gem5-users] Reseting the stats

2012-06-20 Thread Yuval H. Nacson
Hello, Thank you guys for all the help so far. I've managed to get my simulation working but now I want to collect cache miss rate and CPU CPI only from after a certain point in my program. How can I that? Thanks, Yuval ___ gem5-users maili

Re: [gem5-users] running SPEC benchmark in Full system mode

2012-06-20 Thread Mahmood Naderan
if you think it is mandatory to run spec under FS mode, look how PARSEC benchmarks are simulated under FS. I don't use FS. -- // Naderan *Mahmood; ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] running SPEC benchmark in Full system mode

2012-06-20 Thread Bojun Ma
Thanks for your reply. I mean I want to run a single benchmark on multi cores at the same time. My goal is to simulate the power distribution of multi core system. I just cannot find some specific guide for running SPEC in FS mode. On Wed, Jun 20, 2012 at 3:19 AM, Mahmood Naderan wrote: > If you

Re: [gem5-users] Implementation of producer consumer problem

2012-06-20 Thread Jack Harvard
Hi, Why a ring buffer [implemented in an array as in C/C++] with one producer thread and one consumer thread will not meet your requirement? Jack On Wed, Jun 20, 2012 at 5:27 AM, vishal rawtiya wrote: > Hello! > > I am a beginner at gem5, so forgive me for any ignorance. I want to > test

Re: [gem5-users] running SPEC benchmark in Full system mode

2012-06-20 Thread Mahmood Naderan
If your problem is "multicore simulation", both SE and FS can do that. If your problem is "simulating a while system including network, IO, OS activity, multithread,..." then you should use FS. SPEC benchmarks are single threaded and many of them are runable in SE mode. -- // Naderan *Mahmood; __

Re: [gem5-users] running SPEC benchmark in Full system mode

2012-06-20 Thread Bojun Ma
But I want to run a SPEC benchmark in a multicores system.So I choose FS mode. On Wed, Jun 20, 2012 at 3:09 AM, Mahmood Naderan wrote: > SPEC benchmarks are cpu and memory intensive. SE mode is enough. > > On 6/20/12, Bojun Ma wrote: > > Hi,All, > > I searched the wiki document, but only fou

Re: [gem5-users] running SPEC benchmark in Full system mode

2012-06-20 Thread Mahmood Naderan
SPEC benchmarks are cpu and memory intensive. SE mode is enough. On 6/20/12, Bojun Ma wrote: > Hi,All, > I searched the wiki document, but only found document of running SPEC > in SE mode. > Can anyone who has the experience in running SPEC in FS mode give me > some guide? > > Thanks