26
RPT: Re-architecting Loss Protection for Content-Aware Networks Dongsu Han, Ashok Anand ǂ, Aditya Akella ǂ , and Srinivasan Seshan Carnegie Mellon University ǂ University of Wisconsin-Madison

RPT: Re-architecting Loss Protection for Content-Aware Networks · RPT(r) Tunable 2% random loss. 𝑝 = 0.02 Skype video call 128~300kbps Skype (HD) 1.2~1.5Mbps 14 . Experimental

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: RPT: Re-architecting Loss Protection for Content-Aware Networks · RPT(r) Tunable 2% random loss. 𝑝 = 0.02 Skype video call 128~300kbps Skype (HD) 1.2~1.5Mbps 14 . Experimental

RPT: Re-architecting Loss Protection for Content-Aware Networks

Dongsu Han, Ashok Anandǂ,

Aditya Akellaǂ, and Srinivasan Seshan

Carnegie Mellon University ǂUniversity of Wisconsin-Madison

Page 2: RPT: Re-architecting Loss Protection for Content-Aware Networks · RPT(r) Tunable 2% random loss. 𝑝 = 0.02 Skype video call 128~300kbps Skype (HD) 1.2~1.5Mbps 14 . Experimental

Motivation: Delay-sensitive communication

Time critical inter-data center communication [Maelstrom]

Soft-realtime intra-data center communication [DCTCP, D3]

Real-time streams: FaceTime, Skype, on-line games.

Minimizing data loss in time-critical communication is important, but challenging because of the time constraint.

Maximum one way latency ~150ms

Response time ~250ms

2

Page 3: RPT: Re-architecting Loss Protection for Content-Aware Networks · RPT(r) Tunable 2% random loss. 𝑝 = 0.02 Skype video call 128~300kbps Skype (HD) 1.2~1.5Mbps 14 . Experimental

Loss protection today: Redundancy-based recovery

Forward Error Correction

Original packets (k)

Bandwidth for robustness

Redundant packets (n-k)

• FEC couples delay with redundancy • Small batch size makes FEC more susceptible to bursty loss • Difficult to tune parameters (n and k) [TIP2001,INFOCOM2010]

Amount of redundancy 20%~50% in Skype video[Multimedia’09]

3

Delay

Page 4: RPT: Re-architecting Loss Protection for Content-Aware Networks · RPT(r) Tunable 2% random loss. 𝑝 = 0.02 Skype video call 128~300kbps Skype (HD) 1.2~1.5Mbps 14 . Experimental

Content-aware networks changes the trade-off of redundancy

Content-aware networks = caching + content-aware processing to remove duplicates

Caching effectively minimizes the bandwidth cost of redundancy

Redundancy elimination (RE) [SIGCOMM’08]

Examples

Bandwidth overhead of 100% redundancy: 3%

4

Content-Centric Networking (CCN) [CoNEXT’09]

RE cache

RE cache

Page 5: RPT: Re-architecting Loss Protection for Content-Aware Networks · RPT(r) Tunable 2% random loss. 𝑝 = 0.02 Skype video call 128~300kbps Skype (HD) 1.2~1.5Mbps 14 . Experimental

• Product: WAN optimizers (10+ vendors) – Cisco, Riverbed, Juniper, Blue Coat Systems

– E.g., Cisco deployed RE on 200+ remote offices.

– Corporate networks • Riverbed: 50+ corporate customers, datacenter deployments

Deployment of content-aware networks

5

Main office

Branch

WAN optimizer

WAN optimizer

VPN (“Virtual wire”)

Isolation from Cross traffic

Page 6: RPT: Re-architecting Loss Protection for Content-Aware Networks · RPT(r) Tunable 2% random loss. 𝑝 = 0.02 Skype video call 128~300kbps Skype (HD) 1.2~1.5Mbps 14 . Experimental

RE Network

Redundant Packet Transmission (RPT)

• Introduce redundancy in a way that the network understands

Questions/Challenges • How do we make sure we retain the robustness benefits? • How much redundancy is needed? How does it compare with FEC? • Is this safe to use?

6

FEC

RPT

Redundancy Elimination Router red

un

dan

t

