Simulation case studies J.-F. Pâris University of Houston.

Slides:



Advertisements
Similar presentations
Broadcast on Demand in BFWA networks (IST EMBRACE) John R Norbury.
Advertisements

ARC: A SELF-TUNING, LOW OVERHEAD REPLACEMENT CACHE
Z-MAC: a Hybrid MAC for Wireless Sensor Networks Injong Rhee, Ajit Warrier, Mahesh Aia and Jeongki Min Dept. of Computer Science, North Carolina State.
Scalable On-demand Media Streaming Anirban Mahanti Department of Computer Science University of Calgary Canada T2N 1N4.
LOGO Video Packet Selection and Scheduling for Multipath Streaming IEEE TRANSACTIONS ON MULTIMEDIA, VOL. 9, NO. 3, APRIL 2007 Dan Jurca, Student Member,
Slice–and–Patch An Algorithm to Support VBR Video Streaming in a Multicast– based Video–on–Demand System.
Scalable On-demand Media Streaming with Packet Loss Recovery Anirban Mahanti Department of Computer Science University of Calgary Calgary, AB T2N 1N4 Canada.
CHAINING COSC Content Motivation Introduction Multicasting Chaining Performance Study Conclusions.
1 “Multiplexing Live Video Streams & Voice with Data over a High Capacity Packet Switched Wireless Network” Spyros Psychis, Polychronis Koutsakis and Michael.
Efficient and Flexible Parallel Retrieval using Priority Encoded Transmission(2004) CMPT 886 Represented By: Lilong Shi.
June 3, 2015Windows Scheduling Problems for Broadcast System 1 Amotz Bar-Noy, and Richard E. Ladner Presented by Qiaosheng Shi.
Harmonic Broadcasting for Video-on- Demand Service Enhanced Harmonic Data Broadcasting And Receiving Scheme For Popular Video Service Li-Shen Juhn and.
1 A Comparative Study of Periodic Broadcasting Scheme for Large-Scale Video Streaming Prepared by Nera Liu.
Constrained Consonant Broadcasting- A Generalized Periodic Broadcasting Scheme for Large Scale Video Streaming W. C. Liu and Jack Y. B. Lee Department.
An Efficient Implementation of Interactive Video-on-Demand Steven Carter and Darrell Long University of California, Santa Cruz Jehan-François Pâris University.
Client Buffering Techniques for Scalable Video Broadcasting Over Broadband Networks With Low User Delay S.-H. Gary Chan and S.-H. Ivan Yeung, IEEE Transactions.
1 A Low Bandwidth Broadcasting Protocol for Video on Demand J. Paris, S. W. Carter, D. D. E. Long In Proceedings of ICCCN, 1998.
1 Buddy Internet Exchange LYU0701 Supervisor: Professor Michael R. Lyu Prepared By: Kwong Kwok Wai Chan Kwan Ho
1 Adaptive Live Broadcasting for Highly-Demanded Videos Hung-Chang Yang, Hsiang-Fu Yu and Li-Ming Tseng IEEE International Conference on Parallel and Distributed.
End-to-End Analysis of Distributed Video-on-Demand Systems Padmavathi Mundur, Robert Simon, and Arun K. Sood IEEE Transactions on Multimedia, February.
Analysis of Using Broadcast and Proxy for Streaming Layered Encoded Videos Wilson, Wing-Fai Poon and Kwok-Tung Lo.
Periodic Broadcasting with VBR- Encoded Video Despina Saparilla, Keith W. Ross and Martin Reisslein (1999) Prepared by Nera Liu Wing Chun.
VCR-oriented Video Broadcasting for Near Video-On- Demand Services Jin B. Kwon and Heon Y. Yeon Appears in IEEE Transactions on Consumer Electronics, vol.
An adaptive video multicast scheme for varying workloads Kien A.Hua, JungHwan Oh, Khanh Vu Multimedia Systems, Springer-Verlag 2002.
An Active Buffer Management Technique for Providing Interactive Functions in Broadcast Video-on-Demand Systems Zongming Fei, Member, IEEE, Mostafa H. Ammar,
Scalable On-Demand Media Streaming With Packet Loss Recovery Anirban Mahanti, Derek L. Eager, Mary K. Vernon, and David J. Sundaram-Stukel IEEE/ACM Trans.
Prefix Caching assisted Periodic Broadcast for Streaming Popular Videos Yang Guo, Subhabrata Sen, and Don Towsley.
HHMSM: A Hierarchical Hybrid Multicast Stream Merging Scheme For Large-Scale Video-On-Demand Systems Hai Jin and Dafu Deng Huazhong University of Science.
Distributed Multimedia Streaming over Peer-to-Peer Network Jin B. Kwon, Heon Y. Yeom Euro-Par 2003, 9th International Conference on Parallel and Distributed.
End-to-End Analysis of Distributed Video-on-Demand Systems P. Mundur, R. Simon, and A. K. Sood IEEE Transactions on Multimedia, Vol. 6, No. 1, Feb 2004.
7C Cimini-9/97 RANDOM ACCESS TECHNIQUES ALOHA Efficiency Reservation Protocols Voice and Data Techniques - PRMA - Variable rate CDMA.
A Fixed-Delay Broadcasting Protocol for Video-on-Demand Jehan-Francois Paris Department of Computer Science University of Houston A Channel-Based Heuristic.
A Server-less Architecture for Building Scalable, Reliable, and Cost-Effective Video-on-demand Systems Presented by: Raymond Leung Wai Tak Supervisor:
Performance Evaluation of Peer-to-Peer Video Streaming Systems Wilson, W.F. Poon The Chinese University of Hong Kong.
Fast broadcasting scheme(FB) In FB scheme, we divide a movie into 2 k - 1 segments, k channels is needed. S = S 1 · S 2 · S 3 · S 4 · S 5 · S 6 · S 7 Waiting.
Smooth Workload Adaptive Broadcast Yang Guo, Lixin Gao Don Towsley, Subhabrata Sen IEEE TRANSACTIONS ON MULTIMEDIA, APRIL 2004.
A New Broadcasting Technique for An Adaptive Hybrid Data Delivery in Wireless Mobile Network Environment JungHwan Oh, Kien A. Hua, and Kiran Prabhakara.
A Hybrid Caching Strategy for Streaming Media Files Jussara M. Almeida Derek L. Eager Mary K. Vernon University of Wisconsin-Madison University of Saskatchewan.
Limiting the client bandwidth of broadcasting protocols for video on demand Jehan-Francois Paris and Darrell D.E. Long Proceedings of the Euromedia 2000.
Design of an Interactive Video- on-Demand System Yiu-Wing Leung, Senior Member, IEEE, and Tony K. C. Chan IEEE Transactions on multimedia March 2003.
A Scalable Video-On-Demand System Using Multi-Batch Buffering Techniques Cyrus C. Y. Choi and Mounir Hamdi, Member, IEEE IEEE ‘03 Transactions on Broadcasting.
Schemes for Video on demand Yuan-Shiang Yeh. Outline Introduction Previous Works Study Buffer Requirement Channel Adjustment Bandwidth reduction in multi-layer.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 34 – Media Server (Part 3) Klara Nahrstedt Spring 2012.
CMPT771 Presentation Xu Cheng Internet Protocol Television (IPTV)
Exploiting Virtualization for Delivering Cloud based IPTV Services Speaker : 吳靖緯 MA0G IEEE Conference on Computer Communications Workshops.
1 Proxy-Assisted Techniques for Delivering Continuous Multimedia Streams Lixin Gao, Zhi-Li Zhang, and Don Towsley.
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.
Research on cloud computing application in the peer-to-peer based video-on-demand systems Speaker : 吳靖緯 MA0G rd International Workshop.
Feb. 22, 2005 EuroIMSA A Hybrid Video Streaming Scheme on Hierarchical P2P Networks * Shinsuke Suetsugu Naoki Wakamiya, Masayuki Murata Osaka University,
E0262 MIS - Multimedia Playback Systems Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India.
An Analysis of Chaining Protocols for Video-on-Demand J.-F. Pâris University of Houston Thomas Schwarz, S. J. Universidad Católica del Uruguay.
DELAYED CHAINING: A PRACTICAL P2P SOLUTION FOR VIDEO-ON-DEMAND Speaker : 童耀民 MA1G Authors: Paris, J.-F.Paris, J.-F. ; Amer, A. Computer.
CPSC 441: Multimedia Networking1 Outline r Scalable Streaming Techniques r Content Distribution Networks.
Switching breaks up large collision domains into smaller ones Collision domain is a network segment with two or more devices sharing the same Introduction.
1 Multicast Algorithms for Multi- Channel Wireless Mesh Networks Guokai Zeng, Bo Wang, Yong Ding, Li Xiao, Matt Mutka Michigan State University ICNP 2007.
The Performance of Spin Lock Alternatives for Shared-Memory Multiprocessors THOMAS E. ANDERSON Presented by Daesung Park.
جلسه یازدهم شبکه های کامپیوتری به نــــــــــــام خدا.
An Overview of the Aloha protocols J.-F. Pâris University of Houston.
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.
Review Session Jehan-François Pâris. Agenda Statistical Analysis of Outputs Operational Analysis Case Studies Linear Regression.
Scheduling Techniques for Media-on-Demand Amotz Bar-Noy Brooklyn College Richard Ladner Tami Tamir University of Washington.
Scalable video distribution techniques Laurentiu Barza PLANETE project presentation: Sophia Antipolis 12 October 2000.
1 Scheduling Techniques for Broadcasting Popular Media. Amotz Bar-Noy Brooklyn College Richard Ladner Tami Tamir University of Washington.
Cost-Effective Video Streaming Techniques Kien A. Hua School of EE & Computer Science University of Central Florida Orlando, FL U.S.A.
INTERNET PROTOCOL TELEVISION (IP-TV)
The Impact of Replacement Granularity on Video Caching
Video on Demand (VoD) March, 2003
5.2 Eleven Advanced Optimizations of Cache Performance
Video On Demand.
INTERNET PROTOCOL TELEVISION (IP-TV)
Presentation transcript:

