Multimedia/Real-Time Prashanth Reddy. Multimedia and Real-Time Audio and Video – Continuous Media (CM) Graphics – Discrete media CM –High data rates –Timing.

Slides:



Advertisements
Similar presentations
DISTRIBUTED MULTIMEDIA SYSTEMS
Advertisements

Multimedia Systems As Presented by: Craig Tomastik.
MiLAN: Middleware to Support Sensor Network Applications Wendi B. Heinzelman, Amy L. Murphy, Hervaldo S. Carvalho, Mark A. Perillo University of Rochester.
Distributed Multimedia Systems
Requirements on the Execution of Kahn Process Networks Marc Geilen and Twan Basten 11 April 2003 /e.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 15 –QoS Admission, QoS Negotiation, and Establishment of AV Connections Klara Nahrstedt.
Performance Analysis of Orb Rabin Karki and Thangam V. Seenivasan 1.
CMPT 300: Final Review Chapters 8 – Memory Management: Ch. 8, 9 Address spaces Logical (virtual): generated by the CPU Physical: seen by the memory.
Ashish Gupta Under Guidance of Prof. B.N. Jain Department of Computer Science and Engineering Advanced Networking Laboratory.
CAC and Scheduling Schemes for Real-time Video Applications in IEEE Networks Ou Yang UR 10/11/2006.
1 Virtual Private Caches ISCA’07 Kyle J. Nesbit, James Laudon, James E. Smith Presenter: Yan Li.
Quality of Service in IN-home digital networks Alina Albu 7 November 2003.
ECE669 L11: Static Routing Architectures March 4, 2004 ECE 669 Parallel Computer Architecture Lecture 11 Static Routing Architectures.
Load Sharing for Cluster-Based Network Service Jiani Guo and Laxmi Bhuyan Architecture Lab Department of Computer Science and Engineering University of.
Quality of Service in IN-home digital networks Alina Albu 23 October 2003.
LYU9903 QoS Schemes in Wireless Networks Ho Pun Mo Matchman Ng Maggie Supervised by Prof. Michael Lyu.
Behaviour and Performance of Interactive Multi-player Game Servers Ahmed Abdelkhalek, Angelos Bilas, and Andreas Moshovos.
3.5 Interprocess Communication Many operating systems provide mechanisms for interprocess communication (IPC) –Processes must communicate with one another.
DDDDRRaw: A Prototype Toolkit for Distributed Real-Time Rendering on Commodity Clusters Thu D. Nguyen and Christopher Peery Department of Computer Science.
CMPT 300: Final Review Chapters 8 – Memory Management: Ch. 8, 9 Address spaces Logical (virtual): generated by the CPU Physical: seen by the memory.
3.5 Interprocess Communication
1 Introduction to Load Balancing: l Definition of Distributed systems. Collection of independent loosely coupled computing resources. l Load Balancing.
Operating Systems Operating System Support for Continuous Media.
MediaNet: User-defined Adaptive Scheduling for Streaming Data Michael Hicks Adithya Nagarajan University of Maryland Robbert van Renesse Cornell University.
Operating Systems Operating System Support for Multimedia.
G Robert Grimm New York University Scheduler Activations.
Development of Web-based Collaborative Environment For Distant Learning Supervised by Prof. Michael Lyu Presented by Ma Ka Po.
A Web Services Based Streaming Gateway for Heterogeneous A/V Collaboration Hasan Bulut Computer Science Department Indiana University.
Receiver-driven Layered Multicast Paper by- Steven McCanne, Van Jacobson and Martin Vetterli – ACM SIGCOMM 1996 Presented By – Manoj Sivakumar.
Designing Efficient Systems Services and Primitives for Next-Generation Data-Centers K. Vaidyanathan, S. Narravula, P. Balaji and D. K. Panda Network Based.
Computer Networks Laboratory Utility-Based Adaptive Video Streaming Mechanisms Paolo V. Encomienda Nestor Michael C. Tiglao University of the Philippines.
Item 2005 L A Rønningen. Reservation Model Pessimistic or Optimistic Approach 1-N Senders and 1-M Receivers Sender-oriented or Receiver-oriented Immediate.
2011/08/09 Sunwook Bae. Contents Paper Info Introduction Overall Architecture Resource Management Evaluation Conclusion References.
High Performance User-Level Sockets over Gigabit Ethernet Pavan Balaji Ohio State University Piyush Shivam Ohio State University.
Integrating Fine-Grained Application Adaptation with Global Adaptation for Saving Energy Vibhore Vardhan, Daniel G. Sachs, Wanghong Yuan, Albert F. Harris,
Company LOGO Provision of Multimedia Services in based Networks Colin Roby CMSC 681 Fall 2007.
Distributed Multimedia Systems David Immordino. Introduction 4 A multimedia application is a real-time system responsible for the delivering and receiving.
Advanced Computer Networks Lecture 3 Distributed Multimedia Systems.
QoS Support in High-Speed, Wormhole Routing Networks Mario Gerla, B. Kannan, Bruce Kwan, Prasasth Palanti,Simon Walton.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 29 – Buffer Management (Part 2) Klara Nahrstedt Spring 2012.
1 How Streaming Media Works Bilguun Ginjbaatar IT 665 Nov 14, 2006.
Quality of Service Karrie Karahalios Spring 2007.
Multiprocessor and Real-Time Scheduling Chapter 10.
Chapter 101 Multiprocessor and Real- Time Scheduling Chapter 10.
Mobile Middleware for Energy-Awareness Wei Li
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 21 – Case Studies for Multimedia Network Support (Layer 3) Klara Nahrstedt Spring 2009.
Web Cache Redirection using a Layer-4 switch: Architecture, issues, tradeoffs, and trends Shirish Sathaye Vice-President of Engineering.
CROSS-LAYER OPTIMIZATION PRESENTED BY M RAHMAN ID:
OPERATING SYSTEM SUPPORT DISTRIBUTED SYSTEMS CHAPTER 6 Lawrence Heyman July 8, 2002.
CS533 - Concepts of Operating Systems 1 The Mach System Presented by Catherine Vilhauer.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 18 – Multimedia Transport (Part 1) Klara Nahrstedt Spring 2014.
A Utility-based Approach to Scheduling Multimedia Streams in P2P Systems Fang Chen Computer Science Dept. University of California, Riverside
Video Multicast over the Internet Presented by: Liang-Yuh Wu Lung-Yuan Wu Hao-Hsiang Ku 12 / 6 / 2001 Bell Lab. And Georgia Institute of Technologies IEEE.
Supporting Multimedia Communication over a Gigabit Ethernet Network VARUN PIUS RODRIGUES.
Investigating the Performance of Audio/Video Service Architecture I: Single Broker Ahmet Uyar & Geoffrey Fox Tuesday, May 17th, 2005 The 2005 International.
INSIGNIA : A QOS ARCHITECTURAL FRAMEWORK FOR MANETS Course:-Software Architecture & Design Team Members 1.Sameer Agrawal 2.Vivek Shankar Ram.R.
Brian N. Bershad, Thomas E. Anderson, Edward D. Lazowska, and Henry M. Levy. Presented by: Tim Fleck.
Dzmitry Kliazovich University of Luxembourg, Luxembourg
Multiplexing Team Members: Cesar Chavez Arne Solas Steven Fong Vi Duong David Nguyen.
CSE 153 Design of Operating Systems Winter 2015 Midterm Review.
Ch 10. Multimedia Communications over WMNs Myungchul Kim
Gaia An Infrastructure for Active Spaces Prof. Klara Nahrstedt Prof. David Kriegman Prof. Dennis Mickunas
Cluster Computers. Introduction Cluster computing –Standard PCs or workstations connected by a fast network –Good price/performance ratio –Exploit existing.
Hierarchical Management Architecture for Multi-Access Networks Dzmitry Kliazovich, Tiia Sutinen, Heli Kokkoniemi- Tarkkanen, Jukka Mäkelä & Seppo Horsmanheimo.
UT-Austin CART 1 Mechanisms for Streaming Architectures Stephen W. Keckler Computer Architecture and Technology Laboratory Department of Computer Sciences.
BDTS and Its Evaluation on IGTMD link C. Chen, S. Soudan, M. Pasin, B. Chen, D. Divakaran, P. Primet CC-IN2P3, LIP ENS-Lyon
Introduction to Load Balancing:
Provision of Multimedia Services in based Networks
Jason Neih and Monica.S.Lam
QuaSAQ: Enabling End-to-End QoS for Distributed Multimedia Databases
Presentation transcript:

