Heterogeneity in Data-Driven Live Streaming: Blessing or Curse? Fabien Mathieu Hot-P2P, 04/23/2010.

Slides:



Advertisements
Similar presentations
You have been given a mission and a code. Use the code to complete the mission and you will save the world from obliteration…
Advertisements

Analysis of Computer Algorithms
1 Vorlesung Informatik 2 Algorithmen und Datenstrukturen (Parallel Algorithms) Robin Pomplun.
Kapitel S3 Astronomie Autor: Bennett et al. Raumzeit und Gravitation Kapitel S3 Raumzeit und Gravitation © Pearson Studium 2010 Folie: 1.
Kapitel 21 Astronomie Autor: Bennett et al. Galaxienentwicklung Kapitel 21 Galaxienentwicklung © Pearson Studium 2010 Folie: 1.
Slide 1 Insert your own content. Slide 2 Insert your own content.
Greening Backbone Networks Shutting Off Cables in Bundled Links Will Fisher, Martin Suchara, and Jennifer Rexford Princeton University.
Cognitive Radio Communications and Networks: Principles and Practice By A. M. Wyglinski, M. Nekovee, Y. T. Hou (Elsevier, December 2009) 1 Chapter 12 Cross-Layer.
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 5 Author: Julia Richards and R. Scott Hawley.
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
An Improved TCP for transaction communications on Sensor Networks Tao Yu Tsinghua University 2/8/
Optimizing Cost and Performance for Multihoming Nick Feamster CS 6250 Fall 2011.
Factors, Primes & Composite Numbers
Combining Like Terms. Only combine terms that are exactly the same!! Whats the same mean? –If numbers have a variable, then you can combine only ones.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
An Alliance based Peering Scheme for P2P Live Media Streaming Darshan Purandare Ratan Guha University of Central Florida August 31, P2P-TV, Kyoto.
Ramin Khalili (T-Labs/TUB) Nicolas Gast (LCA2-EPFL)
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
0 - 0.
ALGEBRAIC EXPRESSIONS
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
ADDING INTEGERS 1. POS. + POS. = POS. 2. NEG. + NEG. = NEG. 3. POS. + NEG. OR NEG. + POS. SUBTRACT TAKE SIGN OF BIGGER ABSOLUTE VALUE.
SUBTRACTING INTEGERS 1. CHANGE THE SUBTRACTION SIGN TO ADDITION
Addition Facts
ZMQS ZMQS
Fakultät für informatik informatik 12 technische universität dortmund Classical scheduling algorithms for periodic systems Peter Marwedel TU Dortmund,
VARUN GUPTA Carnegie Mellon University 1 Partly based on joint work with: Anshul Gandhi Mor Harchol-Balter Mike Kozuch (CMU) (CMU) (Intel Research)
Xia Zhou*, Stratis Ioannidis ♯, and Laurent Massoulié + * University of California, Santa Barbara ♯ Technicolor Research Lab, Palo Alto + Technicolor Research.
Multipath Routing for Video Delivery over Bandwidth-Limited Networks S.-H. Gary Chan Jiancong Chen Department of Computer Science Hong Kong University.
Video Services over Software-Defined Networks
Performance Analysis of Peer-to-Peer File Transfer Network Sayantan Mitra Vibhor Goyal 1.
Peer-to-Peer and Social Networks An overview of Gnutella.
Utility Optimization for Event-Driven Distributed Infrastructures Cristian Lumezanu University of Maryland, College Park Sumeer BholaMark Astley IBM T.J.
1 RAID Overview n Computing speeds double every 3 years n Disk speeds cant keep up n Data needs higher MTBF than any component in system n IO.
ABC Technology Project
The Weighted Proportional Resource Allocation Milan Vojnović Microsoft Research Joint work with Thành Nguyen Microsoft Research Asia, Beijing, April, 2011.
3 Logic The Study of What’s True or False or Somewhere in Between.
COMP 482: Design and Analysis of Algorithms
1 Chapter 8 Approximation Algorithms (Part II). 2 Outline Scheduling Independent tasks Bin packing.
Optimal Scheduling in Peer-to-Peer Networks Lee Center Workshop 5/19/06 Mortada Mehyar (with Prof. Steven Low, Netlab)
© S Haughton more than 3?
Junchen Jiang (CMU) Vyas Sekar (Stony Brook U)
Squares and Square Root WALK. Solve each problem REVIEW:
110/6/2014CSE Suprakash Datta datta[at]cse.yorku.ca CSE 3101: Introduction to the Design and Analysis of Algorithms.
Past Tense Probe. Past Tense Probe Past Tense Probe – Practice 1.
Limits (Algebraic) Calculus Fall, What can we do with limits?
Scalable and Dynamic Quorum Systems Moni Naor & Udi Wieder The Weizmann Institute of Science.
Properties of Exponents
Chapter 5 Test Review Sections 5-1 through 5-4.
GG Consulting, LLC I-SUITE. Source: TEA SHARS Frequently asked questions 2.
What You Should Learn • Represent and classify real numbers.
Addition 1’s to 20.
25 seconds left…...
Test B, 100 Subtraction Facts
Week 1.
We will resume in: 25 Minutes.
Dantzig-Wolfe Decomposition
FIND THE AREA ( ROUND TO THE NEAREST TENTHS) 2.7 in 15 in in.
Choosing an Order for Joins
1 PART 1 ILLUSTRATION OF DOCUMENTS  Brief introduction to the documents contained in the envelope  Detailed clarification of the documents content.
How Cells Obtain Energy from Food
10.3 Simplifying Radical Expressions
Delay Analysis and Optimality of Scheduling Policies for Multihop Wireless Networks Gagan Raj Gupta Post-Doctoral Research Associate with the Parallel.
Scalable Rule Management for Data Centers Masoud Moshref, Minlan Yu, Abhishek Sharma, Ramesh Govindan 4/3/2013.
On Large-Scale Peer-to-Peer Streaming Systems with Network Coding Chen Feng, Baochun Li Dept. of Electrical and Computer Engineering University of Toronto.
Min Xu1, Yunfeng Zhu2, Patrick P. C. Lee1, Yinlong Xu2
Scheduling of Parallel Jobs In a Heterogeneous Multi-Site Environment By Gerald Sabin from Ohio State Reviewed by Shengchao Yu 02/2005.
Presentation transcript:

