22
Improving Fairness, Efficiency, and Stability in HTTP-based Adaptive Video Streaming with FESTIVE Junchen Jiang (CMU) Vyas Sekar (Stony Brook U) Hui Zhang (CMU/Conviva Inc.) 1

Junchen Jiang (CMU) Vyas Sekar (Stony Brook U) Hui Zhang (CMU/ Conviva Inc . )

  • Upload
    leon

  • View
    65

  • Download
    0

Embed Size (px)

DESCRIPTION

Improving Fairness, Efficiency, and Stability in HTTP -based Adaptive Video Streaming with FESTIVE. Junchen Jiang (CMU) Vyas Sekar (Stony Brook U) Hui Zhang (CMU/ Conviva Inc . ). Video Traffic is Becoming Dominant. 2011, 66+% of Internet traffic is video. [Akamai] - PowerPoint PPT Presentation

Citation preview

Page 1: Junchen Jiang  (CMU) Vyas Sekar  (Stony Brook U) Hui  Zhang (CMU/ Conviva  Inc . )

1

Improving Fairness, Efficiency, and Stability in HTTP-based Adaptive Video Streaming with FESTIVE

Junchen Jiang (CMU)Vyas Sekar (Stony Brook U)

Hui Zhang (CMU/Conviva Inc.)

Page 2: Junchen Jiang  (CMU) Vyas Sekar  (Stony Brook U) Hui  Zhang (CMU/ Conviva  Inc . )

2

Video Traffic is Becoming Dominant

• 2011, 66+% of Internet traffic is video. [Akamai]

• 2016, 86% will be video traffic. [Cisco]

The Internet is becoming a Video Network

Page 3: Junchen Jiang  (CMU) Vyas Sekar  (Stony Brook U) Hui  Zhang (CMU/ Conviva  Inc . )

3

Background: HTTP-based Video

HTTP Adaptive Player

Web browser Web server

HTTP

TCP

HTTP

TCP

…A1 A1 A2

B1 B2

A1B1

Cache

Client

Web server

……

A1 A2

B1 B2HTTP GET A1

Server

A2 2nd Chunk in bitrate A

Why HTTP?Use existing CDN, Stateless server, NAT/firewall traversal

Page 4: Junchen Jiang  (CMU) Vyas Sekar  (Stony Brook U) Hui  Zhang (CMU/ Conviva  Inc . )

4

The Need for Bitrate Adaptation?• Video quality matters [sigcomm11]

• Significant variability of intra-session bandwidth [sigcomm12]

Bitrate adaptation offers a trade-off between high bitrate, low join time and buffering ratio.

Page 5: Junchen Jiang  (CMU) Vyas Sekar  (Stony Brook U) Hui  Zhang (CMU/ Conviva  Inc . )

5

Three Metrics of GoodnessInefficiency: Fraction of bandwidth not being used or overused

Bitrate (Mbps)

timeBitrate(Mbps)

time

Unfairness: Discrepancy of bitrates used by multiple players

Player A

Player B

0.7

Instability: The frequency and magnitude of recent switches

0.7

1.3

Bottleneck b/w 2Mbps

Page 6: Junchen Jiang  (CMU) Vyas Sekar  (Stony Brook U) Hui  Zhang (CMU/ Conviva  Inc . )

6

Real World: SmoothStreaming

Visually, SmoothStreaming performs bad.

Setup: total b/w 3Mbps, three SmoothStreaming players

Player APlayer BPlayer C

Page 7: Junchen Jiang  (CMU) Vyas Sekar  (Stony Brook U) Hui  Zhang (CMU/ Conviva  Inc . )

7

How Do State-of-Art Players Perform?

SmoothStreaming (SS) appears to be better than other players.

Unfairness index Instability index Inefficiency index

SmoothStreaming (SS)

Akamai

Adobe Netflix

Page 8: Junchen Jiang  (CMU) Vyas Sekar  (Stony Brook U) Hui  Zhang (CMU/ Conviva  Inc . )

8

Why it is Hard?

• Limited control– Overlaid on HTTP– Constrained by browser sandbox

• Limited feedback– No packet level feedback, only throughput

• Local view– Client-driven adaptation – Independent control loop

Page 9: Junchen Jiang  (CMU) Vyas Sekar  (Stony Brook U) Hui  Zhang (CMU/ Conviva  Inc . )

9

Our Work• Understand the root causes of these problems

• How can we fix these ?– Within constraints of HTTP-based video

Solution: FESTIVE (Fair, Efficient and Stable AdapTIVE)

Outperforms industry-standard players in all three metrics!

Page 10: Junchen Jiang  (CMU) Vyas Sekar  (Stony Brook U) Hui  Zhang (CMU/ Conviva  Inc . )

10

Roadmap

• Motivation• Design– Abstract player model– Chunk scheduling– Bitrate selection

• Stateful algorithm• Damping update

– Bandwidth estimation• Evaluation• Summary

Page 11: Junchen Jiang  (CMU) Vyas Sekar  (Stony Brook U) Hui  Zhang (CMU/ Conviva  Inc . )

11

Internet

Abstract Player Model

B/W Estimation

Bitrate Selection

Chunk Scheduling

HTTPGET

Chunk