Multimedia/Real-Time Prashanth Reddy

Multimedia and Real-Time Audio and Video – Continuous Media (CM) Graphics – Discrete media CM –High data rates –Timing requirements Soft real-time applications

Problems Traditional OSs do not provide good support –Schedulers Round Robin, Priority scheduling No sense of urgency –Large number of user-kernel level interactions Efficient usage of resources Varying demands Delays, jitter

Papers Scheduling and IPC Mechanisms for Continuous Media –New scheduling and IPC mechanisms Split-level scheduling –User-level and kernel-level scheduler –Use shared memory Memory mapped streams –Shared memory FIFO

Papers User-specified Adaptive Scheduling in a Streaming Media Network –Deliver data in resource-limited, small-scale environments –Meet the preferences and demands of the users –MediaNet – a distributed stream processing system

Deadline/Workahead Scheduling Each message has a logical arrival time l(m) Each real-time process has a fixed logical delay bound A real-time process is critical at time ‘t’ if l(m) <= t Workahead processes - real-time processes that have pending messages but not critical

DWS contd…

Split-level CPU scheduling Combines the advantages of thread and LWPs Minimizes user/kernel interactions Also prioritizes LWPs in different VASs correctly Kernel level scheduler and user level scheduler communicate through shared memory

Split-level scheduling contd…