Heterogeneity in Data-Driven Live Streaming: Blessing or Curse? Fabien Mathieu Hot-P2P, 04/23/2010

Roadmap  Problem statement –Model –Motivation  Optimal broadcasting of a single chunk –Many-to-one –One-to-one –One-to-c  Towards fast broadcasting of a stream of chunks –Curses –Blessings 2/22

3/22 The Live Streaming Problem  A live stream (streamrate s) to watch…  Injected by a server of capacity  Watched by a set of N peers…  Goal #1: make it work!  Goal #2: make it fast!

4/22 Chunk-based (aka data-driven) diffusion  Chunk-based: the stream is split into chunks of equal size;  Integrity-rule: only forward fully received chunks;  Upload-constrained: delay comes from upload bandwidth  u 1 ¸ … ¸ u N ;  Bandwidth are expressed in chunks per second  No overlay constraints ! Oversimplified model to focus on heterogeneity

5/22 Optimal delay in the homogeneous case  Homogeneity allows to work in slotted time  The best way to broadcast one chunk takes  Extends to a stream of chunks by permutation of the single chunk tree

6/22 Optimal delay in the heterogeneous case  Nice formula for the optimal single chunk transmission: failed  Direct link single chunk / stream of chunks: failed  Intuition: should be faster (centralization is the extreme case)  In practice: (Bonald et al., Sigmetrics, 2208)  Summary: heterogeneity is a b….

7/22 Model extension: forwarding policies Authorize collaborations, or force parallelism:  Many-to-one: any set of peers with a chunk can forward that chunk in time 1/  i u i. –Not realistic at all, but so easier to compute; –Will help understand the other models.  One-to-one (mono-source): a peer i with a chunk can forward it in time 1/u i. –the genuine model; –slower than many-to-one, but more realistic.  One-to-c (parallelism): a peer i needs at least c/u i to forward a chunk, up to c peers simultaneously. –Extend the classical model; –parallelism can avoid bandwidth waste, but it slower.

8/22 Delays under the model

9/22 Example  3 peers, s=1, n 0 =u 1 =1, u 2 =u 3 =1/2  Exactly the bandwidth required according to Bandwidth Conservation Law (BCL)  Equivalent homogeneous system: n 0 =1, u=2/3  Streaming is the issue

SINGLE CHUNK 10/22

11/22 Results for the single chunk transmission  D m is given by a simple greedy algorithm:  Gives  Absolute, tight, lower bound for chunk transmission.  Homogeneous case: 

12/22 Results for the single chunk transmission  D 1 is also given by a simple greedy algorithm.  No simple, closed formula.  Theorem:  Conjecture (sigh!):  Price of atomicity is  Extension to parallelism:  Price of parallelism is

STREAM OF CHUNKS 13/22

14/22 Streaming case: feasibility

15/22 Bad case scenario  In the one-to-one model, poor peer may affect the delay if you have to use them at some time  This can happen even in overprovisionned scenarios

16/22 Good case 1: emulating homogeneity  Assume we can find u such that – (BCL of the emulated system) – (emulation condition)  Then we have  Poor peers (u i <u) are never used  Sufficient condition for u to exist: factor 2 BW provisioning for quantification

17/22 Good case 2: avoiding competition

18/22 Good case 2: avoiding competition  Idea: protect the early diffusion to emulate the Dr · 1 case.  Recipe: –Split the peers into E equal subsets, (E ¼ Dr) –All subsets should have roughly the original BW distribution. –Round-robin the chunk injection among the subsets. –Primary goal: intra-diffusion of the chunk. –Secondary goal (when idle): broadcast to other subsets

19/22 Good case 2: avoiding competition  Proper validation of the idea still on-going –Quantification effects can make some BW useless –The subset must be as similar as possible (one monster peer in a single subset is hard to handle)  Lead to condition u ¸ r(1+1/E)+cst, with E ¼ log(N/n_0).  Corresponding delay almost like D  For some slightly overprovisionned systems, the stream delay is almost like the chunk delay

20/22 Chunk-based model and delay: summary  For homogeneous systems, single delay=stream delay  Collaboration for one chunk transfer is not that useful  Parallelism is not that scary  Heterogeneity speeds up single delay  Some bandwidth overprovisioning seems to be required in the general case

21/22 And then? Limits of the chunk-based model  Chunks comes from BitTorrent’s world –Integrity purpose –Great for unstructured approaches –Big chunk reduce overhead  Good for theory –Quantification –Delay expressed as bandwidth  But when streaming is concerned… –Need to go down to latency timescales –Limits of the model validity  A possible lead for future work –Do we really need strong integrity mechanisms? –Try to learn from the stripe world

Thank you very many! 22/22 No interactive questions, but you can Have a look at the paper me