Re: [m5-dev] CacheController's wakeup function

2011-02-17 Thread Nilay Vaish
] CacheController's wakeup function On Tue, 15 Feb 2011, nathan binkert wrote: While I don't know anything about this code it looks a little suspect to me. Is there really a while (true) or is there some sort of while (!empty)? Can the queues be appended to while you drain? If these are both true

Re: [m5-dev] CacheController's wakeup function

2011-02-17 Thread Nilay Vaish
On Thu, 17 Feb 2011, Nilay Vaish wrote: On Wed, 16 Feb 2011, Beckmann, Brad wrote: Hi Nilay, I'm not quite sure what you mean by appended to while you drain, but I think you are asking whether the input ports will receive messages that are scheduled for the same cycle as the current cycle.

Re: [m5-dev] CacheController's wakeup function

2011-02-16 Thread Beckmann, Brad
responses. Brad -Original Message- From: m5-dev-boun...@m5sim.org [mailto:m5-dev-boun...@m5sim.org] On Behalf Of Nilay Vaish Sent: Tuesday, February 15, 2011 9:09 AM To: M5 Developer List Subject: Re: [m5-dev] CacheController's wakeup function On Tue, 15 Feb 2011, nathan binkert

Re: [m5-dev] CacheController's wakeup function

2011-02-15 Thread nathan binkert
While I don't know anything about this code it looks a little suspect to me. Is there really a while (true) or is there some sort of while (!empty)? Can the queues be appended to while you drain? If these are both true, then you'll lose some of your enqueued messages. Sorry if I'm uninformed.

Re: [m5-dev] CacheController's wakeup function

2011-02-15 Thread Nilay Vaish
On Tue, 15 Feb 2011, nathan binkert wrote: While I don't know anything about this code it looks a little suspect to me. Is there really a while (true) or is there some sort of while (!empty)? Can the queues be appended to while you drain? If these are both true, then you'll lose some of your

[m5-dev] CacheController's wakeup function

2011-02-14 Thread Nilay Vaish
I thought of this a moment ago, so I have not confirmed this empirically. The CacheController's wakeup function includes a while loop, in which all the queues are checked. Consider the Hammer protocol's L1 Cache Controller. It has four incoming queues - trigger, response, forward, mandatory.