Chapter 20: Multimedia Systems. Operating System Concepts 8 th Edition,

Similar documents
Chapter 20: Multimedia Systems

Introducing: Free/Open Source Software Distributed Systems Real Time Systems and Multimedia Systems

Department of Computer Engineering University of California at Santa Cruz. File Systems. Hai Tao

Chapter 19: Real-Time Systems. Operating System Concepts 8 th Edition,

Distributed Video Systems Chapter 3 Storage Technologies

Lecture 17: Distributed Multimedia

Chapter 28. Multimedia

I/O Systems. 04/16/2007 CSCI 315 Operating Systems Design 1

Chapter 6: CPU Scheduling. Operating System Concepts 9 th Edition

Chapter 13: I/O Systems

Chapter 13: I/O Systems. Chapter 13: I/O Systems. Objectives. I/O Hardware. A Typical PC Bus Structure. Device I/O Port Locations on PCs (partial)

Chapter -5 QUALITY OF SERVICE (QOS) PLATFORM DESIGN FOR REAL TIME MULTIMEDIA APPLICATIONS

Chapter 12: I/O Systems

Chapter 13: I/O Systems

Chapter 12: I/O Systems. Operating System Concepts Essentials 8 th Edition

Multimedia Systems 2011/2012

Multimedia Storage Servers

Networking Applications

Chapter 12: Mass-Storage Systems. Operating System Concepts 8 th Edition,

CS370 Operating Systems

Chapter 13: I/O Systems

Input/Output Systems

Media server and QoS (so far)

4 rd class Department of Network College of IT- University of Babylon

Internet Services & Protocols. Quality of Service Architecture

Page 1. Outline / Computer Networking : 1 st Generation Commercial PC/Packet Video Technologies

Tema 0: Transmisión de Datos Multimedia

Distributed Multimedia Systems. Introduction

CSCD 433/533 Advanced Networks Fall Lecture 14 RTSP and Transport Protocols/ RTP

Advanced Networking Technologies

Multimedia Networking

PROBABILISTIC SCHEDULING MICHAEL ROITZSCH

Chapter 13: I/O Systems

Chapter 10: Mass-Storage Systems

Page Replacement Algorithms

A common issue that affects the QoS of packetized audio is jitter. Voice data requires a constant packet interarrival rate at receivers to convert

Multimedia Networking

CS 218 F Nov 3 lecture: Streaming video/audio Adaptive encoding (eg, layered encoding) TCP friendliness. References:

Chapter 7 Multimedia Operating Systems

Chapter 13: I/O Systems. Operating System Concepts 9 th Edition

3. Quality of Service

QUALITY of SERVICE. Introduction

Module 12: I/O Systems

CS420: Operating Systems. Kernel I/O Subsystem

Basics (cont.) Characteristics of data communication technologies OSI-Model

Outline. QoS routing in ad-hoc networks. Real-time traffic support. Classification of QoS approaches. QoS design choices

RSVP and the Integrated Services Architecture for the Internet

Introduction to LAN/WAN. Application Layer 4

CSC Operating Systems Spring Lecture - XIX Storage and I/O - II. Tevfik Koşar. Louisiana State University.

RAID Structure. RAID Levels. RAID (cont) RAID (0 + 1) and (1 + 0) Tevfik Koşar. Hierarchical Storage Management (HSM)

So far. Next: scheduling next process from Wait to Run. 1/31/08 CSE 30341: Operating Systems Principles

ETSF10 Internet Protocols Transport Layer Protocols

QoS support for Intelligent Storage Devices

Prof. Dr. Abdulmotaleb El Saddik. site.uottawa.ca mcrlab.uottawa.ca. Quality of Media vs. Quality of Service

15: OS Scheduling and Buffering

CSE 4/521 Introduction to Operating Systems

Module 1: Introduction. What is an Operating System?

Internet Video Delivery. Professor Hui Zhang

Mohammad Hossein Manshaei 1393

Chapter 6: CPU Scheduling

Chapter 8: Virtual Memory. Operating System Concepts Essentials 2 nd Edition

Streaming Technologies Delivering Multimedia into the Future. May 2014

Evaluating the Performance of FQM Framework for Supporting Multimedia Applications in MANET

Kommunikationssysteme [KS]

Quality of Service II

Integration Note for ECDS with Cisco Show and Share, Cisco Media Experience Engine 3500, and Cisco Digital Media Players

ETSF10 Internet Protocols Transport Layer Protocols

