Title: Previously, on CS5248..
1Previously, on CS5248..
2IP Multicast
3New Model IP Multicast
sender
receivers
4 Question 1
should I forward this packet to my subnet?
Router
?
G
5IGMP v2.0
- JOIN messageA I want to join group G.
- QUERY messageR Which group have you joined ?
6IGMP v2.0
- LEAVE messageI want to leave group G
- Group-Specific QueryAnybody else belongs to
group G ?
7Rate Adaptations
8Layered Video
Layer 1
Layer 2
Layer 3
9TCP-Equation
Window size behavior in TCP/IP with constant loss
probability T. Ott, J. Kemperman, and M.
Mathis June 1997, HPCS 1997
10Heterogeneity
11Internet Heterogeneity
2 Mbps
56kbps
40kbps
12Two Simple Solutions
- one stream to fit them all
- send multiple streams
13(No Transcript)
14Receiver-Driven Layered Multicast
- Steve McCanne, Van Jacobson, Martin Vetterli
- SIGCOMM 1996
15Layered Multicast
- 1 Layer 1 Multicast Group
- Receiver subscribes to as many layers as desired
16RLM Example
S
R1
R2
R3
R4
17Questions
- How many layers are enough?
18Solution Join Experiment
- highest layer 1
- join layer 1
- while no packet loss
- highest layer
- join next layer
- leave highest layer
- highest layer --
19Details
- Tjoin
- Time between join experiments
- Tdetect
- Time taken to detect packet loss
20Effects of Tjoin
- Need to converge to the right level quickly
- Tjoin should be small
- Repeated failed experiments congest networks
- Tjoin should be large
21Adapting Tjoin(i)
- One Tjoin per layer
- if join experiment for layer k fails Tjoin(k)
Tjoin(k)2
22Example
4
3
2
1
23Adapting Tdetect
- Set Tdetect to large initial value
- Estimate Tdetect with mean and deviation
- Measure time between join and packet loss occur
24Two Problems
25Problem 1 Interference
26Problem 1 Interference
I see, layer 2 is bad for me..
27Problem 2 Scalability
- Lots of receivers
- Lots of experiments
- Lots of congestions
28Solution Shared Learning
I am joining layer 2, do not disturb!
29Solution Shared Learning
30Solution Shared Learning
I am joining layer 3, do not disturb!
31Solution Shared Learning
I see, layer 3 is bad for me..
32Solution Shared Learning
I see, layer 3 is bad for me..
33Problem
- Reducing interference decrease convergence time
- Solution
34Evaluation
Convergence Time (s)
100
60
40
20
Session Size
2
100
35Evaluation
Loss Rate ()
1
Session Size
100
36Problems with RLM
- Not TCP Friendly
- Share learning is clumsy
- Failed join experiments is bad for the network
37Thin Streams An Architecture for Multicasting
Layered Video
- L. Wu, R. Sharma., B. Smith
- NOSSDAV 97
38How bad is failed experiment?
- R sending rate of a layer
- Tj IGMP join latency
- Tl IGMP leave latency
- Tdetect time before drop
- Buffer space at the router
39How big is IGMP Leave Latency?
40What To Do?
- Buffer space at the router
- R(Tj Tl Tdetect)
- Proposal of ThinStream
- Reduce R
- Reduce Tdetect
41Reducing Tdetect
- Detect congestion before it happens
42Calculating A E
- R bandwidth of one layer
- I measurement interval
- N number of bytes received in I
- G number of layers joined
- A
- E
43ThinStreams Algorithm
- if (E - A gt leave_threshold) leaveelse if (at
least Tjoin since last join) - and (E - A lt join_threshold)
- join
44Fairness
- Improve fairness
- leave_threshold as a function of G
45Problems with ThinStream
- Small R
- Still not TCP friendly
46TCP-Like Congestion Control for Layered Multicast
Data Transfer
- L. Vicisano, J. Crowcroft, L. Rizzo
- INFOCOM 98
47The RLC Protocol
- Try to emulate TCP
- Synchronize join
- Probe before join
48Recall TCPs Behavior
AIMD
49Recall Layered Multicast
4
3
2
1
501. Emulating TCP
- Idea By finding appropriate Bi and Tjoin(i)
51Idea
4
3
2
1
522. Synchronizing Join
- Idea send special packets in data stream to
signal join - Distance between synchronization point for layer
i is Tjoin(i)
53Sync Point
4
3
2
1
543. Probe before Join
- Emulate joining the next layer
- If this causes packet drop, dont join
55Sender-Based Probing
layer i
base layer
56Sender-Based Probing
layer i
base layer
57Problems with RLC
- Burst too short
- No fine grain increment
58Summary
- Receiver Driven Layered Multicast
- Lots of Problems
- No Perfect Solutions