Correlating Network Congestion with Video QoE Degradation ... · DNS Traffic Output Pinger Service...

19
Correlating Network Congestion with Video QoE Degradation - a Last-Mile Perspective Francesco Bronzino, Paul Schmitt, Renata Teixeira, Nick Feamster, Srikanth Sundaresan AIMS 13 March 2018

Transcript of Correlating Network Congestion with Video QoE Degradation ... · DNS Traffic Output Pinger Service...

Page 1: Correlating Network Congestion with Video QoE Degradation ... · DNS Traffic Output Pinger Service Traceroute Service Raw Socket Interfaces Traffic statistics Congestion detection

Correlating Network Congestion with Video QoE Degradation - a Last-Mile Perspective

Francesco Bronzino, Paul Schmitt, Renata Teixeira, Nick Feamster, Srikanth Sundaresan

AIMS13 March 2018

Page 2: Correlating Network Congestion with Video QoE Degradation ... · DNS Traffic Output Pinger Service Traceroute Service Raw Socket Interfaces Traffic statistics Congestion detection

Last-Mile Measurement: Video

2

Home Network

ISP

Local Caches

IXP

Interconnect Caches

Service Servers

• Why is it an interesting use case?– Distributed service with diverse ecosystem of

servers and clients

Page 3: Correlating Network Congestion with Video QoE Degradation ... · DNS Traffic Output Pinger Service Traceroute Service Raw Socket Interfaces Traffic statistics Congestion detection

Last-Mile Measurement: Video

3

Home Network

ISP

Local Caches

IXP

Interconnect Caches

Service Servers

• Why is it an interesting use case?– Challenging to pinpoint and correlate the root

causes of impairments from a single location.

Page 4: Correlating Network Congestion with Video QoE Degradation ... · DNS Traffic Output Pinger Service Traceroute Service Raw Socket Interfaces Traffic statistics Congestion detection

Policy Implications “After all, consumers have little

understanding of what packet loss means; what they do want to know is whether their

Internet access service will support real-time applications, which is the consumer-facing impact of these

performance metrics.” FCC Restoring Internet

Freedom Order (para. 226)

4

Page 5: Correlating Network Congestion with Video QoE Degradation ... · DNS Traffic Output Pinger Service Traceroute Service Raw Socket Interfaces Traffic statistics Congestion detection

Real-Time Inference of Quality• Goal: detect impairments real-time and correlate them with their root causes

• Solution: build an all-in-one system working from the home vantage point

• View of home network

• Challenges:• Traffic is encrypted • Pinpointing the root cause of impairments

5

Page 6: Correlating Network Congestion with Video QoE Degradation ... · DNS Traffic Output Pinger Service Traceroute Service Raw Socket Interfaces Traffic statistics Congestion detection

Solution: Traffic Analyzer

• Online traffic categorization & monitoring• Currently video, ads

• Good performance on cheap multipurpose hardware• Requirement:

• Wireless AP in bridge mode

Home Network ISPCore

NetworkService

Network

User Device

HomeAP

Traffic Analyzer

ISP First Node

Border Getaway Service

Servers

6

Page 7: Correlating Network Congestion with Video QoE Degradation ... · DNS Traffic Output Pinger Service Traceroute Service Raw Socket Interfaces Traffic statistics Congestion detection

Traffic Analysis: Core Techniques

Home Network ISPCore

NetworkService

Network

User Device

HomeAP

Traffic Analyzer

ISP First Node

Border Getaway Service

Servers

7

Page 8: Correlating Network Congestion with Video QoE Degradation ... · DNS Traffic Output Pinger Service Traceroute Service Raw Socket Interfaces Traffic statistics Congestion detection

Traffic Analysis: Core Techniques

Home Network ISPCore

NetworkService

Network

User Device

HomeAP

Traffic Analyzer

ISP First Node

Border Getaway Service

Servers

DNS Server

• DNS response/request provide the mapping between domains and IP addresses

• E.g. <nflxvideo.net, 198.38.120.155>

Use DNS data to categorize flows

DNS Request / Response

1

8

Page 9: Correlating Network Congestion with Video QoE Degradation ... · DNS Traffic Output Pinger Service Traceroute Service Raw Socket Interfaces Traffic statistics Congestion detection

Traffic Analysis: Core Techniques

Home Network ISPCore