Chapter 16. Greedy Algorithms

A Multimedia Streaming Server/Client Framework for DM64x

Chapter 12: Secondary-Storage Structure. Operating System Concepts 8 th Edition,

Chapter 3: Processes

IMPROVING LIVE PERFORMANCE IN HTTP ADAPTIVE STREAMING SYSTEMS

EDA095 Audio and Video Streaming

Chapter 6: CPU Scheduling. Operating System Concepts 9 th Edition

Discussion Week 10. TA: Kyle Dewey. Tuesday, November 29, 11

Chapter 9: Virtual Memory

ITEC310 Computer Networks II

G Robert Grimm New York University

TDDD82 Secure Mobile Systems Lecture 6: Quality of Service

CS420: Operating Systems. Mass Storage Structure

Internet Technologies for Multimedia Applications

CS555: Distributed Systems [Fall 2017] Dept. Of Computer Science, Colorado State University

EIDE, ATA, SATA, USB,

CS 457 Multimedia Applications. Fall 2014

CPU Scheduling. Daniel Mosse. (Most slides are from Sherif Khattab and Silberschatz, Galvin and Gagne 2013)

Lecture 13. Quality of Service II CM0256

Outline. Operating Systems: Devices and I/O p. 1/18

Module 12: I/O Systems

Operating Systems. Introduction & Overview. Outline for today s lecture. Administrivia. ITS 225: Operating Systems. Lecture 1

Chapter 13: I/O Systems

EECS 482 Introduction to Operating Systems

Module 13: Secondary-Storage Structure

Multimedia Networking. Network Support for Multimedia Applications

Chapter 9: Virtual-Memory

Chapter 5: CPU Scheduling. Operating System Concepts 9 th Edit9on

Overview of Mass Storage Structure

Analysis of quality parameters influence to translation of IPTV service

Real-Time Protocol (RTP)

Properties of Processes

Free Space Management

Transcription:

Chapter 20: Multimedia Systems, Silberschatz, Galvin and Gagne 2009

Chapter 20: Multimedia Systems What is Multimedia? Compression Requirements of Multimedia Kernels CPU Scheduling Disk Scheduling Network Management An Example: Cineblitz 20.2 Silberschatz, Galvin and Gagne 2009

Objectives To identify the characteristics of multimedia data To examine several algorithms used to compress multimedia data To explore the operating system requirements of multimedia data, including CPU and disk scheduling and network management 20.3 Silberschatz, Galvin and Gagne 2009

