[m5-dev] Cron m5t...@zizzer /z/m5/regression/do-regression quick

2011-01-04 Thread Cron Daemon
* build/ALPHA_SE/tests/fast/quick/60.rubytest/alpha/linux/rubytest-ruby passed. * build/ALPHA_SE/tests/fast/quick/00.hello/alpha/linux/simple-timing passed. * build/ALPHA_SE/tests/fast/quick/00.hello/alpha/linux/o3-timing passed. *

Re: [m5-dev] Review Request: Changing how CacheMemory interfaces with SLICC

2011-01-04 Thread Nilay Vaish
On 2011-01-03 15:31:20, Brad Beckmann wrote: Hi Nilay, First, I must say this is an impressive amount of work. You definitely got a lot done over holiday break. :) Overall, this set of patches is definitely close, but I want to see if we can take them a step forward. Also I have a few

Re: [m5-dev] Review Request: Changing how CacheMemory interfaces with SLICC

2011-01-04 Thread Arkaprava Basu
Hi Nilay, On deadlock issue with MESI_CMP_directory : Yes, this can happen as ruby_tester or Sequencer only reports *possible* deadlocks. With higher number of processors there is more contention (and thus latency) and it can mistakenly report deadlock. I generally look at the protocol

Re: [m5-dev] Review Request: Changing how CacheMemory interfaces with SLICC

2011-01-04 Thread Beckmann, Brad
Hi Nilay, My responses are below: The main thing I would like to see improved is not having to differentiate between “entry” and “entry_ptr” in the .sm files. Am I correct that the only functions in the .sm files that are passed an “entry_ptr” are “is_valid_ptr”,

[m5-dev] Fixing MESI CMP directory protocol

2011-01-04 Thread Nilay Vaish
What threshold do you use? On Tue, 4 Jan 2011, Arkaprava Basu wrote: Hi Nilay, On deadlock issue with MESI_CMP_directory : Yes, this can happen as ruby_tester or Sequencer only reports *possible* deadlocks. With higher number of processors there is more contention (and thus latency)

Re: [m5-dev] Review Request: scons: show sources and targets when building.

2011-01-04 Thread Steve Reinhardt
On Mon, Jan 3, 2011 at 10:41 PM, nathan binkert n...@binkert.org wrote: So far I've found two oddities with a straightforward implementation of this approach: (1) It breaks down when the target is a prefix of the source: [ STRIP] ALPHA_SE/m5.fast.unstripped - instead of [

Re: [m5-dev] Review Request: scons: show sources and targets when building.

2011-01-04 Thread nathan binkert
 [   STRIP] ALPHA_SE/m5.fast - .unstripped Would it be for just this one, or all? I think that we generally want to cut and paste the source, not the target, so either way, this doesn't seem like a great option. Or I could trim back to the path separator:  [   STRIP]

Re: [m5-dev] Fixing MESI CMP directory protocol

2011-01-04 Thread Arkaprava Basu
These are the following step I use: 1. First run with whatever default values of threshold are. 2. If deadlocked, take trace and try to find out is there evident reason for deadlock or not. 3. If no, double the default threshold value and run again. 4. If the same test passes with larger

Re: [m5-dev] Review Request: scons: show sources and targets when building.

2011-01-04 Thread Steve Reinhardt
On Tue, Jan 4, 2011 at 11:24 AM, nathan binkert n...@binkert.org wrote: [ STRIP] ALPHA_SE/m5.fast - .unstripped Would it be for just this one, or all? I think that we generally want to cut and paste the source, not the target, so either way, this doesn't seem like a great option. For

Re: [m5-dev] Review Request: Changing how CacheMemory interfaces with SLICC

2011-01-04 Thread Nilay Vaish
Brad Is there a reason why each action name follows the pattern combination of several letters_action performed by the action? The letters used are not abbreviations of the action performed. Can we use any combination? Thanks Nilay On Tue, 4 Jan 2011, Beckmann, Brad wrote: Hi Nilay, My

