1 © 2008 Nokia continous_scheduling_fmn_2008 / 2008-09-14 / JAk Continuous Scheduling for Data-Driven Peer-to-Peer Streaming Jyrki Akkanen Peer-to-peer.

Slides:



Advertisements
Similar presentations
Congestion Control Reasons: - too many packets in the network and not enough buffer space S = rate at which packets are generated R = rate at which receivers.
Advertisements

Bayesian Piggyback Control for Improving Real-Time Communication Quality Wei-Cheng Xiao 1 and Kuan-Ta Chen Institute of Information Science, Academia Sinica.
IS333, Ch. 26: TCP Victor Norman Calvin College 1.
BZUPAGES.COM 1 User Datagram Protocol - UDP RFC 768, Protocol 17 Provides unreliable, connectionless on top of IP Minimal overhead, high performance –No.
DSR The Dynamic Source Routing Protocol Students: Mirko Gilioli Mohammed El Allali.
1 Nazanin Magharei, Reza Rejaie University of Oregon INFOCOM 2007 PRIME: P2P Receiver-drIven MEsh based Streaming.
Congestion Control Created by M Bateman, A Ruddle & C Allison As part of the TCP View project.
Suphakit Awiphan, Takeshi Muto, Yu Wang, Zhou Su, Jiro Katto
Receiver-driven Layered Multicast S. McCanne, V. Jacobsen and M. Vetterli SIGCOMM 1996.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
A Performance Comparison of Multi-Hop Wireless Ad Hoc Network Routing Protocols By Josh Broch, David A. Maltz, David B. Johnson, Yih- Chun Hu, Jorjeta.
XORs in the air: Practical Wireless Network Coding Sachin Katti, Hariharan Rahul, Wenjun Hu, Dina Katabi, Muriel Medard, Jon Crowcroft SIGCOMM ‘06 Presented.
Computer Networks Performance Metrics Advanced Computer Networks.
1-1 CMPE 259 Sensor Networks Katia Obraczka Winter 2005 Transport Protocols.
A New Approach for the Construction of ALM Trees using Layered Coding Yohei Okada, Masato Oguro, Jiro Katto Sakae Okubo International Conference on Autonomic.
Introduction Future wireless systems will be characterized by their heterogeneity - availability of multiple access systems in the same physical space.
Beneficial Caching in Mobile Ad Hoc Networks Bin Tang, Samir Das, Himanshu Gupta Computer Science Department Stony Brook University.
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.
1March -05 Jiangchuan Liu with Xinyan Zhang, Bo Li, and T.S.P.Yum Infocom 2005 CoolStreaming/DONet: A Data-Driven Overlay Network for Peer-to-Peer Live.
An Alliance based PeeringScheme for P2P Live Media Streaming An Alliance based Peering Scheme for P2P Live Media Streaming Darshan Purandare Ratan Guha.
6/28/2015Reza Rejaie INFOCOM 07 1 Nazanin Magharei, Reza Rejaie University of Oregon PRIME: P2P Receiver-drIven MEsh based.
Adaptive Self-Configuring Sensor Network Topologies ns-2 simulation & performance analysis Zhenghua Fu Ben Greenstein Petros Zerfos.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Transport Protocols Slide 1 Transport Protocols.
On-Demand Media Streaming Over the Internet Mohamed M. Hefeeda, Bharat K. Bhargava Presented by Sam Distributed Computing Systems, FTDCS Proceedings.
Ad Hoc Wireless Routing COS 461: Computer Networks
TCP: flow and congestion control. Flow Control Flow Control is a technique for speed-matching of transmitter and receiver. Flow control ensures that a.
Distributed Quality-of-Service Routing of Best Constrained Shortest Paths. Abdelhamid MELLOUK, Said HOCEINI, Farid BAGUENINE, Mustapha CHEURFA Computers.
Itrat Rasool Quadri ST ID COE-543 Wireless and Mobile Networks
Ali Saman Tosun Computer Science Department
1 V1-Filename.ppt / yyyy-mm-dd / Initials P2P content distribution T Applications and Services in Internet, Fall 2008 Jukka K. Nurminen.
Routing Protocol Evaluation David Holmer
An End-to-end Approach to Increase TCP Throughput Over Ad-hoc Networks Sarah Sharafkandi and Naceur Malouch.
1 7-Oct-15 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
Higashino Lab. Maximizing User Gain in Multi-flow Multicast Streaming on Overlay Networks Y.Nakamura, H.Yamaguchi and T.Higashino Graduate School of Information.
Kamal Singh, Árpád Huszák, David Ros, César Viho and Jeney Gábor
Sharing Information across Congestion Windows CSE222A Project Presentation March 15, 2005 Apurva Sharma.
Computer Networks Performance Metrics. Performance Metrics Outline Generic Performance Metrics Network performance Measures Components of Hop and End-to-End.
CS332, Ch. 26: TCP Victor Norman Calvin College 1.
TCP1 Transmission Control Protocol (TCP). TCP2 Outline Transmission Control Protocol.
The Transmission Control Protocol (TCP) Application Services (Telnet, FTP, , WWW) Reliable Stream Transport (TCP) Connectionless Packet Delivery.
HUAWEI TECHNOLOGIES CO., LTD. Page 1 Survey of P2P Streaming HUAWEI TECHNOLOGIES CO., LTD. Ning Zong, Johnson Jiang.
PRIME: P2P Receiver-drIven MEsh based Streaming Nazanin Magharei, Reza Rejaie University of Oregon Presenter Jungsik Yoon.
COP 5611 Operating Systems Spring 2010 Dan C. Marinescu Office: HEC 439 B Office hours: M-Wd 2:00-3:00 PM.
S Master’s thesis seminar 8th August 2006 QUALITY OF SERVICE AWARE ROUTING PROTOCOLS IN MOBILE AD HOC NETWORKS Thesis Author: Shan Gong Supervisor:Sven-Gustav.
Networking Fundamentals. Basics Network – collection of nodes and links that cooperate for communication Nodes – computer systems –Internal (routers,
Multimedia streaming Application Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Querying.
On the Optimal Scheduling for Media Streaming in Data-driven Overlay Networks Meng ZHANG with Yongqiang XIONG, Qian ZHANG, Shiqiang YANG Globecom 2006.
Flashback: A Peer-to-Peer Web Server for Flash Crowds Presented by Tom Batkiewicz CS 587x Fall ‘07.
Networking Basics CCNA 1 Chapter 11.
Chapter 24 Transport Control Protocol (TCP) Layer 4 protocol Responsible for reliable end-to-end transmission Provides illusion of reliable network to.
TCP OVER ADHOC NETWORK. TCP Basics TCP (Transmission Control Protocol) was designed to provide reliable end-to-end delivery of data over unreliable networks.
ECE 4110 – Internetwork Programming
SHADOWSTREAM: PERFORMANCE EVALUATION AS A CAPABILITY IN PRODUCTION INTERNET LIVE STREAM NETWORK ACM SIGCOMM CING-YU CHU.
TCP continued. Discussion – TCP Throughput TCP will most likely generate the saw tooth type of traffic. – A rough estimate is that the congestion window.
A Comparison of RaDiO and CoDiO over IEEE WLANs May 25 th Jeonghun Noh Deepesh Jain A Comparison of RaDiO and CoDiO over IEEE WLANs.
Transport Layer3-1 Chapter 3 outline r 3.1 Transport-layer services r 3.2 Multiplexing and demultiplexing r 3.3 Connectionless transport: UDP r 3.4 Principles.
Buffer Analysis of Live P2P Media Streaming Approaches Atif Nazir BSc ’07, LUMS.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
Performance Comparison of Ad Hoc Network Routing Protocols Presented by Venkata Suresh Tamminiedi Computer Science Department Georgia State University.
Transmission Control Protocol A Reliable, Connection-Oriented, Byte-Stream Service Lab 9.
1 14-Jun-16 S Ward Abingdon and Witney College CCNA Exploration Semester 1 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 OSI transport layer CCNA Exploration Semester 1 – Chapter 4.
Cost-Effective Video Streaming Techniques Kien A. Hua School of EE & Computer Science University of Central Florida Orlando, FL U.S.A.
A Selective Retransmission Protocol for Multimedia on the Internet
High Throughput Route Selection in Multi-Rate Ad Hoc Wireless Networks
PUSH Flag A notification from the sender to the receiver to pass all the data the receiver has to the receiving application. Some implementations of TCP.
Self Organized Networks
Presentation transcript:

1 © 2008 Nokia continous_scheduling_fmn_2008 / / JAk Continuous Scheduling for Data-Driven Peer-to-Peer Streaming Jyrki Akkanen Peer-to-peer team, Internet Laboratory Nokia Research Center, Helsinki, Finland

2 © 2008 Nokia continous_scheduling_fmn_2008 / / JAk Agenda Data-driven (pull-based mesh) P2P streaming Continuous data-driven P2P streaming Early experience results

3 © 2008 Nokia continous_scheduling_fmn_2008 / / JAk Our original motivation Desired practical P2P streaming solution For Symbian/S60 mobile phones No “perfect” solution exists yet Desired to improve joining time On-going work, results are preliminary

4 © 2008 Nokia continous_scheduling_fmn_2008 / / JAk Peer-to-peer streaming: two basic questions How to manage the overlay topology? Centralized tracker Random topology, 4-8 neighbors How to disseminate data? Data-driven / pull-based mesh Well-known, much used in practice

5 © 2008 Nokia continous_scheduling_fmn_2008 / / JAk Data-driven (pull-based) stream delivery Mesh topology Each node has a small set of partners Stream split in pieces Nodes collect pieces in buffer Window of interest / Request window in the front Playing from the back Notify – Request – Response pattern Buffer content advertised to partners Scheduling: what to fetch, when and where Requests sent to partners Partners return pieces one by one Periodic operation 1-2 second scheduling/request period NotifyRequestSend source Window of Interest Jitter Window

6 © 2008 Nokia continous_scheduling_fmn_2008 / / JAk Challenges of periodic operation Buffer lag Advertising+scheduling delay 1-2 sec Receiving node lags sending partner Partners who lag cannot contribute Low reacton time, slow re-transmit Wait for the next scheduling round Consequences Long end-to-end delay Long window of interest (30 sec or more) Hard to find partners that don’t lag and have enough capacity Low delivery ratio Can we run it faster? Better gain, shorter delay Increases overhead Same timing, exchange few pieces Different timing, unidirectional traffic

7 © 2008 Nokia continous_scheduling_fmn_2008 / / JAk Continuous Data-driven Streaming Protocol Speed up the basic data-driven protocol Up to point where it no more operates periodically Small piece size 1250 Bytes = single IP packet Narrow window of interest 256 packets = 8.5 sec at 200 kbps Send incremental notifications continuously As soon as possible after you get a piece Scheduler runs continuously Notifications fed in one by one whenever they arrive Maintains plan to fetch pieces from partners Requests sent continuously One by one at “last possible” moment Requests are waiting in the scheduler Scheduler

8 © 2008 Nokia continous_scheduling_fmn_2008 / / JAk Communication over UDP Rare selection: TCP is usually preferred Better timing, improved reaction speed Control on re-transmission AIMD-based rate control; could also use TFRC May lead to difficulties with firewalls etc.

9 © 2008 Nokia continous_scheduling_fmn_2008 / / JAk Fighting against overhead Need to send lots of small amounts of control data all the time Piggybacking Control data piggybacked to stream data whenever possible Ability to mutually exchange data also helps Less need to send “control” packets without stream data In practice Rate control regularly allows transmission opportunities to each link On each opportunity, assemble a packet from what you need to send Incremental notifications sent in small groups (1-10)

10 © 2008 Nokia continous_scheduling_fmn_2008 / / JAk Source fan-out policy Mandatory process to create initial packet distribution at first hop peers Selective advertising Simple fan-out policy Decreased density of packets Randomly selected packets Advertised Window of Interest

11 © 2008 Nokia continous_scheduling_fmn_2008 / / JAk Simple scheduler Packet is scheduled or re-scheduled whenever notification is received request is lost Maintain a request queue per each partner holds assigned requests in randomized order sorted by seqno + X where X is uniformly random insert request in shortest queue Pick requests from the queues when needed window-based flow control minimize the number of outstanding requests Scheduling policy concerns bandwidth constrained peers only others have always almost empty queues prefers rare and urgent packets virtual time sorting increases diversity randomize order select shortest queue pick request re-notified lost

12 © 2008 Nokia continous_scheduling_fmn_2008 / / JAk Implementation status A portable C++ implementation Simulation in Linux Demonstration with Linux PCs Demonstration with Symbian phones

13 © 2008 Nokia continous_scheduling_fmn_2008 / / JAk Simulations in Linux PC Simple network simulator centralized router with tail drop queues 500 kbps links with 50 ms latency Artificial media stream 200 kbps, 20 packets/sec Simple dynamic scenario random overlay topology, 4 partners / node initially 100 nodes after 120 seconds drop half of the nodes remaining peers re-connect so that all have 4 partners again

14 © 2008 Nokia continous_scheduling_fmn_2008 / / JAk End-to-end delay, simulated No frames are lost 50% of peers lost at 120 sec

15 © 2008 Nokia continous_scheduling_fmn_2008 / / JAk Recent simulation results (not in paper) Dynamic scenarios with Poisson join/leave process Exponentially distributed random dwelling time 50 or 100 sec Each newcomer joined to 6 randomly selected peers

16 © 2008 Nokia continous_scheduling_fmn_2008 / / JAk Live video streaming Live network of 4 Nokia N93i smart phones Ad-hoc WLAN network Video from phone camera H.263 profile 0 level x 288 pixels, 16M colors, 15 fps variable data rate 64 – 315 kbps Other three phones viewed the video Player learned optimal playback point End-to-end latency was 10 sec No frames lost Full mesh overlay topology

17 © 2008 Nokia continous_scheduling_fmn_2008 / / JAk Video rate at source, live

18 © 2008 Nokia continous_scheduling_fmn_2008 / / JAk Window of interest and player jitter Window of Interest Jitter Window

19 © 2008 Nokia continous_scheduling_fmn_2008 / / JAk Network overhead, live Due to heavy piggybacking cannot distinguish data and control packets Total protocol overhead 14.4% all transmitted bytes including IP/UDP headers relative to received stream data live network, 3 peers For comparison periodic data-driven overlay streaming: ~10% unidirectional HTTP downloading: 7.2% (our measurement)

20 © 2008 Nokia continous_scheduling_fmn_2008 / / JAk Total network overhead, simulated (not in paper)

21 © 2008 Nokia continous_scheduling_fmn_2008 / / JAk Continuous scheduling approach: summary Work in progress Not yet tested in real large-scale networks Overhead is largish, but not intolerable not yet optimized Seems to provide small latency high delivery ratio good resilience for dynamics Difficulties with bandwidth constraints congestion close to the source few critical, bandwidth constrained overlay links Need better fan-out and scheduling policies must diffuse new packets quickly far out to the network