Re: [gem5-users] L1, L2, L3 cache sizes not being used?

2012-11-01 Thread Anthony Gutierrez
Those options are being ignored because you're not using caches at all. You need --caches. -Tony On Thu, Nov 1, 2012 at 3:36 PM, Payne, Benjamin wrote: > Hello, > > I am running gem5 in syscall emulation mode and specifying the cache > sizes. This appears to work as desired. > > bpayne@bpayne-V

[gem5-users] MSHR difference between markedPending and downstreamPending flags.

2012-11-02 Thread Anthony Gutierrez
Hello, I am running into an assertion failure, assert(!downstreamPending), in MSHR::clearDownstreamPending(). This assert fails some of the time, but not always. My question is, what is the difference between markedPending and downstreamPending? It seems that marked pending is only every used insi

[gem5-users] Simple DRAM not draining when cores do not switch L1's

2012-11-05 Thread Anthony Gutierrez
I have a system that repeatedly switching back and forth between core types; I am trying to evaluate the effects on the caches due to switching. I give each core its own L1 caches and when switching out, it keeps its L1s connected. However, when I upgraded to the latest repo that uses simple DRAM.

Re: [gem5-users] Simple DRAM not draining when cores do not switch L1's

2012-11-05 Thread Anthony Gutierrez
Hi Andreas, Actually, it appears the simple_dram does not drain properly at all in some cases. You should be able to reproduce this error using a clean checkout (I did add DPRINTFs to simple_dram.cc:drain()) without any modifications; the following command line is what I ran: ./build/ALPHA/m5.opt

Re: [gem5-users] Simple DRAM not draining when cores do not switch L1's

2012-11-05 Thread Anthony Gutierrez
NOTE, the problem with this trace is that it hangs while trying to drain because the physmem never signals drained; it's dramWriteQueue is never emptied and only refreshes forever. -Tony ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cg

Re: [gem5-users] gem5 GUI?

2012-11-06 Thread Anthony Gutierrez
There is a simple pipeline view in the util directory, this can be used for debugging. Other than that, I don't know of any GUI for gem5. -Tony On Tue, Nov 6, 2012 at 5:33 PM, Payne, Benjamin wrote: > Hello, > > I was playing around with AMD's SimNow, which has a GUI. Here are some > examples:

Re: [gem5-users] is L2 Private or Shared : Script given?

2012-11-06 Thread Anthony Gutierrez
The default only has a shared L2 cache. If you wanted to use private L2 caches per core you'd need to instantiate num_cores L2 caches and L2 busses, then connect them to the CPUs. E.g., you have to do something like this: system.ls = [ L2Cache(clock = options.clock, size=...) for i in xrange(num_c

Re: [gem5-users] Simple DRAM not draining when cores do not switch L1's

2012-11-07 Thread Anthony Gutierrez
Yes. And I hope to add a draining regression soon. On Nov 7, 2012 3:29 AM, "Andreas Hansson" wrote: > Hi Tony, > > Could you give this one a go: http://reviews.gem5.org/r/1535/ > > It seems to solve the problem on my end. > > Andreas > > From: Anthon

Re: [gem5-users] Android on ARM

2012-11-07 Thread Anthony Gutierrez
Can you provide some more information? What is your command line? Does the simulation stop or fault? Does BBench ever start, what does the frame buffer show? That may be a warning that can be ignored. -Tony On Wed, Nov 7, 2012 at 2:42 AM, Aparna Mandke wrote: > Hi, > I am using ICS image and An

Re: [gem5-users] [gem5-dev] Review Request: ARM: implement the ProcessInfo methods

2012-12-05 Thread Anthony Gutierrez
Hello Martin, I am out of town at the moment. I will make my patches for the ARM kernel available some time within a week. -Tony On Dec 5, 2012 10:21 AM, "Martin Brown" wrote: > Hello Anthony, > > I'm a gem5 user. I'm running Android simulations. I'm trying to use the > ProcessInfo methods, but

Re: [gem5-users] [gem5-dev] Review Request: ARM: implement the ProcessInfo methods