Bitrate of next chunk

When to request

Throughput of a chunk

1. Three components2. Feedback loop between player and the network

Video Player

Page 12: Junchen Jiang  (CMU) Vyas Sekar  (Stony Brook U) Hui  Zhang (CMU/ Conviva  Inc . )

12

Today: Periodic Chunk SchedulingMany players use this to keep fixed video buffere.g., if chunk duration = 2 sec, chunk requests at T= 0,2,4,… sec

0.5 sec

time

1 sec1 sec

1s 2s

Example setup: Total bandwidth: 2MbpsBitrate 0.5 Mbps, 2 sec chunksChunk size: 0.5 Mbps x 2 sec = 1.0Mb

Throughput: 1 Mbps

Throughput: 1 Mbps

0.5 sec1 sec

1 sec Throughput: 2 Mbps

Unfair! Start time impacts observed throughputNOT a TCP problem!

b/w (Mbps)

Player A, T=0,2,4,…

Player BT=0,2,4,…

Player CT=1,3,5,…

210

Page 13: Junchen Jiang  (CMU) Vyas Sekar  (Stony Brook U) Hui  Zhang (CMU/ Conviva  Inc . )

13

Solution: Randomized Scheduling

• Request with a randomized interval

Throughput: ~1.3 Mbps

Throughput: ~1.3 Mbps

Throughput: ~1.3 Mbps

• Intuition: fair chance to see each other.

time1s 2sPlayer A Player B Player C

3 players: Bitrate 0.5 Mbps, 2 sec chunksb/w (Mbps)

210

Page 14: Junchen Jiang  (CMU) Vyas Sekar  (Stony Brook U) Hui  Zhang (CMU/ Conviva  Inc . )

14

Today’s Bitrate Selection• Strawman: Bitrate = f (observed throughput)

2

10.6

Unfair! Bitrate impacts observed throughput.Biased feedback loop implies unfairness

b/w (Mbps)

Example setup: Total bandwidth 2MbpsPlayer A: 0.7 Mbps, Player B: 0.3 Mbps, Player C: 0.3 Mbps

Throughput: ~1.6 Mbps

Throughput: ~1.1 Mbps

Throughput: ~1.1 Mbps

Player A Player B Player C

0time

Page 15: Junchen Jiang  (CMU) Vyas Sekar  (Stony Brook U) Hui  Zhang (CMU/ Conviva  Inc . )

15

Solution: Stateful Bitrate Selection

• Intuition: Compensate for the bias!– Check if in increase phase -- stateful.– Lower bitrate player ramps up more quickly.

Time

Bitrate

Player A

Player B

Page 16: Junchen Jiang  (CMU) Vyas Sekar  (Stony Brook U) Hui  Zhang (CMU/ Conviva  Inc . )

16

FESTIVE Overall Design

Harmonic mean

Randomized scheduling

HTTP

GETBitrate of next chunk When to request

Throughput of a chunk

Video Player

B/W Estimation Bitrate Selection

Stateful selection

Delayed update

Chunk Scheduling

Page 17: Junchen Jiang  (CMU) Vyas Sekar  (Stony Brook U) Hui  Zhang (CMU/ Conviva  Inc . )

17

Roadmap

• Motivation• Design• Evaluation– Methodology– Robustness

• Summary

Page 18: Junchen Jiang  (CMU) Vyas Sekar  (Stony Brook U) Hui  Zhang (CMU/ Conviva  Inc . )

18

Methodology

FESTIVE + Local Ethernet

Real player + real Internet(Adobe, Netflix)

Emulated algorithm + Local Ethernet

Real player+ Local Ethernet

(SmoothStreaming)

A conservative approximation.

Page 19: Junchen Jiang  (CMU) Vyas Sekar  (Stony Brook U) Hui  Zhang (CMU/ Conviva  Inc . )

Result with SmoothStreaming

19

FESTIVE + Ethernet Emulated + Ethernet

Real player + Ethernet Real player + real Internet

Unfairness index Inefficiency index Instability index

Festive is better than state-of-art on all metrics!

Page 20: Junchen Jiang  (CMU) Vyas Sekar  (Stony Brook U) Hui  Zhang (CMU/ Conviva  Inc . )

20

Comparison with Netflix

20

FESTIVE w. Ethernet

Real player w. real InternetEmulated + Ethernet

FESTIVE is consistently better.

Unfairness index Inefficiency index Instability index

Page 21: Junchen Jiang  (CMU) Vyas Sekar  (Stony Brook U) Hui  Zhang (CMU/ Conviva  Inc . )

21

Instability vs. Number of PlayersBottleneck link: 10Mbps

1. Festive is more robust as number of players increases2. Interesting artifacts of bitrate discreteness

Page 22: Junchen Jiang  (CMU) Vyas Sekar  (Stony Brook U) Hui  Zhang (CMU/ Conviva  Inc . )

22

Conclusion• Video delivery architecture

– Stateful client, stateless server, data unit HTTP

• Robust design is critical for video– Three key metrics: Fairness, Efficiency, Stability

• Why is this hard?– Sandboxed environment, too coarse-grained– Biased and limited feedback loops

• Our solution: FESTIVE– Outperfoms all state-of-art algorithms