1 / 30

Optimizing Buffer Management for Reliable Multicast

Optimizing Buffer Management for Reliable Multicast. Zhen Xiao AT&T Labs – Research Joint work with Ken Birman and Robbert van Renesse. Why important?. Many applications desire reliable or semi-reliable delivery. IP multicast is best-effort. Buffering is necessary for retransmission.

sienna
Télécharger la présentation

Optimizing Buffer Management for Reliable Multicast

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Optimizing Buffer Management for Reliable Multicast Zhen Xiao AT&T Labs – Research Joint work with Ken Birman and Robbert van Renesse

  2. Why important? • Many applications desire reliable or semi-reliable delivery. • IP multicast is best-effort. • Buffering is necessary for retransmission. • Buffer space is limited! How to utilize the amount of buffer space most efficiently?

  3. Previous Work • RMTP: Buffer all messages on repair servers. • Impractical for long-lived sessions. • SRM: Regenerate messages at the application. • Buffer management at the application level remains a challenge. • Stability Detection: Buffer messages until they are stable (i.e. received by all members in the group). • It takes a long time to achieve stability in a large multicast group. • Bimodal Multicast: Buffer messages for a fixed amount of time. • Optimization: buffer messages on a sub-group of members.

  4. Talk Overview • RRMP: Randomized Reliable Multicast Protocol • Error recovery algorithm in RRMP: Infocom 2001 • Buffering algorithms in RRMP: DSN 2002 • Feedback based short-term buffering • Randomized long-term buffering • Simulation results • Summary

  5. RRMP: Randomized Reliable Multicast Protocol Key idea: combine previous work on randomized error recovery with the Bimodal Multicast protocol and hierarchical error recovery similar to that employed by tree-based protocols. • Group receivers into a hierarchy. • Do not use any repair server. • parent region: the least upstream region of a receiver in the hierarchy. • Each receiver maintains group membership information about receivers in its region and receivers in its parent region.

  6. Two-phase Error Recovery Assumea receiver p detects a message loss. • local loss: the loss affects a fraction of receivers in p’s region • regional loss: the loss affects all receivers in p’s region Local recovery: a receiver tries to recover the loss from randomly selected neighbors. Remote recovery: some receivers in the region request retransmissions from the parent region.

  7. s routers receivers s sender

  8. s routers receivers s sender q p

  9. s routers receivers s sender q p

  10. Error Recovery Buffering Local recovery Short-term buffering Long-term buffering Remote recovery Overview of Buffering Scheme Short-term buffering: when a message is first introduced into the system. Long-term buffering: when almost all receivers in a region have received the message.

  11. Not All Messages Are Created Equal!

  12. Not All Messages Are Created Equal!

  13. As , this probability can be approximated by Feedback-based Short-term Buffering idea: a member uses the retransmission requests it received as feedback to estimate how many members in the region still miss the message. n: the size of a region p: the percentage of members in this region missing a message The probability that a member will not receive any request: idle message: no request for this message has been received for a time interval T. (T is the idle threshold.) Short-term buffering: buffer a received message until it becomes idle. Result: messages most needed in the system stay in the buffer longer. No extra traffic overhead!

  14. Simulation Results • Short-term buffering in a local region. • 100 members in the region, fully connected. • RTT between any two members: 10ms. • idle threshold: 40ms. • Outcome of IP multicast: select a random subset of members to hold a message initially. • Measure how long these members buffer the message.

  15. 96 %

  16. Why Long-term Buffering ???

  17. s routers receivers s sender

  18. s routers receivers s sender idle idle idle q Sorry, you are out of luck! p

  19. Randomized Long-term Buffering idea: provide long-term buffering for an idle message at a small subset of receivers in each region. Load balancing: spread the load of buffering across all receivers in a region. Randomized algorithm: each member independently tosses a coin to decide whether to become a long-term bufferer. C: the expected number of long-term bufferers. Saving in buffer space: n / C Network dynamics: message transfer

  20. The probability that k members buffer an idle message for different values of C, the expected number of long-term bufferers.

  21. The probability that no member buffers an idle message decreases exponentially with C

  22. How to find a long-term bufferer ???

  23. s routers receivers s sender q p

  24. help! Do you have the msg? have the msg? have the msg? have the msg?

  25. The search is over!

  26. Search Overhead • Evaluate penalty in recovery time due to search for a bufferer in a region with 100 members. • RTT between any two members: 10ms. • Assume a remote request arrives at a random member. • Simulation repeated 100 times with different random seeds. • Question I: how does the search time change with the number of bufferers? • Question II: how does the search time changes with the region size?

  27. Search time as the number of bufferers increases.

  28. Search time as the size of the region increases

  29. Summary • Efficient buffer management is essential for reliable multicast in a large group. • Two phase buffering to address variances in delivery latency in a large group. • Retransmission requests can be used as feedback to allocate buffer space adaptively. • Spread the load of buffering among all members in a group through randomization.

More Related