TCP Goes to Hollywood
Stephen McQuistin and Colin Perkins
University of Glasgow
Marwan Fayed
University of Stirling
TCP Goes to Hollywood Stephen McQuistin and Colin Perkins - - PowerPoint PPT Presentation
TCP Goes to Hollywood Stephen McQuistin and Colin Perkins University of Glasgow Marwan Fayed University of Stirling Multimedia Applications and HTTP HTTP-based multimedia delivery protocols (e.g., MPEG- DASH, HLS) are popular They allow
Stephen McQuistin and Colin Perkins
University of Glasgow
Marwan Fayed
University of Stirling
2
3
4
5
Application TCP Hollywood Intermediary Layer Standard TCP or TCP Hollywood
6
7
8
Sender Receiver
time user kernel user kernel
Tframing
Network
Buffers
9
Sender Receiver
time user kernel user kernel
Network
10
Sender Receiver
time user kernel user kernel
Network
11
Sender Receiver
time user kernel user kernel
Network
12
Sender Receiver
time user kernel user kernel
Tplayout reduces gaps in playback due to jitter
Network
13
Sender Receiver
time user kernel user kernel
Network
Playout begins
14
Sender Receiver
time user kernel user kernel
x
Network
Segment lost
15
Sender Receiver
time user kernel user kernel
x
Network
Segment arrives out-of-
under TCP Hollywood
16
Sender Receiver
time user kernel user kernel
x
Network
17
Sender Receiver
time user kernel user kernel
x
Trexmit = 4 × Tframing + Trtt
Network
The original message wouldn’t arrive on time to be played out
18
Sender Receiver
time user kernel user kernel
x
TCP Hollywood sends an inconsistent retransmission: a different message, but with the same TCP sequence number
Network
19
Sender Receiver
time user kernel user kernel
x
Network
Gap where segment was lost, but no bandwidth wasted in retransmitting it
20
Sender Receiver
time user kernel user kernel
x
Network
These segments wouldn’t have arrived on time under standard TCP
Tplayout Trtt
21
TCP Hollywood helps when Tplayout is less than Trexmit
Tplayout Trtt
22
Time between a frame arriving at the receiving application, and being played out
Tplayout Trtt
23
Network round-trip time
Tplayout Trtt
24
Plotting the region of feasible values of Tplayout across round-trip times
Tplayout Trtt
Tframing
25
Duration of media in each message
Tplayout Trtt
Tframing
26
Message needs to be decoded before being played out
Tplayout Trtt
Tframing
T m a x
f r a m i n g
r t t / 2
27
Application delay bound
Tplayout Trtt
Tframing
Trtt + 4⋅Tframing
T m a x
f r a m i n g
r t t / 2
28
Trexmit
Tplayout Trtt
Tframing
Trtt + 4⋅Tframing
T m a x
f r a m i n g
r t t / 2
29
Standard TCP retransmissions are useful, and no head-
Tplayout Trtt
Tframing
Trtt + 4⋅Tframing
T m a x
f r a m i n g
r t t / 2
30
Standard TCP retransmissions arrive too late to be used, and head-of-line blocking possible
Tplayout Trtt
Tframing
Trtt + 4⋅Tframing
T m a x
f r a m i n g
r t t / 2
31
Standard TCP retransmissions arrive too late to be used, and head-of-line blocking possible TCP Hollywood helps: removes head-of-line blocking, and sends inconsistent retransmissions
32
33
0.2 0.4 0.6 0.8 1 0.5 1 1.5 Tplayout (seconds) Trtt (seconds) Tframing = 1 frame
Standard TCP retransmissions are useful when a small number of frames are sent — but overheads are higher
34
0.2 0.4 0.6 0.8 1 0.5 1 1.5 Tplayout (seconds) Trtt (seconds) Tframing = 2 frames
35
0.2 0.4 0.6 0.8 1 0.5 1 1.5 Tplayout (seconds) Trtt (seconds) Tframing = 3 frames
36
0.2 0.4 0.6 0.8 1 0.5 1 1.5 Tplayout (seconds) Trtt (seconds) Tframing = 4 frames
37
0.2 0.4 0.6 0.8 1 0.5 1 1.5 Tplayout (seconds) Trtt (seconds) Tframing = 5 frames
38
0.2 0.4 0.6 0.8 1 0.5 1 1.5 Tplayout (seconds) Trtt (seconds) Tframing = 6 frames
39
0.2 0.4 0.6 0.8 1 0.5 1 1.5 Tplayout (seconds) Trtt (seconds) Tframing = 7 frames
The utility of standard TCP retransmissions decreases as Tframing increases (and
lower)
40
0.2 0.4 0.6 0.8 1 0.5 1 1.5 Tplayout (seconds) Trtt (seconds) Tframing = 8 frames
41
0.2 0.4 0.6 0.8 1 0.5 1 1.5 Tplayout (seconds) Trtt (seconds) Tframing = 9 frames
42
0.2 0.4 0.6 0.8 1 0.5 1 1.5 Tplayout (seconds) Trtt (seconds) Tframing = 10 frames
43
0.2 0.4 0.6 0.8 1 0.5 1 1.5 Tplayout (seconds) Trtt (seconds) Tframing = 11 frames
44
0.2 0.4 0.6 0.8 1 0.5 1 1.5 Tplayout (seconds) Trtt (seconds) Tframing = 12 frames
Standard TCP retransmissions are effectively useless; TCP Hollywood recovers this lost utility
45
46
if HTTP traffic treated differently
retransmission delivered successfully
delivered instead
cases where original delivered - performance no worse than standard TCP
47
“Hollywood Sign”, Gnaphron - CC BY-SA 2.0 flickr.com/photos/gnaphron/8485145044