On Multicast - PowerPoint PPT Presentation

About This Presentation
Title:

On Multicast

Description:

On Multicast? CS614 - March 7, 2000 Tibor J nosi What to Expect Motivation / Why is it difficult? IP Multicast Routing Reliable Multicast Transport Protocol Scalable ... – PowerPoint PPT presentation

Number of Views:46
Avg rating:3.0/5.0
Slides: 44
Provided by: Prefer228
Category:
Tags: multicast

less

Transcript and Presenter's Notes

Title: On Multicast


1
On Multicast
?
  • CS614 - March 7, 2000
  • Tibor Jánosi

2
What to Expect
  • Motivation / Why is it difficult?
  • IP Multicast Routing
  • Reliable Multicast Transport Protocol
  • Scalable Reliable Multicast
  • Light-Weight Multicast Services
  • Pragmatic General Multicast
  • PGM/LMS Comparison

3
Motivation
  • Multimedia streams live and not.
  • Financial data distribution.
  • Distributed fault tolerance.
  • All these Same basic communication pattern, but
    have widely different requirements.

4
Why Difficult?
  • Very different application needs.
  • Limited bandwidth and processing power.
  • Poorly known/changing network topology.
  • Hard to deploy changes in routers.
  • Large/unequal/changing propagation delays.
  • Unclear what best policy means in various
    contexts.
  • Etc...

5
Ideal Multicast
  • Senders (S) and Receivers (R) not aware of each
    others position in the network.
  • Scalable.
  • Low latency (join, data propagation).
  • Low bandwidth and processing overhead.
  • Reliable, if this is cheap (end-to-end?)
  • Easy to join/leave.

6
IP Multicast Basic Idea
  • Multicast groups abstract rendez-vous points.
  • Set up optimal spanning tree spanning
    participants for each group.
  • Make it cheap by not providing strong guarantees
    send out packets and hope for the best. Not that
    bad, in fact.

7
Big question Who gets which packets?
Send everything to everybody. You get
Invent Multicast Routing, (try to) forward only
whats needed, when needed!
8
LAN Multicast IGMP
  • Queries/Replies
  • Random delay before reply.
  • Dont report multicast groups already reported.
  • Router will know groups with members on its LAN.

9
Reverse Path Forwarding
From shortest path to S
From other path
router
router
How do we determine the shortest path to the
source? One possibility routers exchange
distance info. Also, duplicate packets possible.
10
Idea Pruning
prune
sender
receiver
11
Core Based Trees
12
CBT(2)
  • All senders could be sending to the Core.
  • Single point of failure.
  • Core address must be known fallbacks also.
  • Each router has to know only which interfaces to
    send packets on. Cheap.
  • Join/leave explicit. No need to wait.
  • No pruning.

13
Protocol Independent Mcast
  • Two styles sparse and dense.
  • Dense flood and pruning.
  • Sparse much like CBT join a rendez-vous
    point. Receivers routers can identify
    shortcuts.
  • No need for data to pass through rd point.
  • Rd points send alive packets. Receivers will
    switch to alternative, if rds dead.

14
PIM (2)
15
Reliable Mcast Transport Protocol
-S, R use windows -Designated Receivers eliminate
ACK implosion -ACKs sent to DRs -DRs and S
cache data and retransmit it when needed.
16
RMTP(2)
  • After set up S starts sending data. Receivers
    send periodic ACKs after first packet received.
  • If no ACKs for a long time, connection
    terminates.
  • DRs or S retransmit info using unicast or
    multicast, depending on number of errors.
  • Immediate TX request sent to DRs, for receivers
    that join the session.

17
RMTP (3)
  • Sender window advance determined by slowest
    receiver.
  • ACKs must not be repeated too often. Measure RTT
    to AP.
  • S adjusts (decreases) send window to 1 if many
    errors then increases linearly.
  • DRs are fixed, but each R chooses its DR. (DR
    sends SND_ACK_TOME with TTL fixed to a known
    value).