Re: [m5-dev] Review Request: Changing how CacheMemory interfaces with SLICC

2011-01-04 Thread Beckmann, Brad
Hi Nilay, At one point in time, the combination of several letters at the beginning of the action name corresponded to the short hand name for the action. The short hand name is the letter or letter combination that appears in the HTML tables. SLICC may have once enforced that the

[m5-dev] changeset in m5: Params: Print the IP components in the right or...

2011-01-04 Thread Gabe Black
changeset c819526b7c2a in /z/repo/m5 details: http://repo.m5sim.org/m5?cmd=changeset;node=c819526b7c2a description: Params: Print the IP components in the right order. diffstat: src/base/inet.cc | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14 lines): diff -r

[m5-dev] Review Request: inorder: get rid of references to mainEventQueue.

2011-01-04 Thread Steve Reinhardt
--- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/368/ --- Review request for Default, Ali Saidi, Gabe Black, Steve Reinhardt, and Nathan

[m5-dev] Review Request: inorder: replace schedEvent() code with reschedule().

2011-01-04 Thread Steve Reinhardt
--- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/369/ --- Review request for Default, Ali Saidi, Gabe Black, Steve Reinhardt, and Nathan

[m5-dev] Review Request: pseudoinst: get rid of mainEventQueue references.

2011-01-04 Thread Steve Reinhardt
--- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/370/ --- Review request for Default, Ali Saidi, Gabe Black, Steve Reinhardt, and Nathan

[m5-dev] Review Request: sim: delete unused CheckSwapEvent code.

2011-01-04 Thread Steve Reinhardt
--- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/371/ --- Review request for Default, Ali Saidi, Gabe Black, Steve Reinhardt, and Nathan

[m5-dev] Review Request: sim: clean up CountedDrainEvent slightly.

2011-01-04 Thread Steve Reinhardt
--- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/372/ --- Review request for Default, Ali Saidi, Gabe Black, Steve Reinhardt, and Nathan

[m5-dev] Review Request: Hammer protocol: Change how data to copied from L1 to L2 cache and vice-versa

2011-01-04 Thread Nilay Vaish
--- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/334/ --- Review request for Default. Summary --- This patch changes the manner in

Re: [m5-dev] Review Request: inorder: replace schedEvent() code with reschedule().

2011-01-04 Thread Nathan Binkert
--- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/369/#review599 --- Ship it! Looks good. I assume it works. - Nathan On 2011-01-04

[m5-dev] Review Request: stats: rename StatEvent() function to schedStatEvent().

2011-01-04 Thread Steve Reinhardt
--- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/373/ --- Review request for Default, Ali Saidi, Gabe Black, Steve Reinhardt, and Nathan

[m5-dev] Review Request: Replace curTick global variable with accessor functions.

2011-01-04 Thread Steve Reinhardt
--- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/374/ --- Review request for Default, Ali Saidi, Gabe Black, Steve Reinhardt, and Nathan

Re: [m5-dev] Review Request: pseudoinst: get rid of mainEventQueue references.

2011-01-04 Thread Nathan Binkert
--- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/370/#review600 --- Ship it! Looks good. - Nathan On 2011-01-04 14:41:43, Steve Reinhardt

Re: [m5-dev] Review Request: sim: delete unused CheckSwapEvent code.

2011-01-04 Thread Nathan Binkert
--- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/371/#review601 --- Ship it! - Nathan On 2011-01-04 14:41:53, Steve Reinhardt wrote:

[m5-dev] recent batch of patches to review

2011-01-04 Thread Steve Reinhardt
FYI, I've been working recently on implementing multiple event queues/threads, and while the actual multi-queue code isn't ready yet, these patches represent a bunch of preliminary cleanup/setup changes that make it possible. I'd like to get these committed so I don't have to keep rebasing

Re: [m5-dev] Review Request: inorder: get rid of references to mainEventQueue.