2012-12-09 Thread Anthony Gutierrez
Here is a patch for the 2.6.38.8 kernel that adds the necessary process information: diff --git a/arch/arm/kernel/m5op.S b/arch/arm/kernel/m5op.S new file mode 100644 index 000..af56bc6 --- /dev/null +++ b/arch/arm/kernel/m5op.S @@ -0,0 +1,161 @@ +/* + * Copyright (c) 2010 ARM Limited + * All

Re: [gem5-users] Error when running bbench under arm_detailed

2013-01-20 Thread Anthony Gutierrez
Are all of your runs on the same machine and/or with the same setup? Please provide your exact command line and system setup. -Tony Hi Andreas, ** ** Thank you so much for your reply. I think my hg id is 94383c5124d2+ tip. And sadly, I don’t think it happen at the exact same tips every time

Re: [gem5-users] Problem when running BBench on ARM platform

2013-01-21 Thread Anthony Gutierrez
Did you look at logcat to see if it gives any hints as to what the problem may be? -Tony On Mon, Jan 21, 2013 at 7:33 AM, huangyongbing wrote: > Hi all, > > ** ** > > I run bbench on arm platform using ics image downloaded from > gem5’s website, and find that bbench stays at the fin

Re: [gem5-users] How to change the default number of iterations for bbench

2013-01-22 Thread Anthony Gutierrez
I am confused as to what you want to do. Do you want to run only one webpage per run of the simulator? Or run separate instances of the browser, each running a different page, in parallel? In any case, if you want to eliminate any particular page from the benchmark you need to mount the disk image

Re: [gem5-users] How to change the default number of iterations for bbench

2013-01-23 Thread Anthony Gutierrez
Right. But, as was also pointed out, this makes it a completely different benchmark. Just a word of caution. -Tony On Wed, Jan 23, 2013 at 2:59 PM, Jack Harvard wrote: > As somebody on the list said, you can isolate the 11 pages into 11 > parallel runs on your cluster. You need to configure the

[gem5-users] Assertion failure in O3 CPU when using --repeat-switch

2013-01-24 Thread Anthony Gutierrez
I get an assertion failure when I repeatedly switch with the O3 CPU: m5.opt: build/ARM/cpu/o3/fetch_impl.hh:432: void DefaultFetch::drainSanityCheck() const [with Impl = O3CPUImpl]: Assertion `!memReq[i]' failed. Program aborted at cycle 10476827000 I am trying to run bbench on gingerbread with

Re: [gem5-users] Saving the the output of bbench as text?

2013-01-29 Thread Anthony Gutierrez
Hi Gabriel, I have finished a new version of BBench, version 3.0, you can get it here: http://bbench.eecs.umich.edu That site is still under heavy construction and I haven't officially announced the release yet, so there isn't a ton of info; the new version is written in html5 and is able to inte

Re: [gem5-users] Questions about Switching CPU Type in rcS Files

2013-02-07 Thread Anthony Gutierrez
Hi Hongyuan, switchcpu causes simulation to exit with the cause "switchcpu", it doesn't actually cause a CPU switch. You could do something like this: add "/sbin/m5 switchcpu" to your rcS script before you launch your benchmark. Then you will need to modify the Simulation.py script to recognize th

Re: [gem5-users] arm_detailed vs detailed cpu?

2013-02-14 Thread Anthony Gutierrez
n advance! > > > ___ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > -- > Anthony Gutierrez <http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users> > <http://m5sim.org/cgi-bin/mailman/

Re: [gem5-users] arm_detailed vs detailed cpu?

2013-02-14 Thread Anthony Gutierrez
lso I assume the regular detailed mode is also fairly similar to modern > OoO CPUs? > > > On Thu, Feb 14, 2013 at 10:59 PM, Anthony Gutierrez wrote: > >> The ARM detailed CPU is just the detailed CPU with certain parameters set >> to model a modern OoO ARM CPU. >> &g

Re: [gem5-users] questions on running benchmark on gem5

2013-02-19 Thread Anthony Gutierrez
image. Simply mount the image, then copy the apk file to /system/app. If you notice there are a few APKs that I added to the Gingerbread image, ReplicaIsland.apk and smartbench.apk. Both worked ok with this method. Anthony Gutierrez http://web.eecs.umich.edu/~atgutier On Tue, Feb 19, 2013 at 11:16

Re: [gem5-users] questions on running benchmark on gem5

2013-02-19 Thread Anthony Gutierrez
PK is not distributed independently by the authors, I don't know how to get access to the APK. Anthony Gutierrez http://web.eecs.umich.edu/~atgutier On Tue, Feb 19, 2013 at 1:07 PM, Fangfei Liu wrote: > Hi Anthony, > > ** ** > > Thank you so much for your help! Do you kn

Re: [gem5-users] questions on running benchmark on gem5

2013-02-20 Thread Anthony Gutierrez
I would never advocate such things... :-P Anthony Gutierrez http://web.eecs.umich.edu/~atgutier On Wed, Feb 20, 2013 at 5:33 AM, Jack Harvard wrote: > Why not has a try "Download AndEBench apk" into Google? > > Jack Harvard > > > On Tue, Feb 19, 2013 at 6:16

Re: [gem5-users] Need help about mcr icimvau instruction

2013-02-26 Thread Anthony Gutierrez
likely to see it being used. If you run BBench, it will be used heavily. Unless you're doing research in this specific area I wouldn't worry about that instruction not being implemented. Anthony Gutierrez http://web.eecs.umich.edu/~atgutier On Tue, Feb 26, 2013 at 3:48 AM, Abu Saad wro

Re: [gem5-users] Alpha In-Order CPU Model is not working well

2013-02-26 Thread Anthony Gutierrez
Can we push that patch out? Anthony Gutierrez http://web.eecs.umich.edu/~atgutier On Tue, Feb 26, 2013 at 8:39 AM, WonSeob Jeong wrote: > Hi, Korey > > Thank you for your help! > I applied hwrei patch and it works fine. > > Won Seob Jeong > > > On 02/26/2013 0

Re: [gem5-users] Alpha In-Order CPU Model is not working well

2013-02-26 Thread Anthony Gutierrez
e sky for me...but it hasn't so far! :) > > -Korey > > On Tue, Feb 26, 2013 at 6:38 AM, Ali Saidi wrote: > >> ** >> >> If memory serves the change breaks the o3 cpu for Alpha. >> >> >> >> Ali >> >> >> >> On 26.02.20

[gem5-users] Compiling on OS X 10.8.2

2013-03-01 Thread Anthony Gutierrez
s@gem5.org/msg06632.html if I simply run ./build/ARM/m5.fast configs/example/fs.py. Any help would be appreciated. Thanks, Anthony Gutierrez http://web.eecs.umich.edu/~atgutier ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailma

Re: [gem5-users] Compiling on OS X 10.8.2

2013-03-02 Thread Anthony Gutierrez
I tried clang, it also has linker errors. I'll try to figure out why the llvm compiler that comes with my Xcode isn't working. Thanks, Anthony Gutierrez http://web.eecs.umich.edu/~atgutier On Sat, Mar 2, 2013 at 10:50 AM, Ali Saidi wrote: > HI Tony, > > I'm running 1

Re: [gem5-users] Compiling on OS X 10.8.2

2013-03-02 Thread Anthony Gutierrez
't working. I'll have to start fresh and double check everything. Anthony Gutierrez http://web.eecs.umich.edu/~atgutier On Sat, Mar 2, 2013 at 1:57 PM, Andreas Hansson wrote: > Hi Tony, > > I use Xcode 4.6, and clang/clang++ as the default compiler (clang > 3.2svn). > &

Re: [gem5-users] Compiling on OS X 10.8.2

2013-03-03 Thread Anthony Gutierrez
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Anthony Gutierrez http://web.eecs.umich.edu/~atgutier On Sat, Mar 2, 2013 at 10:38 PM, Hossein Nikoonia wrote: > I did this in Lion without a problem. Maybe you have multiple versions of > gcc and that is confusing ... > > > On Sat,

Re: [gem5-users] Cacheline_size configuration

2013-03-04 Thread Anthony Gutierrez
Bytes. Anthony Gutierrez http://web.eecs.umich.edu/~atgutier On Mon, Mar 4, 2013 at 3:03 PM, Ding, Hongyuan wrote: > Hi all, > I use the option of --cacheline_size=64 to define cache block size > for dcache. But I wonder 64 means 64bits or 64bytes. > Can an

Re: [gem5-users] Request for binaries

2013-03-08 Thread Anthony Gutierrez
If you have the cds then you have the source and can build them yourself. The binaries may not be distributed. On Mar 8, 2013 4:52 PM, "Xiaobin Liu" wrote: > Hi, > > Sorry to bother you guys, but could anyone kindly offer me a spec2000 > alpha binaries? The download link in SS website is 404 now.

[gem5-users] Wiki section with tips on maintaing your local repo.

2013-03-09 Thread Anthony Gutierrez
while, but, I finally got around to creating the wiki page. In it, I describe my methodology for managing change in my local repo, i.e., by using mercurial queues. I believe most of the gem5 devs make heavy use of MQs as well. http://gem5.org/Managing_Change_in_Your_Local_Repository Anthony Gutierrez

Re: [gem5-users] How to set a Fully associative L1 cache ?

2013-03-12 Thread Anthony Gutierrez
It is possible with the classic memory system. I don't know much about Ruby but, from that assert it appears as though it's not possible in Ruby. Anthony Gutierrez http://web.eecs.umich.edu/~atgutier On Tue, Mar 12, 2013 at 10:04 AM, Maxime Chéramy wrote: > Hello, > > When

Re: [gem5-users] How to set a Fully associative L1 cache ?

2013-03-12 Thread Anthony Gutierrez
a/src/mem/cache/builder.cc +++ b/src/mem/cache/builder.cc @@ -88,11 +88,7 @@ { int numSets = size / (assoc * block_size); -if (numSets == 1) { -BUILD_FALRU_CACHE; -} else { -BUILD_LRU_CACHE; -} +BUILD_LRU_CACHE; return NULL; } Anthony Gutierrez http://web

Re: [gem5-users] copying files from gem5 full system image

2013-04-15 Thread Anthony Gutierrez
That is a little tricky. An easy way to do this is to retain them on the image by disabling the CoW layer. Although you need to be careful with this and probably use separate images for each file you need generated. Anthony Gutierrez http://web.eecs.umich.edu/~atgutier On Mon, Apr 15, 2013 at

Re: [gem5-users] How to use the repeat switch cpu?

2013-05-14 Thread Anthony Gutierrez
I recommend using the latest development repository. The CPUs are switching, but if you want to switch between atomic and O3 CPUs you need to modify the CPU type of the repeat switch CPUs in Simulation.py. Anthony Gutierrez http://web.eecs.umich.edu/~atgutier On Mon, May 13, 2013 at 10:51 PM

Re: [gem5-users] Does Gem5 implement magic instructions?

2013-05-14 Thread Anthony Gutierrez
gem5 implements pseudo-ops. See src/sim/pseudo_inst.hh/cc Anthony Gutierrez http://web.eecs.umich.edu/~atgutier On Tue, May 14, 2013 at 7:57 PM, Mahshid Sedghi wrote: > Hello, > > I was wondering if gem5 implements magic instructions. I need to > distinguish between the two

Re: [gem5-users] "terminate called after throwing an instance of 'std::bad_alloc' " when using trunk

2013-06-04 Thread Anthony Gutierrez
s = floorLog2(size) - 17; will yield a negative number. Then, it tries to allocate a huge amount of memory, i.e., new FALRUBlk *[numCaches]; See the ctor in fa_lru.cc To override FA LRU tags see: http://qa.gem5.org/42/how-to-set-a-fully-associative-l1-cache Anthony Gutierrez http://web.e

[gem5-users] (no subject)

2013-06-06 Thread Anthony Gutierrez
available anywhere? Thanks Anthony Gutierrez http://web.eecs.umich.edu/~atgutier ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Modify ARM O3 to InOrder got deadlock

2013-07-15 Thread Anthony Gutierrez
you need to set physical registers >= max number of arch registers + max number of instructions in flight (ROB size). Perhaps you're running into a similar issue with your rename changes. Anthony Gutierrez http://web.eecs.umich.edu/~atgutier On Mon, Jul 15, 2013 at 1:56 PM, Xiangyang G

Re: [gem5-users] Modify ARM O3 to InOrder got deadlock

2013-07-15 Thread Anthony Gutierrez
value on commit. Maybe someone who knows gem5's implementation can correct me on this. Anthony Gutierrez http://web.eecs.umich.edu/~atgutier On Mon, Jul 15, 2013 at 2:40 PM, Korey Sewell wrote: > Hi Tony, > Are you saying that registers are *not* being freed upon commit? > > E

Re: [gem5-users] Modify ARM O3 to InOrder got deadlock

2013-07-15 Thread Anthony Gutierrez
sizes should be made much smaller. Anthony Gutierrez http://web.eecs.umich.edu/~atgutier On Mon, Jul 15, 2013 at 2:43 PM, Xiangyang Guo wrote: > Hi, I make the InstQueue size to 1 to make sure inorder issue, but I did > not make any change to ROB because I think ROB doesn't harm

Re: [gem5-users] Android app on Gem5

2013-08-11 Thread Anthony Gutierrez
Here are the contents of the rcS for Replica Island I wrote: #!/bin/sh #Author: Anthony Gutierrez sleep 10 /sbin/m5 dumpstats /sbin/m5 resetstats am start -n com.replica.replicaisland/.AndouKun /sbin/m5 exit I haven't tested it in a few years so I don't know if it still works, I&

Re: [gem5-users] Android app on Gem5

2013-08-11 Thread Anthony Gutierrez
but it was several years ago and I was just trying to get some more apps to work on gem5. Anthony Gutierrez http://web.eecs.umich.edu/~atgutier On Sun, Aug 11, 2013 at 6:14 PM, Xiangyang Guo wrote: > Anthony, > > Thank you so much. > > > On Sun, Aug 11, 2013 at 6:09 PM, Anthon

Re: [gem5-users] Bandwidth of SimpleMemory

2013-08-22 Thread Anthony Gutierrez
That is the inverse of the BW, i.e., the time in picoseconds. Anthony Gutierrez http://web.eecs.umich.edu/~atgutier On Thu, Aug 22, 2013 at 5:32 PM, Lu Bai wrote: > Hi all, > > I'm trying to change the bandwidth of SimpleMemory, the default value is > 12.8GB/s and the simula

Re: [gem5-users] Gem5 quits when it switches CPU with parsec

2013-08-28 Thread Anthony Gutierrez
scripts to switch to a detailed CPU and enter back into simulation. Anthony Gutierrez http://web.eecs.umich.edu/~atgutier On Wed, Aug 28, 2013 at 9:36 AM, יואב אורן wrote: > Hi, > > I'm running Parsec benchmark with 1 or 4 CPUs with the Disk image from > http://www.cs.utexas.edu

[gem5-users] Incorrect event priority for debug start option.

2013-11-12 Thread Anthony Gutierrez
there actually be something separate called Debug_Enable_Pri? If this is ok, I can submit this patch. Anthony Gutierrez http://web.eecs.umich.edu/~atgutier ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] GEM5 cross compiler for ARM

2014-01-15 Thread Anthony Gutierrez
I like to use the Linaro toolchain: http://www.linaro.org/downloads/ Anthony Gutierrez http://web.eecs.umich.edu/~atgutier On Wed, Jan 15, 2014 at 3:35 PM, Yu Wang wrote: > Hi, > > I have some issues with the ARM cross compiling tools. Specifically,I am > trying to install J

Re: [gem5-users] [gem5-dev] local branch predictor error

2014-01-16 Thread Anthony Gutierrez
e behavior describing could be reasonable. Anthony Gutierrez http://web.eecs.umich.edu/~atgutier On Thu, Jan 16, 2014 at 9:01 PM, Milad Mohammadi wrote: > Hi, > > The gem5 local branch predictor exhibits a larger number of mispredictions > as you increase the size of the predictor.

Re: [gem5-users] local branch predictor error

2014-01-17 Thread Anthony Gutierrez
r increases aliasing probability drops and he number of mispredictions ought to drop (unless a corner case happens) On Thursday, January 16, 2014, Anthony Gutierrez wrote: > I'm not quite sure exactly what it is you're doing, but if I am following > correctly it doesn't seem like

Re: [gem5-users] local branch predictor error

2014-01-17 Thread Anthony Gutierrez
What exactly are you setting to 32, 256, 1024, etc.? The local, global, or choice predictor? Or all 3? You can try getting a trace of the branches by using gem5.opt --debug-flags=Fetch. That way you can see if the predictions are behaving as expected. Anthony Gutierrez http://web.eecs.umich.edu

Re: [gem5-users] ARM Android Error: "Kernel not compiled with task_struct info"

2014-02-11 Thread Anthony Gutierrez
Here would be good: http://gem5.org/BBench-gem5 Have you confirmed this patch works with the latest version of gem5? I think some m5ops have been added/modified. Anthony Gutierrez http://web.eecs.umich.edu/~atgutier On Tue, Feb 11, 2014 at 12:47 PM, Martin Brown wrote: > Sure I can do t

Re: [gem5-users] Running SPEC CPU2006 benchmarks in X86 SE mode

2014-02-25 Thread Anthony Gutierrez
Are you using the python scripts that are provided on that page? Anthony Gutierrez http://web.eecs.umich.edu/~atgutier On Tue, Feb 25, 2014 at 2:04 PM, Aditya Deshpande < adityamdeshpa...@gmail.com> wrote: > Hi, > > I am following the information provided in the gem5 we

Re: [gem5-users] Write requests in I-Cache

2014-03-08 Thread Anthony Gutierrez
data. Anthony Gutierrez http://web.eecs.umich.edu/~atgutier On Sat, Mar 8, 2014 at 9:23 AM, senni sophiane wrote: > Hi everybody, > > In stats file, I can find "dcache.WriteReq_accesses" corresponding to the > number of write request accesses in D-Cache. However, there is no

Re: [gem5-users] ARMv8 config file

2014-04-09 Thread Anthony Gutierrez
There is an updated readme in that tarball that contains detailed instructions for how everything in the tarball was built. Anthony Gutierrez http://web.eecs.umich.edu/~atgutier On Wed, Apr 9, 2014 at 1:40 PM, Neal Haas wrote: > Hi all, > > I'm trying to understand how the v

Re: [gem5-users] ARMv8 config file

2014-04-09 Thread Anthony Gutierrez
The latest version of the README has all the steps necessary to build the kernel, image, and dtb files. Anthony Gutierrez http://web.eecs.umich.edu/~atgutier On Wed, Apr 9, 2014 at 2:01 PM, Neal Haas wrote: > Thanks for the fast response Anthony. > > I have followed these instruc

[gem5-users] Android full-system files and a new web-browser benchmark now available.

2011-11-09 Thread Anthony Gutierrez
, Anthony Gutierrez ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] Preventing dirty data in the icache.

2011-11-16 Thread Anthony Gutierrez
Hello All, I am trying to more accurately model the memory system for the ARM ISA (running Android) as well as implement some of the ARM cache flushing instructions. One problem i'm running into is that the icache contains dirty data. Looking at the code in cache_impl.hh I see that when a read req

Re: [gem5-users] Problem with vnc

2011-11-20 Thread Anthony Gutierrez
How are you running gem5? I.e., what is the command line you used? -Tony On Sun, Nov 20, 2011 at 12:14 AM, yanke wrote: > It stops there nearly 5 hour. I don't know how long it will continue to be > there. > > > > At 2011-11-20 00:17:27,"Ali Saidi" wrote: > > It's probably still booting, it ta

Re: [gem5-users] branch predictor in TimingSimpleCPU (?)

2011-11-20 Thread Anthony Gutierrez
The simple CPUs, atomic and timing, execute a single instruction in its entirety each cycle. Thus, they do not require branch prediction. -Tony On Sun, Nov 20, 2011 at 7:59 AM, Mahmood Naderan wrote: > hi, > how branch instructions are predicted in a TimingSimpleCPU? As I > searched the code, th

Re: [gem5-users] Problem with vnc

2011-11-20 Thread Anthony Gutierrez
> > At 2011-11-20 22:14:28,"Anthony Gutierrez" wrote: > > How are you running gem5? I.e., what is the command line you used? > > -Tony > > On Sun, Nov 20, 2011 at 12:14 AM, yanke wrote: > >> It stops there nearly 5 hour. I don't know how long it wi

Re: [gem5-users] Issues when Running bbench with Timing Modules

2011-12-14 Thread Anthony Gutierrez
It seems as though a recent changeset has broken things. I have tried running the full-system linux files from gem5.org as a sanity check and I get the same error even with those. So, it's not an issue specific to the BBench kernel/disk image. -Tony On Wed, Dec 14, 2011 at 4:15 PM, Rio Xiangyu Do

Re: [gem5-users] Issues when Running bbench with Timing Modules

2011-12-14 Thread Anthony Gutierrez
** ** > > This issue is fixed now. The reason it wasn't caught before is people > normally use caches in timing mode and gem5 requires caches with the o3 cpu. > > > ** ** > > Ali > > ** ** > > On Dec 14, 2011, at 6:45 PM, Anthony Gutierrez wrote:

Re: [gem5-users] Problem with vnc

2011-12-15 Thread Anthony Gutierrez
When I run ./build/ARM_FS/gem5.opt > ./configs/examples/fs.py -b ArmAndroid, I can't boot into vnc. When I run > ./build/ARM_FS/gem5.opt ./configs/examples/fs.py -b bbench, it says there > is no bbench. I use the developing repo. > > > > At 2011-11-21 10:17:31,"Antho

Re: [gem5-users] Problem with vnc

2011-12-16 Thread Anthony Gutierrez
ouse.nolock.clean.img) > @ cycle 0 > [open:build/ARM_FS/dev/disk_image.cc, line 79] > Memory Usage: 412200 KBytes > Program aborted at cycle 0 > Aborted (core dumped) > > > > > At 2011-12-16 00:47:11,"Anthony Gutierrez" wrote: > > You need to add

Re: [gem5-users] Problem with vnc

2011-12-18 Thread Anthony Gutierrez
t > xiao > > > > On Dec 18, 2011, at 9:19 AM, yanke wrote: > > I tried BBench, it has the same problem. > > > At 2011-12-16 22:43:29,"Anthony Gutierrez" wrote: > > That is because you are trying to run ArmAndroid, not BBench. Your command > line shoul

Re: [gem5-users] Problem with vnc

2011-12-19 Thread Anthony Gutierrez
Could not load kernel file > > I have no problem when I'm booting the android system, I use the kernel > and disk image on http://gem5.org/Bbench-gem5 > > I'm not sure whether this is the correct way to run rcS or do I need to > modify path? > > Thanks! > >

Re: [gem5-users] Problem with vnc

2011-12-21 Thread Anthony Gutierrez
.img) > > @ cycle 0 > [open:build/ARM_FS/dev/disk_image.cc, line 79] > Memory Usage: 412204 KBytes > > Program aborted at cycle 0 > Aborted (core dumped) > > > > At 2011-12-20 00:31:06,"Anthony Gutierrez" wrote: > > That is because you are using

Re: [gem5-users] Questions about running BBench on gem5

2012-01-20 Thread Anthony Gutierrez
Sounds like you have the right idea if you are getting a vnc output. Also, the framebuffer will show you if it's booting/running properly. If the bbench exited correctly the simulator output will say say that it stopped because the m5 exit instruction was encountered. Also, the framebuffer will dis

Re: [gem5-users] Questions about running BBench on gem5

2012-01-21 Thread Anthony Gutierrez
t; How do I resolve this? > > Regards, > Kirtika > > > > > > On Fri, Jan 20, 2012 at 9:24 PM, Anthony Gutierrez wrote: > >> Sounds like you have the right idea if you are getting a vnc output. >> Also, the framebuffer will show you if it's boot

Re: [gem5-users] Has Bbench EVER worked for anyone?

2012-01-29 Thread Anthony Gutierrez
BBench works fine out of the box with the current repo. The patch causing the problem which led me to suggest you use revision 7f762428a9f5 has been fixed in the current repo. And as I said, that was only a temporary solution anyhow. You are using the wrong kernel. You are using the kernel that co

Re: [gem5-users] Questions about running BBench on gem5

2012-02-04 Thread Anthony Gutierrez
nd as for gem5.opt, it fails at > link stage due to vague c++ undefined reference issues. > > Regards, > Kirtika > > > On Sat, Jan 21, 2012 at 10:08 PM, Anthony Gutierrez wrote: > >> I just noticed this too. I haven't looked too in depth into it so I don't

Re: [gem5-users] problem setting cache size

2012-02-08 Thread Anthony Gutierrez
In this case (a 512 B cache, 64 B line, 8 way) you have a fully associative cache. I think the FA_LRU tags don't work properly. You need to change things to never use the FA_LRU cache, see if that helps. On Wed, Feb 8, 2012 at 1:45 PM, Mahmood Naderan wrote: > block size is 64 and assoc is 8 > >

Re: [gem5-users] problem setting cache size

2012-02-09 Thread Anthony Gutierrez
, Feb 9, 2012 at 2:17 AM, Mahmood Naderan wrote: > but the error points to lru.cc:58 > > if (numSets <= 0 || !isPowerOf2(numSets)) { >fatal("# of sets must be non-zero and a power of 2"); > } > > i doubt if it is related to fa_lru > > > On 2/9/12, An

Re: [gem5-users] problem setting cache size

2012-02-10 Thread Anthony Gutierrez
lru is used. > http://www.mail-archive.com/gem5-users@gem5.org/msg01511.html > > While debugging at this line (lru.cc:58), I noticed that the problem > is not "power of 2". Instead number of sets are zero: > > if (numSets <= 0 || !isPowerOf2(numSets)) { >fat

Re: [gem5-users] Accessing kernel data structures (x86)

2012-02-14 Thread Anthony Gutierrez
Are the kernels on gem5.org (specifically the ARM kernel) compiled with this? Thanks, Tony ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] num_cpus not available in BaseCache.py

2012-02-17 Thread Anthony Gutierrez
First thing you should do when you get errors like this is check the repo. This issue was fixed last week. On Feb 17, 2012 9:02 AM, "Mahmood Naderan" wrote: > Hi, > What happened to this line: > > system.l2.num_cpus = options.num_cpus > > seem sthat BaseCache.py has no longer "num_cpus" field. So

Re: [gem5-users] query regarding linux kernel compilation for alpha core

2012-02-22 Thread Anthony Gutierrez
I don't think the mercurial repo is up since kernel.org was hacked. You should still be able to checkout the source using git though. On Mon, Feb 20, 2012 at 10:30 PM, Ali Saidi wrote: > Cloning the following should work: > http://www.kernel.org/hg/linux-2.6/ > > Ali > > On Feb 20, 2012, at 7:45

[gem5-users] Building a gem5 compatible Ubuntu image.

2012-03-02 Thread Anthony Gutierrez
Hello, I tried adding packages to the Ubuntu image from gem5.org. I followed the instructions from the link below to try to add packages to this image, however, apt-get just hangs when trying to add packages because it can't connect to the repo. When I build my own image using the method describe

Re: [gem5-users] Building a gem5 compatible Ubuntu image.

2012-03-02 Thread Anthony Gutierrez
s. I'm having no trouble mounting > the disk image on the website and running apt-get either. Not sure > what the problem could be at this point. What version of Ubuntu are > you using rootstock with? How are you creating the disk image? > > Geoff > > On Fri, Mar 2, 20

Re: [gem5-users] Building a gem5 compatible Ubuntu image.

2012-03-02 Thread Anthony Gutierrez
ll. 3) The one on gem5.org does not have a mounted-tmp.conf script. 4) The one on gem5.org does not have the line swapon /swapfile # if present, as indicated in the instructions. On Fri, Mar 2, 2012 at 3:19 PM, Anthony Gutierrez wrote: > I was originally using the default (ext2), but I not

Re: [gem5-users] Support for 'mount' system call or sdcard in Android?

2012-03-05 Thread Anthony Gutierrez
I believe this does have something to do with the permissions, and, I'd say the init.rc script is where you should do this anyhow. On Sun, Mar 4, 2012 at 2:39 PM, Kirtika Ruchandani wrote: > Hi, > @Gabe: Thanks - that gives me some clarity. You are probably right about > Android being unhappy abo

Re: [gem5-users] Having trouble adding a custom DPRINTF flag

2012-03-14 Thread Anthony Gutierrez
You need to add the header to the file in which it is being used. E.g., foo.hh. It will be generated. On Wed, Mar 14, 2012 at 2:19 PM, Paul Rosenfeld wrote: > Hello all, > > I'm making some changes in M5 and I was hoping to add my own DPRINTF flag > to track them through the simulator. I saw that

Re: [gem5-users] Having trouble adding a custom DPRINTF flag

2012-03-14 Thread Anthony Gutierrez
ed. Thank you. > > On Wed, Mar 14, 2012 at 2:23 PM, Anthony Gutierrez wrote: > >> You need to add the header to the file in which it is being used. E.g., >> foo.hh. It will be generated. >> >> On Wed, Mar 14, 2012 at 2:19 PM, Paul Rosenfeld wrote: >> >>&g

Re: [gem5-users] BBench CPU models

2012-03-21 Thread Anthony Gutierrez
I would suggest taking a checkpoint after the system boots and before bbench launches. This can be inserted in the bbench.rcS script by adding /sbin/m5 checkpoint right before bbench is launched. Then you can restore into O3. This should shave about a day off of simulation time since, im my experie

Re: [gem5-users] BBench CPU models

2012-03-21 Thread Anthony Gutierrez
ut from what I understand there is no way to reduce the 12 > hours time to anything lesser, because it's already running the > fastest CPU type (in terms of simulation speed). > > Anirudh > > On Wed, Mar 21, 2012 at 12:42 PM, Anthony Gutierrez > wrote: > > I woul

[gem5-users] Fully Associative Tags

2012-03-22 Thread Anthony Gutierrez
Hello All, Have the fully associative tags (FA_LRU) ever worked? I know I can use LRU and just set the associativity accordingly, but, FA_LRU are supposed to be faster in terms simulation time, correct? I get a segfault in the first call of handleFill() around line 1127: if (pkt->isRead()) {

[gem5-users] Best way to obtain cache assoc, numsets, etc.

2012-03-28 Thread Anthony Gutierrez
Hello, I am working with some code that relies on the correct implementation of the ARM CCSIDR ( http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0388f/CIHGGJAB.html) control register see: src/arch/arm/isa.cc:readMiscReg(). I'm trying to implement this (and the CSSELR http://infocent

[gem5-users] MISCREG_CTR value for ARM

2012-03-30 Thread Anthony Gutierrez
Is the value used for the ARM MISCREG_CTR register (see /arch/arm/isa.cc ~line 221), which is 0x86468006, correct? It seems as though it is incorrect, for the I-Min and D-Min fields at the very least. Accodring to the A15 TRM these values should be log2(#words of minimum cache line of all caches th

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

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

Re: [gem5-users] host_seconds for BBench

2012-04-04 Thread Anthony Gutierrez
Did you run in atomic mode? Also, is that the host_seconds from the first stats dump, or the second? -Tony On Wed, Apr 4, 2012 at 10:38 AM, Tony Feng wrote: > Hi, > > After I ran BBench, I found in the stats that host_seconds is 3443.57. I > didn't time the whole simulation, but at least I know

Re: [gem5-users] host_seconds for BBench

2012-04-04 Thread Anthony Gutierrez
ime of the benchmark. Can anyone with more knowledge of the stats confirm this? -Tony On Wed, Apr 4, 2012 at 10:49 AM, Tony wrote: > Anthony Gutierrez umich.edu> writes: > > > > > > > Did you run in atomic mode? Also, is that the host_seconds from the first > stats dum

Re: [gem5-users] BBench running time

2012-04-20 Thread Anthony Gutierrez
The instructions at http://gem5.org/BBench-gem5 assumes the reader already has some familiarity with gem5. In gem5 there are options for running certain portions of a benchmark using the fast atomic mode, then running the region of interest using the detailed mode. Search the wiki and/or mailing li

Re: [gem5-users] How to clean/invalidate I- and D-cache ARM

2012-04-24 Thread Anthony Gutierrez
That's correct you don't have to worry about cache maintenance. No, the d-cache is not write-through. It doesn't need to be. I have some patches for the i-cache maintenance operations (mcr icimvau, icialluis) and the d-cache wouldn't be difficult to implement using these as a base. They implement

Re: [gem5-users] running bbench

2012-04-24 Thread Anthony Gutierrez
Did you have the python dev library installed? -Tony On Tue, Apr 24, 2012 at 5:55 PM, Thomas, Amanda J < amanda_tho...@student.uml.edu> wrote: > Hi, > > I'm having trouble running bbench. I followed the instructions on > http://m5sim.org/BBench-gem5 and have everything installed. I exported >

Re: [gem5-users] running bbench

2012-04-24 Thread Anthony Gutierrez
Sorry, I mean, do you have the python header files installed? -Tony On Tue, Apr 24, 2012 at 9:16 PM, Anthony Gutierrez wrote: > Did you have the python dev library installed? > > -Tony > > > On Tue, Apr 24, 2012 at 5:55 PM, Thomas, Amanda J < > amanda_tho...@student

Re: [gem5-users] problems running bbench

2012-04-28 Thread Anthony Gutierrez
There is still some problem with your path. Are you sure M5_PATH is set correctly? What is the output of echo $M5_PATH? If you are sure that is correct try adding the absolute path to the SysPaths.py, line 53. -Tony On Sat, Apr 28, 2012 at 11:09 AM, Thomas, Amanda J < amanda_tho...@student.uml.ed

Re: [gem5-users] bbench an undefined benchmark?

2012-05-02 Thread Anthony Gutierrez
That is strange. This means that it's likely not defined in your Benchmarks.py file. Which version of gem5 are you using? -Tony On May 2, 2012 1:35 PM, "James Stadtmiller" < james_stadtmil...@student.uml.edu> wrote: > So, after fixing my gcc build to use 4.5.3, I was able to successfully > compil

  1   2   3   >