18
Scalable Reliable Multicast
  • ALF explicitly include apps semantic in
    protocol design. No solution will work for all.
  • Data identified by unique, persistent names.
  • Source ids are persistent.
  • IP Multicast is available.
  • Data conventionally grouped in pages.
  • No distinction between receivers and senders.
  • These assumptions fit wbs semantics.

19
SRM (2)
  • Session messages (SM) multicast periodically.
  • Used to
  • advertise sequence number of active page for
    active sources (data grouped in pages to limit
    history)
  • determining set of participants
  • estimate one-way distance between nodes

20
SRM (3)
  • Loss signalled by multicast NACKs with
    persistent, unique name.
  • NACK preceded by randomized wait.
  • If waiting for data Wait timer reset w/ time
    doubled if NACK for same data received or timer
    expired.
  • If have data when NACK is received Randomized
    wait, then multicast repair data, unless somebody
    else did during this wait.

21
SRM (4)
  • Wait periods drawn from uniform distributions on
    intervals w/ length dependent on distances
    between hosts and (almost) arbitrary constants.
  • These constants depend on topology and network
    conditions. They should be adaptive.
  • Leaving the group is indistinguishable from being
    in inaccessible partition.
  • No partial/total ordering provided but these
    could be built on top of SRM.

22
SRM(5)
  • Performance much better if local recovery is
    possible (no need to multicast to everybody).
  • Solutions
  • TTL-based scoping (one step and two step)
  • Separate multicast group for recovery
  • Administrative scoping.

23
SRM(6) Extreme Topologies
  • Deterministic supression
  • exactly one NACK
  • exactly one repair.
  • Probabilistic supression
  • at most g-1 requests, always expect more than
    one
  • the longer the interval the fewerthe requests,
    but latency bigger.

24
Light-Weight Multicast Service
  • LMS modifies standard router forwarding. Achieves
    minimal overhead, no pathological behavior,
    minimal latency.
  • Three new functions are needed in router
  • Select a replier for each subtree.
  • Send request to replier corresponding to subtree.
  • Multicast repliers repairs to loss subtree
    (subcast).

25
LMS (2)
  • Routers pick a replier linkfrom list of
    available links.
  • Router state added
  • upstream link
  • list of downstream links
  • replier link.
  • Problem Same replier could
  • be picked many times.

26
LMS (3)
  • All receivers detectingloss send repair
    requests.
  • Routers forward requeststo replier.
  • If replier does not havedata, it sends a request
    also.
  • Repliers request is forwarded uplink.

27
LMS (4)
28
LMS (5)
Duplicate sends arepossible select replierwith
least amount ofloss. Repliers can fail
receivers will time out waiting for the replier.
They will ask for a new replier to be elected.
29
LMS (6)
Duplicate requests are possible (if everybody
picks the samereplier). But we can protect
against this.
30
LMS (7) Bad Replier Choice
31
Pragmatic General Multicast
  • Somewhat similar to LMS.
  • All retransmissions originate from the source.
    Designated Local Retransmitters might help, but
    they must be on the path.
  • Receivers send NACKs back to source and repeat
    it until they get a confirmation (NCF).
  • NCFs inhibit NACKs from other receivers.

32
PGM (2)
  • Only one NACK per (source, packet) is propagated
    upward.
  • S (or DLR) send RDATA when they get NACK. RDATA
    retraces path of NACKs.
  • In routers no NACK, no pass!
  • Dangling NAK state RDATA lost, first NACK in
    router, subsequent NACKs rejected.
  • A retransmission only reaches those that have
    requested it, but not necessarily all of them.

33
PGM (3)
34
PGM (4)
  • Repeated Retransmission

35
LMS Latency
Loss at source, random topology.
36
LMS Latency (2)
Loss at source, random topology.
37
PGM Latency
Loss at source, random topology.
38
PGM Latency (2)
Loss at source, random topology.
39
PGM Latency (2)
Loss at source, random topology.
40
Random Loss LMS vs. PGM
LMS picks replier that is farther than the
source! Topology!!
41
LMS Duplicates
42
PGM Retransmissions
43
Questions? Comments? Thank you!
Write a Comment
User Comments (0)
About PowerShow.com