[Barrelfish-users] Messages
Timothy Roscoe
troscoe at inf.ethz.ch
Sat Aug 13 17:49:41 CEST 2011
Well, messages should never be lost or reordered on a UMP channel, but
both sending and receiving messages can temporarily fail in a variety
of ways (we push retries due to full channels, etc. back to the
sender).
This means that a single-threaded sender and receiver can deadlock if
they're not careful about handling things like send failures due to a
full channel, or the need to send acks back from the receiver.
The stubs try to hide most of the functionality required for this,
except for the fact that any send or recv can fail (as with Unix NBIO
and select/poll).
That said, you probably already know most of this :-)
And, of course, there are probably bugs.
-- Mothy
At Sat, 13 Aug 2011 15:08:27 +0200, Zeus Gómez Marmolejo <zeus.gomez at bsc.es> wrote:
> I'm trying to simplify the code (I'm using all gasnet and the library I
> made), but whenever I get it simpler it turns out that it's working...
>
> So I have to figure out where the problem is.
>
>
> El 12 de agosto de 2011 11:43, Tim Harris (RESEARCH)
> <tharris at microsoft.com>escribió:
>
> > Could you post some code examples?****
> >
> > ** **
> >
> > Cheers,****
> >
> > ** **
> >
> > Tim****
> >
> > ** **
> >
> > ** **
> >
> > ** **
> >
> > *From:* Zeus Gómez Marmolejo [mailto:zeus.gomez at bsc.es]
> > *Sent:* 12 August 2011 10:42
> > *To:* barrelfish-users at lists.inf.ethz.ch
> > *Subject:* [Barrelfish-users] Messages****
> >
> > ** **
> >
> > Hi,****
> >
> > ** **
> >
> > I'm developing a benchmark for message passing in Barrelfish, but I don't
> > get it working properly. I experience some random errors. ****
> >
> > ** **
> >
> > The application is single threaded and it's using the flounder stubs to
> > send messages via the UMP backend. Some of the messages get lost. Is it
> > possible that they arrive in different order that they were sent? I'm not
> > sure how to debug it****
> >
> > ** **
> >
> > ** **
> >
> > Thanks for your help!
> >
> > --
> > Zeus Gómez Marmolejo
> > Barcelona Supercomputing Center
> > PhD student
> > http://www.bsc.es
> >
> > ****
> >
>
>
>
> --
> Zeus Gómez Marmolejo
> Barcelona Supercomputing Center
> PhD student
> http://www.bsc.es
>
More information about the Barrelfish-users
mailing list