Re: [gem5-users] Questions about bbench statistics

2012-04-02 Thread Anthony Gutierrez
1) Correct 2) I believe the default is 2 seconds on the version for gem5. You can always mount the image and browse/modify the bbench source. 3) By default the system runs with 1 cpu. -n 1 and not specifying -n are the same. 4) No. You can modify the branch predictor by changing the params in O3

[gem5-users] Questions about bbench statistics

2012-04-02 Thread Kirtika Ruchandani
Hi, I have some naive questions about the stats obtaining by running bbench. 1. stats.txt shows two sets of statistics. I presume one set is till boot up and another is while running bbench. Is that right? 2. Bbench run on the desktop by default assumes 0 millisecond wait-time before scrolling. Is

Re: [gem5-users] bbench/android

2012-04-02 Thread Kirtika Ruchandani
Hi Michael, 0. What are you looking when you say more documentation? 1. How long did you wait? The bbench simulation takes 8 hours to complete for me when you dont specify the cpu type (default is AtomicSimple). Of this, I suppose ~2 hours should be boot up. If the cpu is arm_detailed, it takes a d

Re: [gem5-users] bbench/android

2012-04-02 Thread Levine, Michael I
Thanks. I was able to build and run the simulation. I also was able to use m5term to connect to the machine. My question now is if there is any more documentation on running bbench on Android? I have followed the steps from: http://www.gem5.org/Bbench-gem5 Is there anyway to get a gui? Or is it

Re: [gem5-users] bbench/android

2012-04-02 Thread Kirtika Ruchandani
scons build/ARM/m5.fast should suffice. (I am on the older version, where FS/SE was separate, dunno if the change has also changed the build command). I would recommend adding a "-j n" at the end of the command where n is the number of cores you can spare for the build. On Tue, Apr 3, 2012 at 5:

Re: [gem5-users] bbench/android

2012-04-02 Thread Levine, Michael I
Tony, What exactly should the scons command look like? scons /path_to_gem5_root/build/ARM/m5.fast ? -Mike From: gem5-users-boun...@gem5.org [gem5-users-boun...@gem5.org] on behalf of Tony [tony.feng...@gmail.com] Sent: Monday, April 02, 2012 8:08 PM To

Re: [gem5-users] bbench/android

2012-04-02 Thread Tony
Levine, Michael I student.uml.edu> writes: > > Thank you for the quick response, but I still am having trouble finding this ARM directory. > > Here is what I have: > > michael ubuntu:~/Desktop/gem5-c739a3a829f5/build$ ls > gzstream scons_config.log variables > libelfsconsign.dblite

Re: [gem5-users] bbench/android

2012-04-02 Thread Anirudh Sivaraman
Did you build GEM5 for ARM ?. Downloading M5 from the site alone is not enough. Look at the instructions here : http://www.m5sim.org/Build_System Anirudh On Mon, Apr 2, 2012 at 6:17 PM, Levine, Michael I wrote: > Thank you for the quick response, but I still am having trouble finding this > ARM

Re: [gem5-users] bbench/android

2012-04-02 Thread Levine, Michael I
Thank you for the quick response, but I still am having trouble finding this ARM directory. Here is what I have: michael@ubuntu:~/Desktop/gem5-c739a3a829f5/build$ ls gzstream scons_config.log variables libelfsconsign.dblite variables.global -Mike ___

Re: [gem5-users] bbench/android

2012-04-02 Thread Anthony Gutierrez
Oh, sorry. That is an artifact of the way the system used to be built. Now, the binaries for FS/SE are combined into a single binary. So to run you would do something like the follow: ./path_to_gem5_root/build/ARM/m5.fast configs/example/fs.py -b bbench --kernel=/path_to_gem5_system/binaries/vmlin

[gem5-users] bbench/android

2012-04-02 Thread Levine, Michael I
Hi, I am an engineering graduate student and I am currently trying to run an android image using gem5. I am following these instructions: http://www.m5sim.org/Bbench-gem5 However, I reach a snag when I get to this part: Run /path_to_gem5_root/build/ARM_FS/m5.fast configs/example/fs.py -b bbench

Re: [gem5-users] Dump simulation statistics for executing a particular

2012-04-02 Thread Zheng Wang
gt; > ___ > > gem5-users mailing list > > gem5-users@gem5.org > > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > -- next part -- > An HTML attachment was scrubbed... > URL: < > http://m5s

Re: [gem5-users] Dump simulation statistics for executing a particular function

2012-04-02 Thread Ali Saidi
Hi Zheng, If you link your program with the m5 ops in util/m5 you should be able to put m5_dumpreset_stats(0,0); __kernel(); m5_dumpreset_stats(0,0); and that should accomplish what you want. Ali On 02.04.2012 09:39, Zheng Wang wrote: > Hi, > I wonder how I can dump simulation s

Re: [gem5-users] Dump simulation statistics for executing a particular function

2012-04-02 Thread Tao Zhang
Hi Zheng, You can insert "m5.stats.reset()" immediately before the __kernel() function to restart the statistics and then call "m5.stats.dump()" following the __kernel() function to see the effect. Tao On 04/02/2012 09:39 AM, Zheng Wang wrote: Hi, I wonder how I can dump simulation statist

Re: [gem5-users] Issue Defining new Ruby Topology/ On-chip versus Off-chip

2012-04-02 Thread Malek Musleh
Hi Tushar, Thanks for the clarification. I had thought this earllier on, but when reading the tutorial (slides 13-136) and gem5 wiki (MOESI_CMP_directory), where there are references to multiple chips, and simulationg SMP/SCMPs, I was trying to convince myself otherwise. Malek On Sun, Apr 1, 201

[gem5-users] Dump simulation statistics for executing a particular function

2012-04-02 Thread Zheng Wang
Hi, I wonder how I can dump simulation statistics before and after calling a function in the SE mode (ARM cpu). For example, I want to collect simulation stats for executing the __kernel() function in the following code: int main() { .. __kernel(); … } Using m5.stats.dump() seems to only g