Simulation case studies J.-F. Pâris University of Houston

Introduction We will discuss several simulation studies Dynamic Heuristic Broadcasting protocol Stream tapping

A HYBRID DYNAMIC BROADCASTING PROTOCOL FOR VIDEO-ON-DEMAND S. R. Carter, J.-F. Pâris, S. Mohan University of Houston D. D. E. Long University of California, Santa Cruz

OUTLINE Video-on-demand Video distribution protocols Stream tapping Broadcasting protocols Dynamic broadcasting The dynamic heuristic broadcasting protocol How we simulated it

VIDEO-ON-DEMAND A great idea: Watching at home the video of your choice at the time of your choice Still too expensive to compete with video rentals or pay-per-view Primary cost factor is very high bandwidth requirements of service 5 Mbits/sec for a video in MPEG-2 format

What can be done? Many user requests to the same video will overlap Should try to share as many data as possible Requires a set-top box (STB) that can Receive data from several channels in parallel Store data that arrive out of sequence in a buffer (disk drive)

A hard drive in each STB? “Digital VCRs” can store hours of TV programming on a hard drive: TiVo Replay Ultimate TV Owners of these digital VCRs are likely to be among early adopters of VOD services

VIDEO DISTRIBUTION PROTOCOLS Attempt to minimize server and network bandwidth Require a “smart” STB with a large buffer Three approaches Reactive Protocols:Stream Tapping Proactive Protocols: Broadcasting Hybrid Protocols: Dynamic Broadcasting

