CStream: Neighborhood Bandwidth Aggregation For Better Video Streaming Thangam Vedagiri Seenivasan Advisor: Mark Claypool Reader: Robert Kinicki 1 M.S.

Slides:



Advertisements
Similar presentations
IEEE INFOCOM 2004 MultiNet: Connecting to Multiple IEEE Networks Using a Single Wireless Card.
Advertisements

MicroCast: Cooperative Video Streaming on Smartphones Lorenzo Keller, Anh Le, Blerim Cic, Hulya Seferoglu LIDS, Christina Fragouli, Athina Markopoulou.
1 / 21 Network Characteristics of Video Streaming Traffic Ashwin Rao †, Yeon-sup Lim *, Chadi Barakat †, Arnaud Legout †, Don Towsley *, and Walid Dabbous.
X stream Project proposal. Project goals: Students Students: Academic Supervisor Academic Supervisor: Advisors: Developing and Implementing a large scale.
Fundamentals of Computer Networks ECE 478/578
Performance Analysis of Home Streaming Video Using Orb Rabin Karki, Thangam Seenivasan, Mark Claypool and Robert Kinicki Worcester Polytechnic Institute.
Playback-buffer Equalization For Streaming Media Using Stateless Transport Prioritization By Wai-tian Tan, Weidong Cui and John G. Apostolopoulos Presented.
Kangaroo: Video Seeking in P2P Systems Xiaoyuan Yang †, Minas Gjoka ¶, Parminder Chhabra †, Athina Markopoulou ¶, Pablo Rodriguez † † Telefonica Research.
Doc.: IEEE /0604r1 Submission May 2014 Slide 1 Modeling and Evaluating Variable Bit rate Video Steaming for ax Date: Authors:
Design and Implementation of HTTP-Gnutella Gateway Baoning Wu (baw4) Wei Zhang (wez5) CSE Department Lehigh University.
Ahmed Mansy, Mostafa Ammar (Georgia Tech) Bill Ver Steeg (Cisco)
Dynamic Adaptive Streaming over HTTP2.0. What’s in store ▪ All about – MPEG DASH, pipelining, persistent connections and caching ▪ Google SPDY - Past,
Performance analysis and Capacity planning of Home LAN Mobile Networks Lab 4
Presented by Santhi Priya Eda Vinutha Rumale.  Introduction  Approaches  Video Streaming Traffic Model  QOS in WiMAX  Video Traffic Classification.
CPSC Characteristics of Streaming Media Stored on the Web M. Li, M. Claypool, R. Kinicki, and J. Nichols To appear in ACM Transactions on Internet.
Receiver-driven Layered Multicast S. McCanne, V. Jacobsen and M. Vetterli SIGCOMM 1996.
Efficient Streaming for Delay-tolerant Multimedia Applications Saraswathi Krithivasan Advisor: Prof. Sridhar Iyer.
A Peer-to-Peer On-Demand Streaming Service and Its Performance Evaluation Presenter: Nera Liu Author: Yang Guo, Kyoungwon Suh, Jim Kurose and Don Towsley.
Application, Network and Link Layer Measurements of Streaming Video over a Wireless Campus Network Passive & Active Measurement Workshop 05 Boston, MA,
Fresh Analysis of Streaming Media Stored on the Web Rabin Karki M.S. Thesis Presentation Advisor: Mark Claypool Reader: Emmanuel Agu 10 Jan, 2011.
Performance Analysis of Orb Rabin Karki and Thangam V. Seenivasan 1.
1 Modeling and Emulation of Internet Paths Pramod Sanaga, Jonathon Duerig, Robert Ricci, Jay Lepreau University of Utah.
Rheeve: A Plug-n-Play Peer- to-Peer Computing Platform Wang-kee Poon and Jiannong Cao Department of Computing, The Hong Kong Polytechnic University ICDCSW.
Performance Analysis of the Intertwined Effects between Network Layers for g Transmissions Wireless Multimedia Networking and Performance Modeling.
Network Coding for Large Scale Content Distribution Christos Gkantsidis Georgia Institute of Technology Pablo Rodriguez Microsoft Research IEEE INFOCOM.
Service Differentiated Peer Selection An Incentive Mechanism for Peer-to-Peer Media Streaming Ahsan Habib, Member, IEEE, and John Chuang, Member, IEEE.
1 Traffic Sensitive Quality of Service Controller Masters Thesis Submitted by :Abhishek Kumar Advisors: Prof Mark Claypool Prof Robert Kinicki Reader:
Data Provisioning Services for mobile clients by Mustafa Ergen Authors: Mohit Agarwal and Anuj Puri Berkeley WOW Group University.
Traffic Sensitive Active Queue Management - Mark Claypool, Robert Kinicki, Abhishek Kumar Dept. of Computer Science Worcester Polytechnic Institute Presenter.
A Distributed Proxy Server for Wireless Mobile Web Service Kisup Kim, Hyukjoon Lee, and Kwangsue Chung Information Network 2001, 15 th Conference.
Scalable Live Video Streaming to Cooperative Clients Using Time Shifting and Video Patching Meng Guo and Mostafa H. Ammar INFOCOM 2004.
Performance Comparison of Congested HTTP/2 Links Brian Card, CS /7/
Peer-to-peer Multimedia Streaming and Caching Service by Won J. Jeon and Klara Nahrstedt University of Illinois at Urbana-Champaign, Urbana, USA.
Application Layer  We will learn about protocols by examining popular application-level protocols  HTTP  FTP  SMTP / POP3 / IMAP  Focus on client-server.
Performance Analysis of the Intertwined Effects between Network Layers for g Transmissions Wireless Multimedia Networking and Performance Modeling.
RTSP Real Time Streaming Protocol
Exploring VoD in P2P Swarming Systems By Siddhartha Annapureddy, Saikat Guha, Christos Gkantsidis, Dinan Gunawardena, Pablo Rodriguez Presented by Svetlana.
Providing Controlled Quality Assurance in Video Streaming across the Internet Yingfei Dong, Zhi-Li Zhang and Rohit Rakesh Computer Networking and Multimedia.
Chapter 4. After completion of this chapter, you should be able to: Explain “what is the Internet? And how we connect to the Internet using an ISP. Explain.
CORE KAIST EECS Computer Engineering Research Lab A General Purpose Proxy Filtering Mechanism Applied to the Mobile Environment Bruce Zenel Jupyung Lee.
Brierley 1 Module 4 Module 4 Introduction to LAN Switching.
1 BitHoc: BitTorrent for wireless ad hoc networks Jointly with: Chadi Barakat Jayeoung Choi Anwar Al Hamra Thierry Turletti EPI PLANETE 28/02/2008 MAESTRO/PLANETE.
Module 4: Designing Routing and Switching Requirements.
2: Application Layer1 Chapter 2 outline r 2.1 Principles of app layer protocols r 2.2 Web and HTTP r 2.3 FTP r 2.4 Electronic Mail r 2.5 DNS r 2.6 Socket.
Resilient Peer-to-Peer Streaming Presented by: Yun Teng.
Mohamed Hefeeda 1 School of Computing Science Simon Fraser University, Canada Video Streaming over Cooperative Wireless Networks Mohamed Hefeeda (Joint.
An Efficient Approach for Content Delivery in Overlay Networks Mohammad Malli Chadi Barakat, Walid Dabbous Planete Project To appear in proceedings of.
Computer Networks Performance Metrics. Performance Metrics Outline Generic Performance Metrics Network performance Measures Components of Hop and End-to-End.
Chapter 6 outline r 6.1 Multimedia Networking Applications r 6.2 Streaming stored audio and video m RTSP r 6.3 Real-time Multimedia: Internet Phone Case.
A Measurement Based Memory Performance Evaluation of High Throughput Servers Garba Isa Yau Department of Computer Engineering King Fahd University of Petroleum.
Packet Dispersion in IEEE Wireless Networks Mingzhe Li, Mark Claypool and Bob Kinicki WPI Computer Science Department Worcester, MA 01609
Cisco 3 – Switching Concepts Perrine. J Page 16/1/2016 Module 4 The use of bridges and switches for segmentation results in ____? 1.Multiple broadcast.
NETWORK HARDWARE AND SOFTWARE MR ROSS UNIT 3 IT APPLICATIONS.
1 Measuring Congestion Responsiveness of Windows Streaming Media James Nichols Advisors: Prof. Mark Claypool Prof. Bob Kinicki Reader: Prof. David Finkel.
OPERETTA: An Optimal Energy Efficient Bandwidth Aggregation System Karim Habak†, Khaled A. Harras‡, and Moustafa Youssef† †Egypt-Japan University of Sc.
03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Streaming 1.
Internet multimedia: simplest approach audio, video not streamed: r no, “pipelining,” long delays until playout! r audio or video stored in file r files.
Adaptive Content-Aware Scaling for Improved Video Streaming. Avanish Tripathi Advisor: Mark Claypool Reader: Bob Kinicki.
Development of a QoE Model Himadeepa Karlapudi 03/07/03.
CCNA3 Module 4 Brierley Module 4. CCNA3 Module 4 Brierley Topics LAN congestion and its effect on network performance Advantages of LAN segmentation in.
09/13/04 CDA 6506 Network Architecture and Client/Server Computing Peer-to-Peer Computing and Content Distribution Networks by Zornitza Genova Prodanoff.
Whirlwind Tour Of Lectures So Far
Packet Switching Outline Store-and-Forward Switches
H.264/SVC Video Transmission Over P2P Networks
Mohammad Malli Chadi Barakat, Walid Dabbous Alcatel meeting
Multipath QUIC: Design and Evaluation
ECF: an MPTCP Scheduler to Manage Heterogeneous Paths
Performance and Scalability Issues of Multimedia Digital Library
Packet Switching Outline Store-and-Forward Switches
Design and Implementation of OverLay Multicast Tree Protocol
Presentation transcript:

CStream: Neighborhood Bandwidth Aggregation For Better Video Streaming Thangam Vedagiri Seenivasan Advisor: Mark Claypool Reader: Robert Kinicki 1 M.S. Thesis Presentation

Motivation Increasing popularity of video streaming Clients still have limited Internet bandwidth Dialup, DSL 3G 128 Kbps to 3 Mbps384 Kbps to 2 Mbps Video streaming still a challenge 2 [Cisco survey 09’] High definition videos Encoding rate: 8 Mbps to 20 Mbps Video traffic Other traffic [Internet traffic]

Motivation High density of Internet connections Potential unused bandwidth most of the time 3 even in this room!! Idle users = spare bandwidth

Motivation Devices have multiple network interfaces Device can connect to nearby nodes at the same time it is connected to Internet Can form ad-hoc networks 4

CStream – Collaborative Streaming Aggregates bandwidth from multiple clients in a neighborhood for video streaming Internet CStream Video Server CStream Video Player Frame 2 Frame 3 Frame 1 5

Related Work Download Accelerators [Rodriguez et al. 00’] – Multiple connections to mirrored servers Multi-homing [Chebrolu et al. 06’] – Multi-homed devices, with multiple interfaces – Aggregate bandwidth from multiple interfaces COMBINE [Ananthanarayanan et al. 07’] – Aggregate bandwidth in phones for HTTP download of large files Link Alike [Jakubczak et al. 08’] – Improve client upload capacity for file transfer 6

Outline Motivation Challenges Design Implementation Evaluation Future Work Conclusion 7

Challenges Neighbor discovery and maintenance – Find and connect to neighbors – Updated knowledge of neighbor status Multi-path streaming – Stream through multiple nodes – Frame distribution across links – Effectively utilize available bandwidth 8

Challenges Handle dynamically changing neighborhood – Adapt to neighbors joining and leaving – Use the bandwidth of new neighbors joining – Tolerant to neighbors leaving abruptly Buffering and Playing – Buffering mechanism – Discard late frames (I-policy) or Wait for late frames (E-policy) 9

Outline Motivation Challenges Design Implementation Evaluation Future Work Conclusion 10

Design Video Database Neighbor Manager Helper Manager Proxy Video Plan Manager Buffer Manager Video Player Frame DistributorPlan Handler UpdateFrames Wireless ad-hoc network Video query Plan Video Neighbor Client 11 Plan Meta data Request I-CAN-HELP Video Server

Client Neighbor manager – Keeps updated knowledge of active neighbors – Informs the Video Plan Manager about change in neighborhood – Receives frames from the neighbor and forwards to the Buffer Manager Video Plan Manager – Informs the server about the active neighbors (IP Address, Port to stream) - streaming plan – Dynamically updates streaming plan based on input from Neighbor Manager 12 Neighbor Manager Video Plan Manager Buffer Manager Video Player UpdateFrames Neighbor Manager Video Plan Manager

Buffer Manager – Receives frames from the server – Receives frames from the neighbor through the Neighbor Manager – Maintains playout buffer Video Player – Extracts frames from the Buffer Manager and plays it – Implements E-policy (wait for late frames) 13 Client Neighbor Manager Video Plan Manager Buffer Manager Video Player UpdateFrames Neighbor Manager Video Plan Manager Buffer Manager Video Player

Design Video Database Neighbor Manager Helper Manager Proxy Video Plan Manager Buffer Manager Video Player Frame DistributorPlan Handler UpdateFrames Wireless ad-hoc network Video query I-CAN-HELP Plan Video Neighbor Client 14 Plan Video Server

Neighbor Proxy – Receives frames from the server – Sends to the client Helper Manager – Sends periodic I-CAN-HELP messages that it is willing to collaborate – Stops when there is user and network activity 15 Helper Manager Proxy Helper Manager

Design Video Database Neighbor Manager Helper Manager Proxy Video Plan Manager Buffer Manager Video Player Frame DistributorPlan Handler UpdateFrames Wireless ad-hoc network Video query Plan Video Server Neighbor Client 16 Plan I-CAN-HELP

Video Server Frame Distributor – Runs a frame assignment module – Sends assigned frames to client and neighbors – Assignment adapts to the bandwidth of each client Plan Handler – Receives dynamic plan about active neighbors from the client – Updates the Frame Distributor to adapt streaming to the changing neighborhood 17 Video Database Frame DistributorPlan Handler Plan Video Frame Distributor Plan Handler

Outline Motivation Challenges Design Implementation Evaluation Future Work Conclusion 18

Implementation Neighbor Management Frame Distribution Adapting to changing neighborhood – Neighbor joining – Neighbor leaving Buffering and Playing 19

Neighbor Management SSID: CStream Ad-hoc network I-CAN-HELP Plan 20 Video Server Client REQUEST Frames

Frame Distribution Frames Thread - N1Thread - C Thread - N2 5 5 TCP 6 6 Neighbors N1 and N

22 Neighbor Joining

Frames Thread - N1Thread - C Thread - N2 5 5 TCP Thread – N3 7 7 New neighbor N

24 Neighbor Leaving

Frames Thread - N1Thread - C Thread - N2 5 5 TCP Thread – N3 Neighbor N1 left Last Frame Received CStream is fault-tolerant

Buffering Policy (E-policy) Initial Buffering before first frame played – Playout buffer: n seconds (2 sec in our implementation) – Wait till (n * encodedFrameRate) frames buffered Stop and Rebuffering – frame to be played, not arrived Resume video after rebuffering – 2 seconds of frames from the current frame to be played received 26

Outline Motivation Challenges Design Implementation Evaluation Future Work Conclusion 27

CStream Built the complete system – Video Server, Neighbor, Client Video Player C#.NET – 3000 lines of code AVI Video Library – Extract frame by frame from avi files 28 [C. John, CodeProject]

Experimental Setup BRIDGE SERVER Netem, CBQ CLIENT NEIGHBOR WPI LAN Ad-hoc network Ethernet 29

Experiment Parameters Bandwidth from the video server – Class based queuing discipline, Netem – 250 Kbps, 500 Kbps, 1 Mbps, 2 Mbps, 3 Mbps, 5 Mbps – Equal bandwidth, Unequal bandwidth for nodes Number of neighbor nodes – 0, 1, 2 Location of neighbor nodes – Signal Strength: Excellent, Good, Weak Video Content – Short Video – Long Video 30

Video Content Short Video cartoon_dog.avi Long Video foreman.avi Length8 seconds33 seconds Size10 MB26 MB Encoded bitrate10Mbps6.3Mbps Frames per second1512 Average Frame Size85 KB68 KB Total Frames Resolution320×240176×144 31

Performance Metrics Aggregate Throughput (Kbps) – Application throughput at the client node Playout Time – Total time to play the entire video Startup Delay – Time taken to play the first frame Rebuffer Events – Number of stop and buffer events Frame Distribution – Contribution of each node vs. ratio of bandwidth 32

Throughput (Short Video) Per Host Capacity Constraint 33 Almost 2x improvement with 1 neighbor Almost 3x improvement with 2 neighbors Almost 2x improvement with 1 neighbor Almost 3x improvement with 2 neighbors Client and Neighbors have same bandwidth Neighbors had excellent signal strength to the client

Throughput (Long Video) Per Host Capacity Constraint 34 Client and Neighbors have same bandwidth Neighbors had excellent signal strength to the client

Playout Time 35

Startup Delay 36

Rebuffer Events Bandwidth Neighbors Kbps Kbps Mbps Mbps Mbps Mbps Maximum Rebuffer Events - 15 Need three 3 Mbps links or two 5Mbps links to stream without rebuffering Need three 3 Mbps links or two 5Mbps links to stream without rebuffering

Frame Distribution ExpectedActualExpectedActualExpectedActualExpectedActual Client – 2 Mbps Neighbor– 2 Mbps Client– 2 Mbps Neighbor– 1 Mbps Client– 2 Mbps Neighbor1 – 2 Mbps Neighbor2– 2 Mbps Client – 3 Mbps Neighbor1– 2 Mbps Neighbor2 – 1 Mbps 38

Short Video – 0 Neighbors 39 Experiment Client – 2 Mbps

Short Video – 1 Neighbor 40 Experiment Client – 2 Mbps Neighbor1 – 2 Mbps

Short Video – 2 Neighbors 41 Experiment Client – 2 Mbps Neighbor1 – 2 Mbps Neighbor2 – 2Mbps

Neighbors Joining 1 st Neighbor joined 2 nd Neighbor joined Experiment: Long Video, Client – 2 Mbps, Neighbor1 – 2 Mbps, Neighbor2 – 2 Mbps kbps 3576 kbps 5747 kbps

Neighbor Leaving 1 st Neighbor left 43 2 nd Neighbor left 5653 kbps 3773 kbps 1781kbps Experiment: Long Video, Client – 2 Mbps, Neighbor1 – 2 Mbps, Neighbor2 – 2 Mbps

Neighbor Joining and Leaving 44 Experiment Client – 3 Mbps Neighbor1 – 3 Mbps

Impact of Wireless 45 Wireless Signal Strength Excellent Iperf – 13 Mbps Good Iperf – 980 Kbps Poor Iperf – 520 Kbps Bandwidth contributed by Neighbor Min (Internet Bandwidth, Wireless Bandwidth) = Experiment Client – 2 Mbps Neighbor1 – 2 Mbps

Future Work Better frame distribution algorithm – Solve out of order frame reception Other video types (MPEG) Include audio stream Extend CStream to support video scaling CStream system for smart phones – Aggregate the 3G internet bandwidth 46

Conclusion Designed and built CStream – Aggregate bandwidth from neighbors for better video streaming Effectively utilizes available bandwidth Dynamically handles changes in neighborhood Detailed evaluation – Throughput, Playout Time, Startup Delay, Rebuffer Events, Frame Distribution 47

48 Thank You Questions?

Backup 49

Short Video 50

Throughput Per Host Capacity Constraint 51

Playout Time 52

Startup Delay 53

Rebuffer Events Bandwidth Neighbors Kbps Kbps333 1 Mbps332 2 Mbps321 3 Mbps Mbps210 Maximum Rebuffer Events

Frame Distribution ExpectedActualExpectedActualExpectedActualExpectedActual Client – 2 Mbps Neighbor– 2 Mbps Client– 2 Mbps Neighbor– 1 Mbps Client– 2 Mbps Neighbor1 – 2 Mbps Neighbor2– 2 Mbps Client – 3 Mbps Neighbor1– 2 Mbps Neighbor2 – 1 Mbps 55