1 Lava: A Reality Check of Network Coding in Peer-to-Peer Live Streaming Mea Wang, Baochun Li Department of Electrical and Computer Engineering University.

Slides:



Advertisements
Similar presentations
Streaming Video over the Internet
Advertisements

XORs in The Air: Practical Wireless Network Coding
Playback delay in p2p streaming systems with random packet forwarding Viktoria Fodor and Ilias Chatzidrossos Laboratory for Communication Networks School.
On Large-Scale Peer-to-Peer Streaming Systems with Network Coding Chen Feng, Baochun Li Dept. of Electrical and Computer Engineering University of Toronto.
Doc.: IEEE /0604r1 Submission May 2014 Slide 1 Modeling and Evaluating Variable Bit rate Video Steaming for ax Date: Authors:
Lava: A Reality Check of Network Coding in Peer-to-Peer Live Streaming Mea Wang, Baochun Li Department of Electrical and Computer Engineering University.
Network coding techniques Elena Fasolo Network coding techniques Elena Fasolo PhD Student - SIGNET Group Wireless Systems - Lecture.
Network Coding in Peer-to-Peer Networks Presented by Chu Chun Ngai
Dynamic Adaptive Streaming over HTTP2.0. What’s in store ▪ All about – MPEG DASH, pipelining, persistent connections and caching ▪ Google SPDY - Past,
Resilient Peer-to-Peer Streaming Paper by: Venkata N. Padmanabhan Helen J. Wang Philip A. Chou Discussion Leader: Manfred Georg Presented by: Christoph.
Efficient and Flexible Parallel Retrieval using Priority Encoded Transmission(2004) CMPT 886 Represented By: Lilong Shi.
1 Live P2P Streaming with Scalable Video Coding and Network Coding Shabnam Mirshokraie, Mohamed Hefeeda School of Computing Science Simon Fraser University,
ZIGZAG A Peer-to-Peer Architecture for Media Streaming By Duc A. Tran, Kien A. Hua and Tai T. Do Appear on “Journal On Selected Areas in Communications,
A Comparison of Layering and Stream Replication Video Multicast Schemes Taehyun Kim and Mostafa H. Ammar.
Opportunities and Challenges of Peer-to-Peer Internet Video Broadcast J. Liu, S. G. Rao, B. Li and H. Zhang Proc. of The IEEE, 2008 Presented by: Yan Ding.
Network Coding for Large Scale Content Distribution Christos Gkantsidis Georgia Institute of Technology Pablo Rodriguez Microsoft Research IEEE INFOCOM.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Mobile Ad Hoc Networks Network Coding and Xors in the Air 7th Week.
Scalable and Continuous Media Streaming on Peer-to-Peer Networks M. Sasabe, N. Wakamiya, M. Murata, H. Miyahara Osaka University, Japan Presented By Tsz.
Service Differentiated Peer Selection An Incentive Mechanism for Peer-to-Peer Media Streaming Ahsan Habib, Member, IEEE, and John Chuang, Member, IEEE.
Measurement-Based Optimization Techniques for Bandwidth-Demanding Peer-to- Peer Systems T. S. Eugene Ng, Yang-hua Chu, Sanjay G. Rao, Kunwadee Sripanidkulchai.
Peer-to-Peer Based Multimedia Distribution Service Zhe Xiang, Qian Zhang, Wenwu Zhu, Zhensheng Zhang IEEE Transactions on Multimedia, Vol. 6, No. 2, April.
CoolStreaming/DONet: A Data- driven Overlay Network for Peer- to-Peer Live Media Streaming INFOCOM 2005 Xinyan Zhang, Jiangchuan Liu, Bo Li, and Tak- Shing.
1 NETWORK CODING Anthony Ephremides University of Maryland - A NEW PARADIGM FOR NETWORKING - February 29, 2008 University of Minnesota.
E-ODMRP: Enhanced ODMRP with Motion Adaptive Refresh Soon Y. Oh, Joon-Sang Park, Mario Gerla Computer Science Dept. UCLA.
An Alliance based PeeringScheme for P2P Live Media Streaming An Alliance based Peering Scheme for P2P Live Media Streaming Darshan Purandare Ratan Guha.
Understanding Mesh-based Peer-to-Peer Streaming Nazanin Magharei Reza Rejaie.
A Server-less Architecture for Building Scalable, Reliable, and Cost-Effective Video-on-demand Systems Presented by: Raymond Leung Wai Tak Supervisor:
Page 1 Page 1 Network Coding Theory: Tutorial Presented by Avishek Nag Networks Research Lab UC Davis.
1 rStream: Resilient and Optimal Peer-to-Peer Streaming with Rateless Codes Chuan Wu, Baochun Li Department of Electrical and Computer Engineering University.
1 Chameleon: Adaptive Peer-to-Peer Streaming with Network Coding Anh Tuan Nguyen, Baochun Li, and Frank Eliassen Department of Informatics, University.
On-Demand Media Streaming Over the Internet Mohamed M. Hefeeda, Bharat K. Bhargava Presented by Sam Distributed Computing Systems, FTDCS Proceedings.
Network Coding vs. Erasure Coding: Reliable Multicast in MANETs Atsushi Fujimura*, Soon Y. Oh, and Mario Gerla *NEC Corporation University of California,
A Server-less Architecture for Building Scalable, Reliable, and Cost-Effective Video-on-demand Systems Raymond Leung and Jack Y.B. Lee Department of Information.
Study of the Relationship between Peer to Peer Systems and IP Multicasting From IEEE Communication Magazine January 2003 學號 :M 姓名 : 邱 秀 純.
Exploring VoD in P2P Swarming Systems By Siddhartha Annapureddy, Saikat Guha, Christos Gkantsidis, Dinan Gunawardena, Pablo Rodriguez Presented by Svetlana.
BitTorrent Under a Microscope: Towards Static QoS Provision in Dynamic Peer-to-Peer Networks Tom H. Luan*, Xuemin (Sherman) Shen* and Danny H. K. Tsang.
Efficient Network-Coding-Based Opportunistic Routing Through Cumulative Coded Acknowledgments Dimitrios Koutsonikolas, Chih-Chun Wang and Y. Charlie Hu.
DELAYED CHAINING: A PRACTICAL P2P SOLUTION FOR VIDEO-ON-DEMAND Speaker : 童耀民 MA1G Authors: Paris, J.-F.Paris, J.-F. ; Amer, A. Computer.
Network Coding and Media Streaming (Invited Paper)
A Distributed Framework for Correlated Data Gathering in Sensor Networks Kevin Yuen, Ben Liang, Baochun Li IEEE Transactions on Vehicular Technology 2008.
Function Computation over Heterogeneous Wireless Sensor Networks Xuanyu Cao, Xinbing Wang, Songwu Lu Department of Electronic Engineering Shanghai Jiao.
An Optimal Partial Decoding Algorithm for Rateless Codes Valerio Bioglio, Rossano Gaeta, Marco Grangetto, and Matteo Sereno Dipartimento di Informatica.
User Cooperation via Rateless Coding Mahyar Shirvanimoghaddam, Yonghui Li, and Branka Vucetic The University of Sydney, Australia IEEE GLOBECOM 2012 &
CprE 545 project proposal Long.  Introduction  Random linear code  LT-code  Application  Future work.
Paper # – 2009 A Comparison of Heterogeneous Video Multicast schemes: Layered encoding or Stream Replication Authors: Taehyun Kim and Mostafa H.
Cooperative Recovery of Distributed Storage Systems from Multiple Losses with Network Coding Yuchong Hu, Yinlong Xu, Xiaozhao Wang, Cheng Zhan and Pei.
Ahmed Osama Research Assistant. Presentation Outline Winc- Nile University- Privacy Preserving Over Network Coding 2  Introduction  Network coding 
LT Network Codes Mary-Luc Champel, Kevin Huguenin, Anne-Marie Kermarrec and Nicolas Le Scouarnec Technicolor, Rennes, France IEEE ICDCS (International.
On the Topology of Wireless Sensor Networks Sen Yang, Xinbing Wang, Luoyi Fu Department of Electronic Engineering, Shanghai Jiao Tong University, China.
Scalable Video Coding and Transport Over Broad-band wireless networks Authors: D. Wu, Y. Hou, and Y.-Q. Zhang Source: Proceedings of the IEEE, Volume:
TCP-Cognizant Adaptive Forward Error Correction in Wireless Networks
Network Information Flow Nikhil Bhargava (2004MCS2650) Under the guidance of Prof. S.N Maheshwari (Dept. of Computer Science and Engineering) IIT, Delhi.
Using Heterogeneous Paths for Inter-process Communication in a Distributed System Vimi Puthen Veetil Instructor: Pekka Heikkinen M.Sc.(Tech.) Nokia Siemens.
1 Push-to-Peer Video-on-Demand System. 2 Abstract Content is proactively push to peers, and persistently stored before the actual peer-to-peer transfers.
A P2P On-Demand Video Streaming System with Multiple Description Coding Yanming Shen, Xiaofeng Xu, Shivendra Panwar, Keith Ross, Yao Wang Polytechnic University.
Nour KADI, Khaldoun Al AGHA 21 st Annual IEEE International Symposium on Personal, Indoor and Mobile Radio Communications 1.
Daniel A. G. Manzato and Nelson L. S. da Fonseca Institute of Computing, State University of Campinas Campinas, Brazil speaker: 吳麟佑.
A Cluster Based On-demand Multi- Channel MAC Protocol for Wireless Multimedia Sensor Network Cheng Li1, Pu Wang1, Hsiao-Hwa Chen2, and Mohsen Guizani3.
A Social-Network-Aided Efficient Peer-to-Peer Live Streaming System IEEE/ACM TRANSACTIONS ON NETWORKING, JUNE 2015 Haiying Shen, Yuhua Lin Dept. of Electrical.
Peter Pham and Sylvie Perreau, IEEE 2002 Mobile and Wireless Communications Network Multi-Path Routing Protocol with Load Balancing Policy in Mobile Ad.
Multicast with Network Coding in Application-Layer Overlay Networks Y. Zhu, B. Li, and J. Guo University of Toronto Present by Cheng Huang
1 Hierarchical Parallelization of an H.264/AVC Video Encoder A. Rodriguez, A. Gonzalez, and M.P. Malumbres IEEE PARELEC 2006.
Peer-to-Peer Networks 10 Fast Download Christian Schindelhauer Technical Faculty Computer-Networks and Telematics University of Freiburg.
Experimental Study on Wireless Multicast Scalability using Merged Hybrid ARQ with Staggered Adaptive FEC S. Makharia, D. Raychaudhuri, M. Wu*, H. Liu*,
Trickle Irrigation: Congestion Relief for Communication with Network Coding: where Shannon Meets Lyapunov Dapeng Oliver Wu Department of Electrical and.
Accelerating Peer-to-Peer Networks for Video Streaming
Network coding techniques
Xors in the air Sachin Katti, Hariharan Rahul, Wenjun Hu, Dina Katabi, Muriel Medard, Jon Crowcroft.
A Server-less Architecture for Building Scalable, Reliable, and Cost-Effective Video-on-demand Systems Raymond Leung and Jack Y.B. Lee Department of Information.
Taehyun Kim and Mostafa H. Ammar
Presentation transcript:

1 Lava: A Reality Check of Network Coding in Peer-to-Peer Live Streaming Mea Wang, Baochun Li Department of Electrical and Computer Engineering University of Toronto IEEE INFOCOM 2007

2 Outline Introduction Lava Experimental results Conclusion

3 Question? How helpful is networking coding in peer-to- peer streaming?  Network coding  Realistic testbed: Lava With actual network traffic  P2P streaming protocol: Vanilla Similar to CoolStreaming, PPLive… A data-driven pull-based peer-to-peer live streaming protocol.

4 Network Coding Originally proposed in information theory Theoretically improve network throughput of multicast sessions in directed acyclic graphs, achieving their cut-set capacity bounds A promising information theoretic approaches to improve performance in peer-to-peer and wireless networks 左起:楊偉豪教授、李碩彥教授和蔡寧博士

5 Network Coding DEFINITION Network coding is a particular in-network data processing technique that exploits the characteristics of the wireless medium (in particular, the broadcast communication channel) in order to increase the capacity or the throughput of the network. Pioneering work: [1] R. Ahlswede, N. Cai, S.-Y. R. Li, and R.W. Yeung, “Network information flow,” IEEE Trans. on Information Theory, vol. 46, no. 4, July [2] S. Y. R. Li, R. W. Yeung, and N. Cai, “Linear Network Coding,” IEEE Transactions on Information Theory, vol. 49, p. 371, Improves the performance in data broadcasting Most suitable setting: all to all communications

6 Network Coding TERMINOLOGY Communication network = finite directed graph Acyclic communication network = network without any direct cyclic Source node = node without any incoming edges (square) Channel = noiseless communication link for the transmission of a data unit per unit time (edge)  W X has capacity equal to 2

7 The example (I) Without network coding  Simple store and forward  Multicast rate of 1.5 bits per time unit

8 The example (II) With network coding  XOR  is one of the simplest form of data coding  Multicast rate of 2 bits per time unit  Disadvantages Coding/decoding scheme has to be agreed upon beforehand

9 X 1 +X 2 Figure 2: (Butterfly Network) S1 and S2 multicast to both R1 and R2. All links have capacity 1. With network coding (by xoring the data on link CD), the achievable rates are 2 for each source, the same as if every destination were using the network for its sole use. Without network coding, the achievable rates are less (for example if both rates are equal, the maximum rate is 1.5).

10 Lava Experimental testbed of network coding in peer-to- peer live streaming  Lava  Lava: Architecture  Lava  Lava: Steaming with Vanilla  Lava  Lava: Progressive network coding

11 Lava: Architecture A cluster of 44 high-performance servers  Interconnected by Gigabit Ethernet  Emulating upload bandwidth capacities on each peer at the application layer

12 Fig. 1. The architecture of a bandwidth-emulated peer in Lava.

13 Lava: Streaming with Vanilla Vanilla: a standard peer-to-peer streaming protocol  Data-driven pull-based peer-to-peer protocol Fig. 2. The playback buffer in Vanilla.

14 Lava 2 threads  network thread (1) maintain all the incoming and outgoing TCP connections and UDP traffic (2) generate data sources for a streaming session, and manage the session (3) emulate the upload and download capacities on each peer  algorithm thread: implements the actual algorithms and protocols (1) processes head-of-line messages from incoming connections, and send produced streaming segments from the algorithm to outgoing connections (2) maintain a local buffer that store data segments that have been received so far, and emulate the playback of each segment (3) Support multiple event-driven asynchronous timeout mechanisms with different timeout periods (4) implement Vanilla Fig. 3. The architectural design of network coding in Lava.

15 Randomize network coding : downstream peer p coded blocks x=[x 1, x 2,…, x n ] n x n matrix A a segment Is divided into n blocks randomly chooses a set of coding coefficients Lava: Progressive Network Coding

16 Lava: Progressive network coding Progressive decoding  Using Gauss-Jordan elimination instead of Gaussian elimination  It can start to decode as soon as the first coded block is received  The decoding time overlaps with the time required to receive the original block  Reduced row-echelon form (RREF)

17 Experiment Experiment setting  Each segment is 1 second of playback  The playback buffer to contain 30 segments  The low buffering watermarks are 10 seconds  The standard buffering watermarks 20 seconds  The initial buffering delay is set to 20 seconds  We test network coding with live streams with an average duration of 125 seconds

18 Experimental Result Decoding BW decreases faster than the encoding BW as the number of blocks increases. Make decoding process the bottleneck of network coding in the streaming process. Support a wide range of streaming rates (100kB – 8MB per second) Block Size / Block Number

19 Experimental Result With / without network coding  Transmission time: the time required to completely receive a segment, and includes the encoding time on the source.  Recovery time: the time spent in the decoding process to recover the original blocks after all blocks have been received. The computational overhead of Gauss- Jordan elimination. Decoding times are almost completely concealed within the time required to receive the segment.

20 Experimental Result Tuning density and aggressiveness :  Density: the ratio of none-zero entries in the set of coding coefficients d(0<d<1) The lower coding density leads to a smaller number of blocks being coded, which reduces the coding complexity.  Aggressiveness: the peer starts producing and serving new coded blocks after a*n (0<a<1) coded blocks has been received. A lower aggressiveness setting leads to more “supply “ of coded blocks.

21 Experimental Result playback quality  Playback skips: a segment is not successfully received in time, skip it.  Bandwidth redundancy: the percentage of discarded blocks (due to linear dependence or obsolescence) The best playback is achieved when both aggressiveness and density are 100%. For typical streaming rates (e.g., 64 KB per second), the aggressiveness and density settings do not have significant effect on the playback quality and bandwidth redundancy.

22 Experimental Result 3 different streaming rate:  64KBps : Supply > demand  73KBps : Supply ~= demand  78KBps : Supply < demand Better when a closes match between supply and demand. Peers may be served by multiple randomly selected upstream peers that have coded blocks of the requested segment. Network coding makes it possible to perform data streaming with finer granularity, so that the impact of a bandwidth supply shortage is significantly less severe.

23 Experimental Result Balance between bandwidth supply and demand The buffering levels with network coding increases slowly at the beginning of a session, due to processing overhead of coded blocks. (increasing initial peers)

24 Experimental Result Scalability (Add one peer on each server at a time) Though network coding doesn’t improve the playback quality in static sessions, it reduces the amount of redundancy with respect to bandwidth usage.

25 Peer Dynamic Interarrival times of peer join events and peer lifetimes are modeled as a Weibull distribution (k,λ),  with a PDF  Shape parameter k, scale parameter λ Without initial skips With initial skips Slow increase of buffering levels at the beginning of a session Better performance with network coding, especially when peers depart at a faster rate.

26 Peer Dynamic Although Vanilla enjoys a better overall playback, its buffering level fluctuates significantly. More stable and better performance in higher churn rate. Despite initial skips, network coding demonstrates its resilience to network dynamics, without incurring any additional bandwidth.

27 Conclusion We have implemented a pull-based peer-to- peer live streaming protocol in our testbed, Lava. Network coding makes it possible to perform streaming with a finer granularity, which reduces the redundancy of bandwidth usage, improves resilience to network dynamics.

28 References [1] R. Ahlswede, N. Cai, S. R. Li, and R. W. Yeung, “Network Information Flow,” IEEE Transactions on Information Theory, vol. 46, no. 4, pp. 1204–1216, July [2] S. Y. R. Li, R. W. Yeung, and N. Cai, “Linear Network Coding,” IEEE Transactions on Information Theory, vol. 49, p. 371, [5] C. Gkantsidis and P. Rodriguez, “Network Coding for Large Scale Content Distribution,” Proc. of IEEE INFOCOM [7] X. Zhang, J. Liu, B. Li, and T.-S. P. Yum, “Data-Driven Overlay Streaming: Design, Implementation, and Experience,” Proc. of IEEE INFOCOM [13] Mea Wang and Baochun Li, “How Practical is Network Coding?” Proc. of the Fourteenth IEEE International Workshop on Quality of Service (IWQoS 2006), 2006, pp. 274–278. Mea Wang, Baochun Li. “R2: Random Push with Random Network Coding in Live Peer-to-Peer Streaming,” IEEE Journal on Selected Areas in Communications, Special Issue on Advances in Peer-to-Peer Streaming Systems, vol. 25, no. 9, pp , December Mea Wang, Baochun Li. “Network Coding in Live Peer-to-Peer Streaming,” IEEE Transactions on Multimedia, Special Issue on Content Storage and Delivery in Peer-to-Peer Networks, vol. 9, no. 8, pp , December 2007.