Page 7: RPT: Re-architecting Loss Protection for Content-Aware Networks · RPT(r) Tunable 2% random loss. 𝑝 = 0.02 Skype video call 128~300kbps Skype (HD) 1.2~1.5Mbps 14 . Experimental

RE Network

Redundant Packet Transmission (RPT)

• Introduce redundancy in a way that the network understands

Questions/Challenges • How do we make sure we retain the robustness benefits? • How much redundancy is needed? How does it compare with FEC? • Is this safe to use?

7

FEC

RPT

Redundancy Elimination Router

Page 8: RPT: Re-architecting Loss Protection for Content-Aware Networks · RPT(r) Tunable 2% random loss. 𝑝 = 0.02 Skype video call 128~300kbps Skype (HD) 1.2~1.5Mbps 14 . Experimental

RPT on Redundancy Elimination (RE) Networks

Outgoing interfaces

Incoming interfaces

Queue RE cache

RE Decode

A’ A’ A

Decompressed packet

Compressed (deduplicated) packet

Packets

Loss model: Congestive packet loss that happens inside a router.

Redundancy Elimination Router

Low overhead

Robustness

8

RE cache holds packets received during the past ~10 secs

RE cache

RE Encode

Page 9: RPT: Re-architecting Loss Protection for Content-Aware Networks · RPT(r) Tunable 2% random loss. 𝑝 = 0.02 Skype video call 128~300kbps Skype (HD) 1.2~1.5Mbps 14 . Experimental

RE Networks

Redundant Packet Transmission

• Introduce redundancy in a way that the network understands

Redundant Transmission

9

Page 10: RPT: Re-architecting Loss Protection for Content-Aware Networks · RPT(r) Tunable 2% random loss. 𝑝 = 0.02 Skype video call 128~300kbps Skype (HD) 1.2~1.5Mbps 14 . Experimental

RE Networks

Redundant Packet Transmission

• Introduce redundancy in a way that the network understands

Benefits: • Retain the robustness benefits of redundancy • Minimize the bandwidth cost • Application can signal the importance of data. (Fine-grained control)

10

Page 11: RPT: Re-architecting Loss Protection for Content-Aware Networks · RPT(r) Tunable 2% random loss. 𝑝 = 0.02 Skype video call 128~300kbps Skype (HD) 1.2~1.5Mbps 14 . Experimental

A Case Study of RPT

Redundant Packet Transmission (RPT)

- Send multiple copy of the same packet.

- Send every packet r times.

- Applied to live video in RE networks.

Hop-by-hop RE networks

SmartRE networks

Content Centric Networks (CCN)

Partially content-aware networks

Networks with link-layer loss

Time-critical communication

Redundant Packets Transmission

11

Page 12: RPT: Re-architecting Loss Protection for Content-Aware Networks · RPT(r) Tunable 2% random loss. 𝑝 = 0.02 Skype video call 128~300kbps Skype (HD) 1.2~1.5Mbps 14 . Experimental

Analytical Comparison with FEC

0.00

0.10

0.20

0.30

0.40

0.50

1E-7 1E-6 1E-5 1E-4 1E-3 1E-2 1E-1 1E+0 1E+1

Frac

tio

n o

f O

verh

ead

End-to-end data loss rate (%)

RPT(3) RPT(2)

FEC(10,8)

FEC(10,7)

FEC(10,9)

FEC(10,6)

FEC(10,5)

RPT(4)

2% random loss. 𝑝 = 0.02

12

Naive 2% data loss 0 overhead

Naive

Batch size (n=10)

Delay

Original pkts (k=8)

FEC(n=10,k=8)

Redundancy (r=3)

Delay RPT(3)

Coded redundancy

Page 13: RPT: Re-architecting Loss Protection for Content-Aware Networks · RPT(r) Tunable 2% random loss. 𝑝 = 0.02 Skype video call 128~300kbps Skype (HD) 1.2~1.5Mbps 14 . Experimental

Analytical Comparison with FEC

0.00

0.10

0.20

0.30

0.40

0.50

1E-7 1E-6 1E-5 1E-4 1E-3 1E-2 1E-1 1E+0 1E+1

Naive FEC(20,k)