What is Multimedia? Multimedia data includes - audio and video clips (i.e. MP3 and MPEG files) - live webcasts Multimedia data may be delivered to - desktop PC s - handheld devices (PDAs, smart phones 20.4 Silberschatz, Galvin and Gagne 2009

Media Delivery Multimedia data is stored in the file system like other ordinary data However, multimedia data must be accessed with specific timing requirements For example, video must be displayed at 24-30 frames per second. Multimedia video data must be delivered at a rate which guarantees 24-30 frames/second Continuous-media data is data with specific rate requirements 20.5 Silberschatz, Galvin and Gagne 2009

Streaming Streaming is delivering a multimedia file from a server to a client - typically the deliver occurs over a network connection There are two different types of streaming: 1. Progressive download - the client begins playback of the multimedia file as it is delivered. The file is ultimately stored on the client computer 2. Real-time streaming - the multimedia file is delivered to - but not stored on - the client s computer 20.6 Silberschatz, Galvin and Gagne 2009

Real-time Streaming There are two types of real-time streaming: (1) Live streaming - used to deliver a live event while it is occurring (2) On-demand streaming - used to deliver media streams such as movies, archived lectures, etc. The events are not delivered in real-time 20.7 Silberschatz, Galvin and Gagne 2009

Multimedia Systems Characteristics Multimedia files can be quite large Continuous media data may require very high data rates Multimedia applications may be sensitive to timing delays during playback of the media 20.8 Silberschatz, Galvin and Gagne 2009

Compression Because of the size and rate requirements of multimedia systems, multimedia files are often compressed into a smaller form MPEG Compression: (1) MPEG-1-352 X 240 @ 30 frames/second (2) MPEG-2 - Used for compressing DVD and high-definition television (HDTV) (3) MPEG-4 - Used to transmit audio, video, and graphics. Can be delivered over very slow connections (56 Kbps) 20.9 Silberschatz, Galvin and Gagne 2009

Operating Systems Issues The operating system must guarantee the specific data rate and timing requirements of continuous media Such requirements are known as Quality-of-Service (QoS) guarantees 20.10 Silberschatz, Galvin and Gagne 2009

QoS Guarantees Guaranteeing QoS has the following effects in a computer system: (1) CPU processing (2) Scheduling (3) File systems (4) Network protocols 20.11 Silberschatz, Galvin and Gagne 2009

Requirement of Multimedia Operating Systems There are three levels of QoS (1) Best-effort service - the system makes a best effort with no QoS guarantees (2) Soft QoS - allows different traffic streams to be prioritized, however no QoS guarantees are made (3) Hard QoS - the QoS rquirements are guaranteed 20.12 Silberschatz, Galvin and Gagne 2009

Parameters Defining QoS Throughput - the total amount of work completed during a specific time interval Delay - the elapsed time from when a request is first submitted to when the desired result is produced Jitter - the delays that occur during playback of a stream Reliability - how errors are handled during transmission and processing of continuous media 20.13 Silberschatz, Galvin and Gagne 2009

Further QoS Issues QoS may be negotiated between the client and server Operating systems often use an admission control algorithm that admits a request for a service only if the server has sufficient resources to satisfy the request. 20.14 Silberschatz, Galvin and Gagne 2009

Resources on a file server 20.15 Silberschatz, Galvin and Gagne 2009

CPU Scheduling Multimedia systems require hard realtime scheduling to ensure critical tasks will be serviced within timing deadlines Most hard realtime CPU scheduling algorithms assign realtime processes static priorities that do not change over time 20.16 Silberschatz, Galvin and Gagne 2009

Disk Scheduling Disk scheduling algorithms must be optimized to meet the timing deadlines and rate requirements of continuous media Earliest-Deadline-First (EDF) Scheduling SCAN-EDF Scheduling 20.17 Silberschatz, Galvin and Gagne 2009

Disk Scheduling (Cont) The EDF scheduler uses a queue to order requests according to the time it must be completed (its deadline) SCAN-EDF scheduling is similar to EDF except that requests with the same deadline are ordered according to a SCAN policy 20.18 Silberschatz, Galvin and Gagne 2009

Deadline and cylinder requests for SCAN-EDF scheduling 20.19 Silberschatz, Galvin and Gagne 2009

Network Management Three general methods for delivering content from a server to a client across a network: (1) Unicasting - the server delivers the content to a single client (2) Broadcasting - the server delivers the content to all clients, regardless whether they want the content or not (3) Multicasting - the server delivers the content to a group of receivers who indicate they wish to receive the content 20.20 Silberschatz, Galvin and Gagne 2009

RealTime Streaming Protocol (RTSP) Standard HTTP is stateless whereby the server does not maintain the status of its connection with the client 20.21 Silberschatz, Galvin and Gagne 2009

Streaming media from a conventional web server 20.22 Silberschatz, Galvin and Gagne 2009

Realtime Streaming Protocol 20.23 Silberschatz, Galvin and Gagne 2009

RTSP States SETUP - the server allocates resources for a client session PLAY - the server delivers a stream to a client session PAUSE - the server suspends delivery of a stream TEARDOWN - the server breaks down the connection and releases the resources allocated for the session 20.24 Silberschatz, Galvin and Gagne 2009

RTSP state machine 20.25 Silberschatz, Galvin and Gagne 2009

CineBlitz Multimedia Server CineBlitz supports both realtime and non-realtime clients CineBlitz provides hard QoS guarantees to realtime clients using an admission control algorithm The disk scheduler orders requests using C-SCAN order 20.26 Silberschatz, Galvin and Gagne 2009

CineBlitz Admission Controller Total buffer space required for N clients where client has rate requirement of r i 20.27 Silberschatz, Galvin and Gagne 2009

Double buffering in CineBlitz 20.28 Silberschatz, Galvin and Gagne 2009

CineBlitz Admission Controller (Cont) If tseek and trot are the worst-case seek and rotational delay times, the maximum latency for servicing N requests is 20.29 Silberschatz, Galvin and Gagne 2009

CineBlitz Admission Controller (cont) The CineBlitz admission controller only admits a new client if there is at least 2 X T X r i bits of free buffer space and the following equation is satisfied 20.30 Silberschatz, Galvin and Gagne 2009

End of Chapter 20, Silberschatz, Galvin and Gagne 2009

20.32 Silberschatz, Galvin and Gagne 2009

Exercise 20.10 20.33 Silberschatz, Galvin and Gagne 2009