Date: | Fri, 31 Aug 2007 16:37:20 -0500 |
---|---|
From: | "Lide Duan" <leaderduan@xxxxxxxxx> |
Subject: | Re: [Gems-users] A question on event scheduling |
Is it possible that the current peeked msg is not ready but there are some other ready msgs in this buffer? If so, the current msg will block the ready msgs because the while loop in the wakeup function of PerfectSwitch or Throttle will terminate when it encounters a *unready* msg, no matter the following msgs are ready or not.
This is not something like HOL blocking since all the msgs might be still conceptually in transit, e.g. in the throttle situation, one msg is enqueued into an output buffer (which is also an input buffer of the next Throttle) as soon as it comes out of the current input buffer, but its ready time in the next throttle is set to reflect the link latency. In other words, this msg will ocupy a position in the input buffer of the next Throttle although it's actually still in transit on the link, but it might block some other ready msgs in the same buffer during this time slot. Does what I am thinking possibly happen? Lide On 8/28/07, Mike Marty <mikem@xxxxxxxxxxx> wrote:
Even if the consumer is woken up, all the logic that actually removes a |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | Re: [Gems-users] Error on Compiling Ruby, Dan Gibson |
---|---|
Next by Date: | , (nil) |
Previous by Thread: | Re: [Gems-users] A question on event scheduling, Mike Marty |
Next by Thread: | Re: [Gems-users] A question on event scheduling, Niket Agarwal (niketa@xxxxxxxxxxxxx) |
Indexes: | [Date] [Thread] |