FEC(10,k) FEC(100,k)

RPT(r)

Frac

tio

n o

f O

verh

ead

End-to-end Data loss rate (%)

RPT(3) RPT(2)

FEC(20,16) FEC(10,8)

FEC(100,90)

FEC(10,7)

FEC(10,9)

FEC(20,14)

FEC(10,6)

FEC(10,5)

RPT(4)

2% random loss. 𝑝 = 0.02

13

Batch size (n=20)

Delay

Original pkts (k=16)

FEC(n=20,k=16)

Page 14: RPT: Re-architecting Loss Protection for Content-Aware Networks · RPT(r) Tunable 2% random loss. 𝑝 = 0.02 Skype video call 128~300kbps Skype (HD) 1.2~1.5Mbps 14 . Experimental

Analytical Comparison with FEC

0.00

0.10

0.20

0.30

0.40

0.50

1E-7 1E-6 1E-5 1E-4 1E-3 1E-2 1E-1 1E+0 1E+1

Naive FEC(20,k)

FEC(10,k) FEC(100,k)

RPT(r)

Frac

tio

n o

f O

verh

ead

End-to-end Data loss rate (%)

RPT(3) RPT(2)

FEC(20,16) FEC(10,8)

FEC(100,90)

FEC(10,7)

FEC(10,9)

FEC(20,14)

FEC(10,6)

FEC(10,5)

RPT(4)

Scheme Max Delay@ 1Mbps

FEC(10,7) 168 ms

FEC(20,16) 300 ms

FEC(100,92) 1300 ms

RPT(r) Tunable

2% random loss. 𝑝 = 0.02

Skype video call 128~300kbps Skype (HD) 1.2~1.5Mbps

14

Page 15: RPT: Re-architecting Loss Protection for Content-Aware Networks · RPT(r) Tunable 2% random loss. 𝑝 = 0.02 Skype video call 128~300kbps Skype (HD) 1.2~1.5Mbps 14 . Experimental

Experimental Evaluation

• Thorough evaluation on 3 different aspects of RPT

– End user performance

– Ease of use (parameter selection)

– Impact on other traffic

• Methodology

– Real experiment

– Trace based experiment

– Simulation

15

CIF: 352x288

Page 16: RPT: Re-architecting Loss Protection for Content-Aware Networks · RPT(r) Tunable 2% random loss. 𝑝 = 0.02 Skype video call 128~300kbps Skype (HD) 1.2~1.5Mbps 14 . Experimental

Evaluation Framework

• RE router implementation (Click, NS2)

• Video quality evaluation using evalvid

FEC encoder

(n,k)

RPT(r,d)

Rea

listi

c C

ross

tra

ffic

RE encoder

(RE)

RE decoder

Sin

k

Vid

eo S

ou

rce

RE

Sender Network Receiver

Measure BW overhead

Measure loss rate, video quality (PSNR)

RPT

FEC

16

Page 17: RPT: Re-architecting Loss Protection for Content-Aware Networks · RPT(r) Tunable 2% random loss. 𝑝 = 0.02 Skype video call 128~300kbps Skype (HD) 1.2~1.5Mbps 14 . Experimental

30

31

32

33

34

35

36

37

38Encoded video at sender

Ave

rage

PSN

R (

dB

)

E2E Performance: Video Quality

17 RPT FEC

(Before loss)

Page 18: RPT: Re-architecting Loss Protection for Content-Aware Networks · RPT(r) Tunable 2% random loss. 𝑝 = 0.02 Skype video call 128~300kbps Skype (HD) 1.2~1.5Mbps 14 . Experimental

30

31

32

33

34

35

36

37

38Encoded video at sender Received video

Ave

rage

PSN

R (

dB

)

E2E Performance: Video Quality

18 RPT FEC

Packet loss rate ~2%

Page 19: RPT: Re-architecting Loss Protection for Content-Aware Networks · RPT(r) Tunable 2% random loss. 𝑝 = 0.02 Skype video call 128~300kbps Skype (HD) 1.2~1.5Mbps 14 . Experimental

E2E Performance: Video Quality

19

Naïve UDP

RPT(3) Overhead ~6%

FEC(10,9) Overhead ~10%

