Exploring a QoS Driven Scheduling Approach for Peer-to-Peer Live Streaming Systems with Network Coding

Laizhong Cui, Nan Lu, Chen FuThe Scientific World JOURNAL 2014 · DOI

TL;DR

This paper introduces a novel Quality of Service (QoS) driven scheduling approach for P2P live streaming systems that leverages network coding. By proposing a new coding method and formulating the scheduling as a min-cost flow problem, the authors achieve significantly lower packet delays, improved streaming quality, and reduced coding overhead compared to existing methods, especially in dynamic network environments.

What Problem Does This Paper Address?

Distributing live video content to a large audience efficiently and reliably is a significant challenge. Traditional Peer-to-Peer (P2P) live streaming systems often use mesh topologies and "pull" scheduling, where clients request data. While this offers robustness, it leads to substantial packet delays and underutilization of bandwidth. Introducing network coding can enable more efficient "push" scheduling in mesh networks, but it can also introduce its own delays and computational overhead. Existing approaches struggle to simultaneously optimize for packet delay, streaming quality, and coding complexity, particularly in dynamic P2P environments where peers frequently join and leave. This paper aims to bridge this gap by developing a scheduling approach that balances these competing QoS metrics.

Methods

The core of this paper lies in its proposed QoS-driven scheduling approach, which combines a novel network coding method with an optimization framework and a specialized push scheduling algorithm.

  • New Network Coding Method (Coding Substreams): Instead of traditional segment-based network coding, the authors propose dividing the live stream into substreams and applying network coding to these substreams. This "coding substream" approach increases content diversity and reduces the complexity of scheduling by allowing peers to subscribe to any substream from any parent.
  • Optimization Problem Formulation: The scheduling problem is framed as a minimization of total transmission cost. This cost function considers factors like transmission delay and packet loss probability. The problem is then transformed into an equivalent min-cost flow problem, which can be solved efficiently in polynomial time.
  • Push Scheduling Algorithm: A two-mode push scheduling algorithm is introduced:
  • Forwarding Push: Directly sends available coding blocks to the child if the child lacks them.
  • Reencoding Push: If a parent cannot forward a block, it can generate a new coding block by re-encoding received blocks. This is crucial for robustness in dynamic environments, allowing a child to receive missing content even if its original parent leaves. This mode is triggered only when necessary, minimizing coding overhead.

Datasets

The authors evaluated their approach using a discrete event-driven packet-level simulator. They utilized:

  • A real-world end-to-end latency matrix (2500x2500) measured on the Internet.
  • Peer bandwidth distributions, including default settings and variations to simulate bandwidth heterogeneity.
  • Parameters for simulation, such as peer number, streaming rate, segment length, and coding aggressiveness.

No new benchmarks or datasets were introduced; instead, existing real-world data and standard simulation parameters were employed.

Key Insights and Ideas

  • Substream-level Network Coding is Key: Applying network coding at the substream level, rather than just segment level, offers a more flexible and diverse way to distribute content, simplifying scheduling decisions for peers.
  • Min-Cost Flow for Optimal Scheduling: Transforming the complex scheduling problem into a well-understood min-cost flow problem allows for efficient, polynomial-time solutions, ensuring optimal resource allocation for packet delivery.
  • Reencoding Push for Dynamic Resilience: The "Reencoding Push" mechanism is a critical innovation for handling peer churn. It allows peers to dynamically generate missing content, significantly improving robustness and continuity in the face of network instability.
  • Balancing QoS Metrics: The approach effectively balances packet delay, streaming continuity, and coding overhead, demonstrating that optimizing for one metric doesn't necessarily degrade others.

Key Results

The proposed QoS-driven scheduling approach demonstrated superior performance across several key metrics compared to traditional CoolStreaming (pull-based) and R² (random push with network coding):

  • Packet Delay: Significantly lower average packet delay, especially as the number of peers and streaming rate increased. For instance, with 1000 peers, their approach achieved a delay of around 3 seconds, while CoolStreaming was around 15 seconds and R² was around 9 seconds.
  • Continuity Index: Achieved the highest continuity index, indicating that more segments were received and decoded before their playback deadlines. This was particularly evident in dynamic environments where peers left the system, with their approach showing minimal degradation.
  • Coding Ratio: Substantially lower coding ratio (under 30% most of the time) compared to R² (nearly 100%). This indicates significantly reduced coding overhead, as their approach prioritizes direct forwarding and only reencodes when necessary.

Limitations and Future Work

  • Limitations:
    • The paper focuses on optimizing for packet delay, continuity index, and coding ratio. Other QoS metrics like fairness or energy consumption are not explicitly addressed.
  • The "Reencoding Push" mechanism, while robust, might still introduce some computational overhead on the parent peers.
  • The paper assumes a certain level of cooperation among peers for bandwidth allocation and information sharing.
  • Future Work:
    • Exploring the optimization of other QoS metrics.
  • Investigating more advanced network coding techniques to further reduce coding overhead.
  • Developing adaptive mechanisms to dynamically adjust coding aggressiveness based on network conditions.
  • Extending the approach to handle more complex video streaming scenarios, such as adaptive bitrate streaming.

Summary updated

Abstract

Most large-scale peer-to-peer (P2P) live streaming systems use mesh to organize peers and leverage pull scheduling to transmit packets for providing robustness in dynamic environment. The pull scheduling brings large packet delay. Network coding makes the push scheduling feasible in mesh P2P live streaming and improves the efficiency. However, it may also introduce some extra delays and coding computational overhead. To improve the packet delay, streaming quality, and coding overhead, in this paper are as follows. we propose a QoS driven push scheduling approach. The main contributions of this paper are: (i) We introduce a new network coding method to increase the content diversity and reduce the complexity of scheduling; (ii) we formulate the push scheduling as an optimization problem and transform it to a min-cost flow problem for solving it in polynomial time; (iii) we propose a push scheduling algorithm to reduce the coding overhead and do extensive experiments to validate the effectiveness of our approach. Compared with previous approaches, the simulation results demonstrate that packet delay, continuity index, and coding ratio of our system can be significantly improved, especially in dynamic environments.
BibTeX
@article{cui2014exploring,
  author = {Laizhong Cui and Nan Lu and Chen Fu},
  title = {{Exploring a QoS Driven Scheduling Approach for Peer-to-Peer Live Streaming Systems with Network Coding}},
  journal = {The Scientific World JOURNAL},
  year = {2014},
  doi = {10.1155/2014/513861},
}
Figure