2011-01-04 Thread Nathan Binkert
--- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/368/#review604 --- Ship it! - Nathan On 2011-01-04 14:40:57, Steve Reinhardt wrote:

Re: [m5-dev] recent batch of patches to review

2011-01-04 Thread nathan binkert
FYI, I've been working recently on implementing multiple event queues/threads, and while the actual multi-queue code isn't ready yet, these patches represent a bunch of preliminary cleanup/setup changes that make it possible.  I'd like to get these committed so I don't have to keep rebasing

Re: [m5-dev] Review Request: Replace curTick global variable with accessor functions.

2011-01-04 Thread Nathan Binkert
--- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/374/#review605 --- Ship it! Maybe it's too much for this diff, but I think you can get rid

Re: [m5-dev] Review Request: ruby: get rid of ruby's Debug.hh

2011-01-04 Thread Nathan Binkert
--- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/367/ --- (Updated 2011-01-04 15:02:38.269001) Review request for Default, Ali Saidi, Gabe

Re: [m5-dev] recent batch of patches to review

2011-01-04 Thread Steve Reinhardt
On Tue, Jan 4, 2011 at 2:59 PM, nathan binkert n...@binkert.org wrote: FYI, I've been working recently on implementing multiple event queues/threads, and while the actual multi-queue code isn't ready yet, these patches represent a bunch of preliminary cleanup/setup changes that make it

Re: [m5-dev] Review Request: Hammer protocol: Change how data to copied from L1 to L2 cache and vice-versa

2011-01-04 Thread Brad Beckmann
--- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/334/#review606 --- Hi Nilay, These changes look good, but don't you also have to use a tbe

Re: [m5-dev] Review Request: Hammer protocol: Change how data to copied from L1 to L2 cache and vice-versa

2011-01-04 Thread Brad Beckmann
--- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/334/#review607 --- Ship it! Nevermind my previous statement. I needed to look closer.

[m5-dev] m5/system directory

2011-01-04 Thread Ali Saidi
A long time ago we thought about putting a m5/system/ directory where we would put architecture dependent code system code (boot loaders, alpha console, etc). How do we feel about this? We could move the alpha code in there now that HP relicensed it. Additionally, I've got a tiny ARM boot loader

Re: [m5-dev] Review Request: ruby: get rid of ruby's Debug.hh

2011-01-04 Thread Brad Beckmann
--- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/367/#review608 --- Hi Nate, I have a couple questions: 1. Have you looked at the protocol

Re: [m5-dev] Review Request: Replace curTick global variable with accessor functions.

2011-01-04 Thread Steve Reinhardt
On 2011-01-04 14:59:52, Nathan Binkert wrote: Maybe it's too much for this diff, but I think you can get rid of the global variable and put _curTick in the event queue class. Then you can put a curTick() accessor into the EventQueue and EventManager classes, and create a global

Re: [m5-dev] Review Request: Replace curTick global variable with accessor functions.

2011-01-04 Thread Ali Saidi
--- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/374/#review610 --- Ship it! - Ali On 2011-01-04 14:43:38, Steve Reinhardt wrote:

Re: [m5-dev] Review Request: ruby: get rid of ruby's Debug.hh

2011-01-04 Thread Ali Saidi
--- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/367/#review611 --- src/mem/ruby/buffers/MessageBuffer.cc

Re: [m5-dev] Review Request: inorder: get rid of references to mainEventQueue.

2011-01-04 Thread Ali Saidi
--- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/368/#review612 --- Ship it! - Ali On 2011-01-04 14:40:57, Steve Reinhardt wrote:

Re: [m5-dev] Review Request: stats: rename StatEvent() function to schedStatEvent().

2011-01-04 Thread Ali Saidi
--- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/373/#review613 --- Ship it! - Ali On 2011-01-04 14:43:02, Steve Reinhardt wrote:

Re: [m5-dev] Review Request: sim: clean up CountedDrainEvent slightly.

