CS 414 - Spring 2012 CS 414 – Multimedia Systems Design Lecture 34 – Media Server (Part 3) Klara Nahrstedt Spring 2012.

Slides:



Advertisements
Similar presentations
CS 414 – Multimedia Systems Design Lecture 26 – Media Server (Part 2)
Advertisements

Class-constrained Packing Problems with Application to Storage Management in Multimedia Systems Tami Tamir Department of Computer Science The Technion.
Presentation of M.Sc. Thesis Work Presented by: S. M. Farhad [ P] Department of Computer Science and Engineering, BUET Supervised by: Dr. Md. Mostofa.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 28 – Media Server (Part 3) Klara Nahrstedt Spring 2009.
Continuous Media 1 Differs significantly from textual and numeric data because of two fundamental characteristics: –Real-time storage and retrieval –High.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 14 – Introduction to Multimedia Resource Management Klara Nahrstedt Spring 2012.
Multimedia Systems As Presented by: Craig Tomastik.
Chapter 20: Multimedia Systems Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 20: Multimedia Systems What is Multimedia.
Optimization of Data Caching and Streaming Media Kristin Martin November 24, 2008.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Chapter 20: Multimedia Systems.
Scalable On-demand Media Streaming with Packet Loss Recovery Anirban Mahanti Department of Computer Science University of Calgary Calgary, AB T2N 1N4 Canada.
Distributed Multimedia Systems
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 35 – Media Server (Part 4) Klara Nahrstedt Spring 2012.
CHAINING COSC Content Motivation Introduction Multicasting Chaining Performance Study Conclusions.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 15 –QoS Admission, QoS Negotiation, and Establishment of AV Connections Klara Nahrstedt.
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.
Analysis of Using Broadcast and Proxy for Streaming Layered Encoded Videos Wilson, Wing-Fai Poon and Kwok-Tung Lo.
1 Threshold-Based Multicast for Continuous Media Delivery Lixin Gao, Member, IEEE, and Don Towsley, Fellow, IEEE IEEE TRANSACTION ON MULTIMEDIA.
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.
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.
Periodic Broadcast and Patching Services - Implementation, Measurement, and Analysis in an Internet Streaming Video Testbed Michael K. Bradshaw, Bing Wang,
Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution Bing Wang, Subhabrata Sen, Micah Adler, and Don Towsley INFOCOM 2002.
Performance Evaluation of Peer-to-Peer Video Streaming Systems Wilson, W.F. Poon The Chinese University of Hong Kong.
Smooth Workload Adaptive Broadcast Yang Guo, Lixin Gao Don Towsley, Subhabrata Sen IEEE TRANSACTIONS ON MULTIMEDIA, APRIL 2004.
Multicast with Cache (Mcache): An Adaptive Zero-Delay Video-on-Demand Service Sridhar Ramesh, Injong Rhee, and Katherine Guo INFOCOM 2001.
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.
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.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 32 – Media Server (Part 2) Klara Nahrstedt Spring 2012.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 28 – Media Server (Part 4) Klara Nahrstedt Spring 2011.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 28 – Final Comments on DASH and Client-Server Buffer Management Klara Nahrstedt Spring.
XE33OSA Chapter 20: Multimedia Systems. 20.2XE33OSA Silberschatz, Galvin and Gagne ©2005 Chapter 20: Multimedia Systems What is Multimedia Compression.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 29 – Buffer Management (Part 2) Klara Nahrstedt Spring 2012.
Dr. M. Munlin Real-Time and Multimedia Systems 1 NETE0516 Operating Systems Instructor: ผ. ศ. ดร. หมัดอามีน หมัน หลิน Faculty of Information Science and.
CPSC 441: Multimedia Networking1 Outline r Scalable Streaming Techniques r Content Distribution Networks.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Multimedia Systems.
Caching IRT0180 Multimedia Technologies Marika Kulmar
MP 2: Audio/ Video Streaming
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 18 – Multimedia Transport (Part 1) Klara Nahrstedt Spring 2014.
PROP: A Scalable and Reliable P2P Assisted Proxy Streaming System Computer Science Department College of William and Mary Lei Guo, Songqing Chen, and Xiaodong.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 30 – Media Server (Part 5) Klara Nahrstedt Spring 2009.
Improving Disk Throughput in Data-Intensive Servers Enrique V. Carrera and Ricardo Bianchini Department of Computer Science Rutgers University.
NUS.SOC.CS5248 Ooi Wei Tsang 1 Proxy Caching for Streaming Media.
Content caching and scheduling in wireless networks with elastic and inelastic traffic Group-VI 09CS CS CS30020 Performance Modelling in Computer.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 31 – Media Server (Part 1) Klara Nahrstedt Spring 2012.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 31 – Process Management (Part 1) Klara Nahrstedt Spring 2009.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 30 – Final Comments on DASH and Client-Server Buffer Management Klara Nahrstedt Spring.
Multimedia Retrieval Architecture Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia Retrieval Architecture.
Large-Scale and Cost-Effective Video Services CS587x Lecture Department of Computer Science Iowa State University.
Scalable video distribution techniques Laurentiu Barza PLANETE project presentation: Sophia Antipolis 12 October 2000.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 24 – Client-Server Buffer Management Klara Nahrstedt Spring 2011.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 27 – Media Server (Part 2) Klara Nahrstedt Spring 2009.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 17 – QoS Classes and Setup Operations Klara Nahrstedt Spring 2014.
Cost-Effective Video Streaming Techniques Kien A. Hua School of EE & Computer Science University of Central Florida Orlando, FL U.S.A.
Chapter 20: Multimedia Systems
Multimedia Systems Operating System Presentation On
CS 414 – Multimedia Systems Design Lecture 31 – Media Server (Part 5)
Chapter 20: Multimedia Systems
Klara Nahrstedt Spring 2009
Klara Nahrstedt Spring 2012
The Impact of Replacement Granularity on Video Caching
Video On Demand.
Chapter 20: Multimedia Systems
Chapter 20: Multimedia Systems
Chapter 20: Multimedia Systems
Chapter 20: Multimedia Systems
Presentation transcript:

CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 34 – Media Server (Part 3) Klara Nahrstedt Spring 2012

Administrative MP3 deadline April 28, 5pm (Saturday) MP3 presentations  Monday, April 30, 5-7pm CS Spring 2012

Covered Aspects of Multimedia Image/Video Capture Media Server Storage Transmission Compression Processing Audio/Video Presentation Playback Audio/Video Perception/ Playback Audio Information Representation Transmission Audio Capture A/V Playback Image/Video Information Representation CS Spring 2012

Outline VOD Optimization Techniques  Caching  Patching  Batching CS Spring 2012

Media Server Architecture CS Spring 2012 Storage device Disk controller Storage management File System Memory Management (Buffering) Content Distribution Network Attachment Incoming request Delivered data

True Video-On Demand System True VOD: serve thousands of clients simultaneously and allowing service any time (variable access time) Goal: minimize the required resource consumption such as  Server bandwidth (disk I/O and network) – amount of data per time unit sent from server to clients  Client bandwidth – network bandwidth that a client must be able to receive  Client buffer requirements – amount of data client has to be able to temporarily store locally  Start-up delay – time between issuing request for playback and start of playback CS Spring 2012

VOD System Delivery Schemes (to handle large number of clients) Periodic broadcast Data-centered approach Server channel is dedicated to video objects (movie channel) and broadcasting periodically Scheduled multicast User-centered approach Server dedicates channels to individual users When server channel is free, the server selects a batch of clients to multicast according to some scheduling policy Server replication Servers maintaining the same videos are placed in multiple locations in the network Server selection is a main issue CS Spring 2012

Caching for Streaming Media Caching – common technique to enhance scalability of general information dissemination Existing caching schemes are not designed for and do not take advantage of streaming characteristics Need New Caching for Streaming Media CS Spring 2012

Techniques for Increasing Server Capacity Caching  Interval Caching  Frequency Caching Key Point  In conventional systems, caching used to improve program performance  In video servers, caching is used to increase server capacity CS Spring 2012

Caching Read-ahead buffering  Blocks are read and buffered ahead of time they are needed  Early systems assumed separate buffers for each clients Recent systems assume a global buffer cache, where cached data is shared among all clients CS Spring 2012

Caching in Media Servers CS Spring 2012 Source: “preemptive, but safe interval caching for real-time multimedia systems “Lee et al. 2003

Interval Caching This caching exploits sequential nature of multimedia accesses  Two stream accesses S i and S j to the same MM object are defined as consecutive if S i is the stream access that next reads data blocks that have just been read by S j. Such a pair of consecutive streams accesses are referred to as preceding stream and following stream access. Interval caching scheme exploits temporal locality accessing the same MM object, by caching intervals between successive streams accesses (preceding stream and following stream accesses)  The interval caching policy orders all consecutive pairs in terms of increasing memory requirements.  It then allocates memory to as many of consecutive pairs as possible. CS Spring 2012

Interval Caching Memory requirements of intervals are proportional to length of interval and play-out rate of streams involved When interval is cached, following stream does not have to go to disk, since all necessary data are in cache Algorithm:  Order intervals based on increasing space –smaller interval implies smaller time to reaccess  Optimal for homogeneous clients Dynamically adapts to changes in workload CS Spring 2012

Frequency Caching Typical video accesses follow rule (i.e., 80% of requests access 20% of video objects) Cache most frequently accessed video objects Requires large buffer space Not dynamic  frequency determination is based on past history or future estimates/Zipf distribution CS Spring 2012

Taxonomy of Cache Replacement Policies Recency of access: locality of reference Frequency based: hot sets with independent accesses Optimal: knowledge of the time of next access Size-based: different size objects Miss cost based: different times to fetch objects Resource-based: resource usage of different object classes CS Spring 2012

Patching Stream tapping or patching – technique to support true VOD; Patching assumes multicast transmission and clients arriving late to miss the start of main transmission These late clients immediately receive main transmission and store it temporarily in a buffer. In parallel, each client connects to server via unicast and transports (patches) the missing video start which can be shown immediately CS Spring 2012

Types of Patching Greedy Patching  a new main transmission is started only if the old one has reached the end of the video  Clients arriving in between create only patching transmissions Grace Patching  If a new client arrives and the ongoing main transmission is at least T seconds old, then the server automatically starts a new main transmission which plays whole video from the start again. CS Spring 2012

Batching Batching – grouping clients requesting the same video object that arrives within a short duration of time or through adaptive piggy-backing Increasing batching window increases the number of clients being served simultaneously, but also increases reneging probability  reneging time – amount of time after which client leaves VOD service without delivery of video  Increasing minimum wait time increases client reneging Performance metrics: latency, reneging probability and fairness Policies:  FCFS, MQL (Maximum Queue Length), FCFS-n CS Spring 2012

Batching Policies FCFS: schedules the batch whose first client comes earliest, with the aim of achieving some level of fairness Maximum Queue Length: schedules the batch with largest batch size, with the aim of maximizing throughput FCFS-n: schedules the playback of n most popular videos at predefined regular intervals and service the remaining in FCFS order CS Spring 2012

Source: “Selecting among Replicated Batching VOD Servers, Guo et al. 2002

Conclusion The data placement, scheduling, block size decisions, caching are very important for any media server design and implementation. CS Spring 2012