NetworkService

Network

User Device

HomeAP

Traffic Analyzer

ISP First Node

Border Getaway Service

Servers

DNS Server

DNS Request / Response

• Infer QoS from encrypted video flow traffic

2 Track flow characteristics

Video Data

9

Page 10: Correlating Network Congestion with Video QoE Degradation ... · DNS Traffic Output Pinger Service Traceroute Service Raw Socket Interfaces Traffic statistics Congestion detection

Traffic Analysis: Core Techniques

Home Network ISPCore

NetworkService

Network

User Device

HomeAP

Traffic Analyzer

ISP First Node

Border Getaway Service

Servers

DNS Server

DNS Request / Response

ICMP Probing

Video Data

• Provides indicator of congestion in home/access networks and of wifi impairments

3 Active probing (ICMP Pings)

10

Page 11: Correlating Network Congestion with Video QoE Degradation ... · DNS Traffic Output Pinger Service Traceroute Service Raw Socket Interfaces Traffic statistics Congestion detection

Traffic Analysis: Core Techniques

Home Network ISPCore

NetworkService

Network

User Device

HomeAP

Traffic Analyzer

ISP First Node

Border Getaway Service

Servers

DNS Server

DNS Request / Response

ICMP Probing Traceroutes

Video Data

4 TCP-based traceroute to active services

• Provides indicator of congestion at interconnect and change of paths

11

Page 12: Correlating Network Congestion with Video QoE Degradation ... · DNS Traffic Output Pinger Service Traceroute Service Raw Socket Interfaces Traffic statistics Congestion detection

System Deployment

12

• Currently deployed in heterogeneous collection of homes

– ~50 in the US– ~10 in Paris

• Ground truth collected via a browser extension

– Information extracted from the HTML video tag

– Information extracted from Netflix debug output

Page 13: Correlating Network Congestion with Video QoE Degradation ... · DNS Traffic Output Pinger Service Traceroute Service Raw Socket Interfaces Traffic statistics Congestion detection

System Overview

13

DNS Traffic

Output

Pinger Service

Traceroute Service

Raw Socket

Interfaces

Traffic statistics Congestion detection

PCAP Capture

Congestion Levels Tracking

All Traffic

Video Flow Detection

Video Flow Counters

<Packets>

Traffic Summary

Raw Socket

<Raw Packets>

13

Page 14: Correlating Network Congestion with Video QoE Degradation ... · DNS Traffic Output Pinger Service Traceroute Service Raw Socket Interfaces Traffic statistics Congestion detection

Video Segment Detection

• HTTP traffic for video requests is sequential• Upstream traffic reveals requests boundaries

14

Page 15: Correlating Network Congestion with Video QoE Degradation ... · DNS Traffic Output Pinger Service Traceroute Service Raw Socket Interfaces Traffic statistics Congestion detection

Video Segment Detection

15

• More than 96% Netflix requests are correctly recognized within margin of error (0.21%)

• Challenges:•TLS•QUIC

Page 16: Correlating Network Congestion with Video QoE Degradation ... · DNS Traffic Output Pinger Service Traceroute Service Raw Socket Interfaces Traffic statistics Congestion detection

Video Startup Delay

16

• Exponential fit• Median errors of 0.32, 0.81, and 1.91 seconds for startup delay ranges 1–2, 2–4, and 4–8 seconds, respectively

Page 17: Correlating Network Congestion with Video QoE Degradation ... · DNS Traffic Output Pinger Service Traceroute Service Raw Socket Interfaces Traffic statistics Congestion detection

Video Bitrate Estimation

17

• Inter-arrival rate of segments

• Changes in inter-arrival rate allows for detection of quality switch events

Page 18: Correlating Network Congestion with Video QoE Degradation ... · DNS Traffic Output Pinger Service Traceroute Service Raw Socket Interfaces Traffic statistics Congestion detection

Conclusions

18

• Presented a lightweight system running at the home gateway that allows for categorization and analysis of encrypted traffic

• Future• Congestion pinpointing• Refinement of buffering / switch detection• Proactive network optimizations • Modular extensibility - general purpose

measurement platform

Page 19: Correlating Network Congestion with Video QoE Degradation ... · DNS Traffic Output Pinger Service Traceroute Service Raw Socket Interfaces Traffic statistics Congestion detection

Questions?

[email protected]