2011-01-04 Thread Ali Saidi
--- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/372/#review614 --- Ship it! - Ali On 2011-01-04 14:42:03, Steve Reinhardt wrote:

Re: [m5-dev] Review Request: sim: delete unused CheckSwapEvent code.

2011-01-04 Thread Ali Saidi
--- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/371/#review615 --- Ship it! - Ali On 2011-01-04 14:41:53, Steve Reinhardt wrote:

Re: [m5-dev] Review Request: pseudoinst: get rid of mainEventQueue references.

2011-01-04 Thread Ali Saidi
--- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/370/#review616 --- Ship it! - Ali On 2011-01-04 14:41:43, Steve Reinhardt wrote:

Re: [m5-dev] Review Request: inorder: replace schedEvent() code with reschedule().

2011-01-04 Thread Ali Saidi
--- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/369/#review617 --- Ship it! My only question is does it work? it seems like the if

Re: [m5-dev] Review Request: RefCount: Add a unit test for reference counting pointers.

2011-01-04 Thread Ali Saidi
--- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/365/#review618 --- It's pretty good. I think Nate's suggestion is great and maybe a little

Re: [m5-dev] Review Request: inorder: replace schedEvent() code with reschedule().

2011-01-04 Thread Steve Reinhardt
On 2011-01-04 16:56:58, Ali Saidi wrote: My only question is does it work? it seems like the if statements don't translate exactly, but that could just be over-specifying the if (e.g. can you ever fall out with out any action?). You're right, the issue is that the old code would

Re: [m5-dev] Review Request: scons: show sources and targets when building.

2011-01-04 Thread Ali Saidi
--- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/366/#review620 --- Ship it! I think we talked about this and I'm ok with what we ended up

Re: [m5-dev] Review Request: scons: show sources and targets when building.