Memory Mapped Streams CM data must be moved to/from kernel Components –Control and Synchronization –Data location transfer –Data transfer Requires user/kernel interaction in one or more of the above components

MMS contd… A shared memory FIFO Uses shared memory for control and synchronization Uses shared memory to hold data location and the data Mechanisms –Statically shared pages of physical memory –Fixed range of virtual pages, mapped dynamically –Array of “message descriptors”

Performance Evaluation

Performance Evaluation contd…

Summary Proper scheduling through Split-level scheduling and usage of shared memory MMS – low-overhead IPC mechanism Reduced user-kernel interactions

User-specified Adaptive Scheduling in a Streaming Media Network MediaNet – a distributed stream processing system Users can specify how the system should adapt Uses local and global resource scheduling Adapts without resource reservation

MediaNet Architecture Video description, location, & resource info User’s desired stream & adaptation prefs Global scheduling service publish subscribe Video source Video player schedules feedback from MediaNet’s website

Specifications Continuous Media Network (CMN) –Directed acyclic graph of operations frame dropping, transcoding, compression and decompression etc. User specification –One or more CMNs, each with associated utility value Goal: Maximize users’ utility while utilizing the network efficiently

Operations Op frm n IntervalFrame size Other attributes Fixed location? Transitional? … frm 1 … from MediaNet’s website

Example User Specification Vid Prio*Vid Prio* Drop PB Prio*User Drop B Prio*User Prio*User pcS pcD UtilityCMN

Scheduling

Scheduling contd…

Implementation Global scheduling service –implemented on a single node –eventually hierarchical Local, per-node schedulers –monitor and report available bandwidth; eventually CPU + memory usage –implement local CMNs Global scheduler reconfigures schedules on- line

Local Scheduler Implement the CMN given by the GS –Must correctly reconfigure on-line Report monitoring info back to GS Implemented in Cyclone –Type-safe, C-like language –One component per operation, dynamically reconfigurable Uses TCP for send/receive

Monitoring Monitor available bandwidth –Keep track of TCP throughput, attempted vs. actual bandwidth Send regular reports to global scheduler Too pessimistic –“creep” bandwidth estimate additively to optimistically attempt higher utility configs

Reconfiguration New configuration is applied in parallel with the current configuration –Old operations are “flushed” along the dataflow path –New operations are enabled when all old ones are flushed on a particular node Challenges –Rapid reconfiguration –Low disruption to stream

Experiments Conducted on MHz PIII’s, 512 MB RAM, 100 Mb/s Ethernet, Red Hat Linux 7.1 using a “bowtie” topology: MPEG clipBandwidth Requirements Frame rateI+P+BI+PI 30 fps145 KB/s88 KB/s27 KB/s

Results No adaptationPriority-based frame dropping Local, proactive frame droppingMediaNet

Multi-User Performance

Multi-User Performance contd…

B frame dropping op

Multi-User Performance contd… B frame dropping op

Summary Application-specific QoS via user specs High network utilization and per-user utility via global scheduling: –Share resources between flows in a multicast-like manner, but generalized to CMNs –Utilize multiple, redundant paths –Intelligently place operations to reduce network utilization Adapts to resource availabilities on-line

Conclusion Split-level scheduling –Tight coupling between user-level and kernel- level schedulers –Difficult to employ multiple scheduling policies Scalability –Hierarchical global scheduling service Automate setting utility values

Acknowledgements Some of the slides have been taken from MediaNet’s website:

Thank You