1.8dB ~ 3dB difference in quality

Page 20: RPT: Re-architecting Loss Protection for Content-Aware Networks · RPT(r) Tunable 2% random loss. 𝑝 = 0.02 Skype video call 128~300kbps Skype (HD) 1.2~1.5Mbps 14 . Experimental

0

0.1

0.2

0.3

0.4

1E-04 1E-03 1E-02 1E-01 1E+00 1E+01

Naive

FEC(10,k)

RS(r)

Frac

tio

n o

f O

verh

ead

RPT(4)

End-to-end Data Loss Rate (%)

FEC(10,9)

FEC(10,6)

FEC(10,8)

FEC(10,7)

RPT(2) RPT(3) Naive

E2E Performance: overhead and robustness

Packet loss rate ~2%

20

RPT(r)

Page 21: RPT: Re-architecting Loss Protection for Content-Aware Networks · RPT(r) Tunable 2% random loss. 𝑝 = 0.02 Skype video call 128~300kbps Skype (HD) 1.2~1.5Mbps 14 . Experimental

• RPT flows get prioritized.

0.8 0.85 0.9 0.95 1

Sender

Receiver (Non-RPT)

Receiver (RPT)

Original

Redundancy

0

Bandwidth use (Mbps)

0

9% loss

Impact on other traffic

21

Throughput reduction: 2%

(Before loss)

(After loss)

Packet loss rate : 9%.

RPT Flows

Loss

Other Flows

Loss

(After loss)

Page 22: RPT: Re-architecting Loss Protection for Content-Aware Networks · RPT(r) Tunable 2% random loss. 𝑝 = 0.02 Skype video call 128~300kbps Skype (HD) 1.2~1.5Mbps 14 . Experimental

• Not a problem: Important flows should be prioritized.

• Problem: Unfair bandwidth allocation

Is flow prioritization a problem?

22

• How do provide fairness and robustness at the same time? • Core problem: RPT flows are not reacting to congestion. Apply TCP-friendly rate control to RPT. • Challenge: correctly accounting for possible changes in loss pattern

TCP throughput : 18Mbps

TCP throughput: 12Mbps

Page 23: RPT: Re-architecting Loss Protection for Content-Aware Networks · RPT(r) Tunable 2% random loss. 𝑝 = 0.02 Skype video call 128~300kbps Skype (HD) 1.2~1.5Mbps 14 . Experimental

Other results in the paper

• Demonstration of RPT in a real-world setting

– E.g., Emulated corporate VPN scenario

• Trace-based experimental results

• Detailed parameter sensitivity study

• Network safety (impact on the network)

• Design and evaluation of TCP-friendly RPT

• Strategies on other content-aware networks

23

Page 24: RPT: Re-architecting Loss Protection for Content-Aware Networks · RPT(r) Tunable 2% random loss. 𝑝 = 0.02 Skype video call 128~300kbps Skype (HD) 1.2~1.5Mbps 14 . Experimental

Generalized RPT

• Many sophisticated schemes are enabled by FEC. – Priority encoding transmission (PET), unequal error protection

(UEP), multiple description coding (MDC)

Very important: Sent x3 (byte-level redundancy)

Important: Sent x2 PET/MDC

Prioritization within a flow for graceful degradation of quality

Redundancy elimination networks [SIGCOMM’08]

UEP

I-frame P-frame

24

Page 25: RPT: Re-architecting Loss Protection for Content-Aware Networks · RPT(r) Tunable 2% random loss. 𝑝 = 0.02 Skype video call 128~300kbps Skype (HD) 1.2~1.5Mbps 14 . Experimental

Conclusion

• Key Idea of RPT: Don’t hide, expose redundancy!

• Key Features

– High robustness, low overhead user performance

– Ease of use: parameter selection, per-packet redundancy/delay control

– Flow prioritization

• Applicability

– Applies to delay-sensitive communications in content-aware networks in general.

25

Page 26: RPT: Re-architecting Loss Protection for Content-Aware Networks · RPT(r) Tunable 2% random loss. 𝑝 = 0.02 Skype video call 128~300kbps Skype (HD) 1.2~1.5Mbps 14 . Experimental

26