Poor Video Streaming Performance Explained (and Fixed)

Matvey Arye, Siddhartha Sen, Michael J. FreedmanarXiv 2018 · OpenReview

TL;DR

This paper reveals that poor video streaming quality isn't just an ABR algorithm problem, but a fundamental data plane issue caused by how small, sequential video segment downloads disrupt TCP's network bandwidth sensing. They introduce "Sprint," a data plane solution that intelligently groups segments into larger chunks, ensuring video streams get their fair share of bandwidth and significantly improving playback quality across various network conditions and ABR strategies.

What Problem Does This Paper Address?

Video streaming over HTTP is ubiquitous, yet users frequently experience poor quality (low resolution, buffering). While adaptive bitrate selection (ABR) algorithms are designed to dynamically adjust video quality to network conditions, studies have pointed to their poor interaction with TCP, especially when video buffers are full. This interaction allegedly causes ABR to underestimate available bandwidth, leading to lower quality choices. The authors argue this is a symptom of a deeper, data plane problem: the way HTTP video players download small, individual segments sequentially. This sequential downloading disrupts the normal ebb and flow of TCP's congestion control mechanism, particularly in the presence of network queues, leading to suboptimal throughput even with a perfect ABR algorithm.

Methods

The core of the paper's contribution lies in its data plane solution, named "Sprint." Instead of solely focusing on the ABR (control plane) logic, Sprint modifies how data is fetched. The key ideas are:

  • Analytical Model: The authors develop a mathematical model to understand how video flow throughput is affected by download size and network conditions (specifically, the interaction between TCP's congestion window (cwnd), bandwidth-delay product (BDP), and network queue dynamics).
  • Adaptive Chunk Sizing: Based on the model, they derive an algorithm to determine an optimal "chunk size." A chunk is a larger unit of data that can span multiple video segments. The goal is to make this chunk large enough to allow TCP's cwnd to grow sufficiently and utilize the network's fair share of bandwidth, preventing the "inadequate window syndrome."
  • Pipelining (Sprint): One implementation, Sprint, uses HTTP pipelining to request multiple segments sequentially, forming a "train" that constitutes the calculated chunk size. This is done incrementally to allow for ABR bitrate changes.
  • Expanded Range Requests (Sprint-x): A second implementation, Sprint-x, uses HTTP Range requests to fetch a single, large chunk of data. This approach is simpler but less flexible for ABR bitrate changes.

Datasets

The paper does not explicitly mention training datasets. For evaluation, they use:

  • Emulated Network Environments: They set up controlled experiments using a Cisco E1200 router with DD-WRT firmware and Linux's token-bucket filter (tbf) to emulate various bottleneck bandwidths (3Mbps to 25Mbps) and queue sizes (128KB to 1536KB).
  • Real-World Network Conditions: They also conducted experiments on mobile networks (T-Mobile) and tested against commercial video players (Netflix, YouTube, Hulu, Amazon) by streaming videos while simultaneously downloading a large file.
  • Existing Players: They compare Sprint against state-of-the-art proposals from the literature and deployed players from major streaming services.

Key Insights and Ideas

  • Data Plane is the Bottleneck: The most significant insight is that the problem isn't solely with the ABR algorithms, but with the fundamental way HTTP video players fetch data. Sequential downloads of small segments disrupt TCP's ability to accurately gauge network capacity.
  • The "Inadequate Window Syndrome": The paper clearly explains how the combination of TCP's cwnd dynamics, network queues, and sequential downloads leads to a situation where the video flow's cwnd is often too low to utilize its fair share of bandwidth, especially when competing with other traffic.
  • Chunking Solves the Problem: By grouping segments into larger chunks, the data plane can effectively mask the disruptive nature of sequential downloads, allowing TCP to operate more efficiently and achieve fair share.
  • Universality of the Solution: Sprint's data plane approach works independently of the ABR algorithm, meaning it can improve performance for any ABR strategy, including those that are more aggressive or less aggressive.
  • Industry Players Underperform: Even sophisticated commercial players struggle to achieve their fair share of bandwidth, highlighting the pervasive nature of the data plane problem.

Key Results

  • Sprint Achieves Near-Optimal Throughput: Sprint consistently achieved above 90% of its fair-share throughput across various network conditions, significantly outperforming existing solutions.
  • DASH and Industry Players Show High Variability: Unmodified DASH players and industry players exhibited highly variable performance, ranging from as low as 31% to close to fair share, and often achieving below 50% of their fair share.
  • Improved QoE: Sprint and Sprint-x demonstrated gains in QoE metrics such as higher video bitrates and fewer rebuffering events.
  • Sprint-x Trade-off: While Sprint-x also improved performance, it showed a trade-off between bitrate adaptation and throughput due to the overhead of canceling and restarting connections for bitrate changes.

Limitations and Future Work

  • Live Streaming: The paper notes that their pipelining approach (Sprint) is difficult to implement for live video streaming because the data is not yet available. They do not consider such scenarios.
  • Bufferbloat and RTC: The authors acknowledge that their solution, which relies on filling network queues to some extent, is not suitable for real-time communication (RTC) applications that are sensitive to latency. They suggest that in-network changes (like fair-queuing or AQM) might be necessary for RTC in bufferbloated networks.
  • Sprint-x Limitations: Sprint-x's reliance on Range requests might not work if video segments are stored as separate files and could interact poorly with caching services like CDNs.
  • Future Work: The paper implicitly suggests further exploration into how to adapt their data plane solutions for real-time communication and potentially more sophisticated ABR algorithms that can better leverage the data plane improvements.

Summary updated

Abstract

HTTP-based video streaming is a key application on the Internet today, comprising the majority of Internet traffic today. Yet customers remain dissatisfied with video quality, resulting in lost revenue for content providers. Recent studies have blamed this on the adaptive bitrate selection (ABR) algorithm used by client players, claiming it interacts poorly with TCP when the video buffer is full, which causes it to underestimate available network bandwidth. We show that the root cause of the problem lies in the data plane, and that even a perfect control plane (ABR) algorithm is not enough to guarantee video flows their fair share of network bandwidth. Namely, it is the sequential download of (small) video segments that is at fault, as they disrupt the normal interaction between TCP congestion control and router queue occupancy. We analytically derive the throughput of a video flow as a function of download size and network conditions, and use this to develop an adaptive algorithm for selecting the download size. Combined with pipelining, our approach achieves near-optimal throughput and fast bitrate adaptation, regardless of the control plane algorithm. We implement our approach as a DASH video player called Sprint, and evaluate it against state-of-the-art proposals from the literature as well as deployed players from Netflix, Youtube, Hulu, and Amazon. Sprint consistently achieves above 90% of its fair-share throughput, while the previous state-of-the-art exhibits high variability (e.g., from 31% to close to fair share depending on the network conditions). Industry players often achieve below 50% of their fair share.
BibTeX
@misc{arye2018poor,
  author = {Matvey Arye and Siddhartha Sen and Michael J. Freedman},
  title = {{Poor Video Streaming Performance Explained (and Fixed)}},
  year = {2018},
  eprint = {1901.00038},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1901.00038},
}
Figure