[Barrelfish-users] Flux control in Barrelfish

Zeus Gómez Marmolejo zeus.gomez at bsc.es
Tue Dec 20 19:28:34 CET 2011


I'd like to ask you a question. Suppose we have core A always sending
messages to core B. And core B is replying all messages back to core A.
Core A never sends a new message before the previous one has not been sent
(via continuation closure). But, reply message that B sends to A is much
bigger than the one A sends to B. So when the 2nd reply message is to be
sent from core B it always gets the FLOUNDER_ERR_TX_BUSY.

So my question is if there is a way to do a message flux control between
the two cores. I understand that core B cannot send back a message if the
previous reply has not been completely sent. But on the other side, the
message handler cannot block and wait, as all the message processing
stalls. I also tried to queue all replies using 2 threads to not block the
message processing thread, sending them back when the previous one has been
sent, but finally my reply queue ends up filling completely.

So what I want is that core A stop sending so many messages controlling the
sending flux. Is there a way to do it with flounder? Which ways do you
recommend me to do this?

Many thanks!!

Zeus Gómez Marmolejo
Barcelona Supercomputing Center
PhD student
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20111220/0911a7a0/attachment.html 

More information about the Barrelfish-users mailing list