Broadcasting Most of the demand is for the 20 most popular videos Simplest solution is to schedule staggered broadcasts of each popular video Solution does not require any changes to the customer set-top box (STB) To achieve a maximum delay d for a video of duration D, we need D/d streams

Broadcasting Protocols Require much less bandwidth than plain staggered broadcasting to achieve the same waiting time Can provide much smaller waiting times Have much smaller bandwidth requirements Transmit different segments of the video at different rates on different streams

Fast Broadcasting Uses fixed-size segments Stream 1 continuously repeats segment S 1 Stream 2 continuously repeats segments S 2 and S 3 Stream j continuously repeats segments S 2 j-1 to S 2 j -1 Any segment S i is repeated at least once every i slots

S5S5 The first three streams Stream 3: S4S4 S7S7 S6S6 S5S5 S7S7 S4S4 S6S6 S4S4 S5S5 S1S1 Stream 1: S1S1 S1S1 S1S1 S1S1 S1S1 S1S1 S1S1 S1S1 S1S1 bandwidth b Stream 2: S2S2 S3S3 S2S2 S3S3 S2S2 S3S3 S3S3 S3S3 S2S2 S2S2 bandwidth b

New Pagoda Broadcasting Uses fixed-size segments Has bandwidth requirements comparable to those of most sophisticated protocols Key idea is to schedule segments As frequently as needed but Not more than that Uses a more complex segment-to-stream mapping

The first three streams S1S1 Stream 1: Stream 3: Stream 2: S4S4 S5S5 S4S4 S1S1 S1S1 S1S1 S1S1 S1S1 S1S1 S1S1 S1S1 S4S4 S5S5 S1S1 S2S2 S2S2 S2S2 S2S2 S2S2 S3S3 S3S3 S3S3 S3S3 S6S6 S6S6 S7S7 S8S8 S8S8 S9S9 bandwidth b

Dynamic Broadcasting Stream tapping works best when request arrival rates remains 10 accesses/hour Broadcasting protocols make more sense when request arrival rates exceed 20 to 40 accesses/hour Video popularity is bound to vary with the time of day We need distribution protocols that work well at all request arrival rates

The UD Protocol The universal distribution protocol (UD) Based on the fast broadcasting protocol Transmits segments on demand Has same bandwidth requirements as stream tapping at low arrival rates Has same bandwidth requirements as fast broadcasting at high arrival rates