2011-01-04 Thread nathan binkert
I think we talked about this and I'm ok with what we ended up on the mailing list... Bonus points if you colorize the output :)... Blue = '\033[94m' Yellow = '\033[94m' Green = '\033[92m' End = '\0330m' CCCOMSTR = Blue + ' [ CC] ' + Yellow + '$TRANSFORMATION' + End Neat idea, but

Re: [m5-dev] curTick global variable

2011-01-04 Thread nathan binkert
I want to keep this a purely syntactic change, because I think the semantic changes are going to require some discussion. For example, my current next-step patch replaces mainEventQueue with an array of queues (so there is no single main event queue any more), and uses TLS to implement

Re: [m5-dev] m5/system directory

2011-01-04 Thread nathan binkert
A long time ago we thought about putting a m5/system/arch directory where we would put architecture dependent code system code (boot loaders, alpha console, etc). How do we feel about this? We could move the alpha code in there now that HP relicensed it. Additionally, I've got a tiny ARM boot

Re: [m5-dev] Review Request: ruby: get rid of ruby's Debug.hh

2011-01-04 Thread Nathan Binkert
On 2011-01-04 16:48:28, Ali Saidi wrote: src/mem/ruby/buffers/MessageBuffer.cc, line 163 http://reviews.m5sim.org/r/367/diff/3/?file=8418#file8418line163 Why continue to comment this out? Mostly because I didn't do it. I don't like commented code in the tree, and one of the

Re: [m5-dev] Review Request: trace: reimplement the DTRACE function so it doesn't use a vector

2011-01-04 Thread Ali Saidi
--- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/352/#review625 --- src/base/debug.hh http://reviews.m5sim.org/r/352/#comment838 This

Re: [m5-dev] Review Request: debug: create a Debug namespace

2011-01-04 Thread Ali Saidi
--- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/351/#review627 --- Ship it! - Ali On 2010-12-21 08:25:03, Nathan Binkert wrote:

Re: [m5-dev] curTick global variable

2011-01-04 Thread Ali Saidi
On Jan 4, 2011, at 7:56 PM, nathan binkert wrote: Interesting. If you were going to do this, why do you need accessors at all? This seems to mean that I shouldn't have created the whole EventManager thing and had schedule be a per-object thing. TLS scares me, but maybe that's

Re: [m5-dev] Review Request: util: python implementation of a routine that will sort includes

2011-01-04 Thread Ali Saidi
On Jan 4, 2011, at 8:15 PM, nathan binkert wrote: I think we've beat this to death on the mailing list. My only comment is that before it becomes part of the commit hook, please make sure that you can't throw anything at it that will cause an exception. A better thing to do is handle

Re: [m5-dev] Review Request: ruby: get rid of ruby's Debug.hh

2011-01-04 Thread Nilay Vaish
On 2011-01-04 16:31:01, Brad Beckmann wrote: Hi Nate, I have a couple questions: 1. Have you looked at the protocol trace output after your change? Does it look exactly like it did before? It seems that the output should be the same based on my brief inspection of your patch, but I

[m5-dev] changeset in m5: Ruby: Updates MOESI Hammer protocol

2011-01-04 Thread Nilay Vaish
changeset 9f9e10967912 in /z/repo/m5 details: http://repo.m5sim.org/m5?cmd=changeset;node=9f9e10967912 description: Ruby: Updates MOESI Hammer protocol This patch changes the manner in which data is copied from L1 to L2 cache in the implementation of the Hammer's cache

Re: [m5-dev] Review Request: scons: show sources and targets when building.

2011-01-04 Thread Steve Reinhardt
On Tue, Jan 4, 2011 at 5:44 PM, nathan binkert n...@binkert.org wrote: I think we talked about this and I'm ok with what we ended up on the mailing list... Bonus points if you colorize the output :)... Blue = '\033[94m' Yellow = '\033[94m' Green = '\033[92m' End = '\0330m'

Re: [m5-dev] curTick global variable

2011-01-04 Thread nathan binkert
Just to dive in for a moment here. TLS doesn't scare me. I've looked at a lot of ways to do the same thing and TLS is so much cleaner than the alternative getspecific/setspecific. I was more wondering about the global variable thing (TLS is essentially a global) more than TLS vs

Re: [m5-dev] Review Request: scons: show sources and targets when building.

2011-01-04 Thread nathan binkert
Neat idea, but you need to check sys.stdout.isatty() and conditionally add the color.  Then you're going to want a way to override that if you're piping through less :)  Seems like we could add a --color option to the SCons command line. It actually crossed my mind earlier today to use

Re: [m5-dev] Review Request: ruby: get rid of ruby's Debug.hh

2011-01-04 Thread nathan binkert
Brad, do you have some protocol trace with you? I have seen the trace that gets generated with the current trace facility using Ruby trace flag. It prints all the events for all the cache controllers and network routers. If you prefer, I can send you an example trace. Or you can generate

Re: [m5-dev] Review Request: ruby: get rid of ruby's Debug.hh

2011-01-04 Thread Nathan Binkert
On 2011-01-04 19:17:43, Nilay Vaish wrote: src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc, line 194 http://reviews.m5sim.org/r/367/diff/3/?file=8431#file8431line194 Should this not be converted to DPRINTF()? Perhaps, but that is really a separate change. I don't

Re: [m5-dev] Review Request: RefCount: Add a unit test for reference counting pointers.

2011-01-04 Thread nathan binkert
So do we want to define a standard set of assert like macros/functions/whatever? If we're going to go for a fixed format we should stick that in a header somewhere. I went with asserts because they pretty conveniently check the result and blow up if there's a problem, but printing PASS/FAIL

Re: [m5-dev] Review Request: util: python implementation of a routine that will sort includes

2011-01-04 Thread nathan binkert
I think we've beat this to death on the mailing list. My only comment is that before it becomes part of the commit hook, please make sure that you can't throw anything at it that will cause an exception. A better thing to do is handle all exceptions in the hook and just return failure if