The First Three Streams Server only schedules the segments that cannot be shared with a previous request

The Problem UD protocol performs As well as stream tapping at low request arrival rates Worse than NPB at high arrival rates We want a dynamic protocol performing as well as NPB at high arrival rate

DYNAMIC HEURISTIC BROADCASTING We tried first a dynamic version of NPB Protocol performed poorly at low request arrival rates Dynamic heuristic broadcasting: Allocates segment transmissions on the fly Uses a heuristic to avoid sudden bandwidth peaks

The Protocol Assume a request arrives during slot t Basic idea is for segment s := 1 to n_segments do if no segment s in slots t+1 to t+s then transmit s in slot t+s end if end loop

Example Assume three requests for a video with seven segments Each segment can be assigned to any channel

Avoiding bandwidth peaks When the video is in high demand segment s will be repeated exactly once every s slots Slot k! will contains transmissions of segments 1 to k To eliminate these peaks, we will schedule some segments slightly ahead of time Slightly less efficient

Example slot selected by DHB last possible slot for segment S k

The DHB Protocol if one or more requests have arrived then for s := 1 to n_segments do if s not already in any slot from t+1 to t+s then n min := min {n(k) | t+1  k  t+s} k max := max{k | k  t+s and n(k)=n min } transmit s in slot k max end if end loop end if

The trick Prob [one or more arrivals] is equal to 1 - Prob[no arrival] = 1-exp(-λd) where λ is the request arrival rate D is the slot duration

STREAM TAPPING

Stream Tapping Clients will “tap” into any other stream showing the same video Video server will send to each client only what could not be obtained from the tap Requires a set-top box than can: Receive data from more than one video stream at a time Store at least 10 minutes of video

How it works New “Tap” from 1 st request 1 st request for the video: 2 nd request :

Full tap Tap Optimization Extra tapping allows STB to tap tap streams in addition to original streams Requires a STB capable of receiving data from more than two streams Extra tap Extra

Limitations Stream works best when request arrival rate does not exceed ten requests per hour Not indicated for distributing popular videos over a large metropolitan area Extra tapping requires a STB capable of receiving data from at lest three channels Increases the STB cost

OUR SOLUTION Stream tapping with partial preloading Stream tapping works very well at low to moderate request arrival rates We preload in the customer STB the first few minutes of the “hottest” videos Very good performance at high to very high request arrival rate We limit client bandwidth to two channels

How it works (I) Protocol preloads in customer STB first D PP minutes of top 10 to 20 videos When first request arrives, server schedules a complete stream in D PP minutes D pp Request arrives Complete stream D pp

Requests arriving within D PP minutes of first request share the same complete stream No impact on server workload How it works (II) Complete stream D PP D pp

Requests arriving more than D PP minutes after first request “tap” the complete stream D pp How it works (III) Complete stream D PP Missed Tap

Requests arriving less than D PP minutes of after a full tap will use extra tapping D pp How it works (IV) Complete stream From tap Tap Extra Tap No

First request arriving more than D PP minutes after last full tap will start a new full tap D pp How it works (V) Missed Complete stream Tap New Tap

As tapping become less and less efficient, server decides to start a new complete stream Protocol imposes a maximum duration  to all full taps (35 minutes in our experiments) How it works (VI) Complete stream D pp New complete stream

Partial preloading Have one dedicated channel broadcasting initial segments of all top videos Could also use server dead times or some form of STB snooping In both cases, STB should be permanently turned on

Simulator organization (I) for i = 1; i <= maxarrivals; i++) { clock += exponential(rate); if (clock >= lastfullstart + duration) { tap = "no"; } else { tapduration = clock -lastfullstart; newtotalbatchbw = totalbatchbw + tapduration; newavgbatchbw = newtotalbatchbw / (batchsize + 1);

Simulator organization (II) if (newavgbatchbw > coefficient*minavgbatchbw) { tap = "no"; } else { tap = "yes"; } // inner if... else } // outer if... else

Simulator organization (III) if (tap eq "no") { lastfullstart = clock; minavgbatchbw = avgbatchbw = totalbatchbw = duration; batchsize = 1; totalbw += duration; } else {

Simulator organization (IV) batchsize++; totalbatchbw = newtotalbatchbw; avgbatchbw = totalbatchbw / batchsize; if (avgbatchbw < minavgbatchbw) { minavgbatchbw = avgbatchbw; } // inner if totalbw += tapduration; } // 2nd outer if... else } // for each

Comments Implementing extra tapping was hard Did only a partial implementation Could tap full taps but not taps of full taps