Beruflich Dokumente
Kultur Dokumente
Operating
system is the layer between hardware and the applications Operating system provide the environment for executing programs and various services regarding
CPU Main Memory File system Input and output devices Networking deviceIntroduction
Multimedia applications demand the human perception of the media in a error free way An audio application will involve
I/O devices: microphone, speakerphone CPU: processing the data Memory: temporarily store the data Network: real-time transmission of the data
The
Multimedia OS
CPU
management: appropriate scheduling is necessary Memory management: guaranteed timing delay and buffer management File system: guarantee continuous retrieval of multimedia data To guarantee real-time processing of the media data, one concept used is resource reservation. The resource is reserved prior to the execution of the application. This has to be performed for all components along the data path of a multimedia application
Department of Computer Engineering University of California at Santa Cruz
Real-Time Multimedia OS
A
Receive measurement from the furnace (temperature, oxygen %) Compute the adjustment Send the adjustment to execution
Department of Computer Engineering University of California at Santa Cruz
Real-Time Multimedia OS
Example
2: Video Playback
Read data from DVD Decoding and formatting Send it to frame buffer Timing is everything
Timing
constraints can be
External restrictions Chemical plant example, min time-span to response Internal restrictions Video or audio playback, constant framerate
Deadline
The latest acceptable time for the presentation of the processing results Soft deadline: if violated does not result in unacceptable results Hard deadline: should never be violated
events and accurate timing information. Example: nuclear reactor control, the response to a malfunction must occur within a well defined period to avoid disaster High degree of schedulability the degree of resource utilization at which the deadline of each timecritical task can be taken into account Stability under transient overload
Some
include manufacturing and monitoring systems. New applications include multimedia system, surveillance, etc.
Characteristics of Multimedia OS
fault-tolerant compare to the realtime system for nuclear power plant control, the system in a video playback product will cause less damage if some errors occur Deadlines tend to be soft for example, small errors in video playback timing is not noticeable Schedulability consideration is much easier because the the media streams tend to be periodic (results of sampling) and consistent
More
Bandwidth
requirement is not always stringent more compression or lower resolution can always be used to achieve lower bitrates
Department of Computer Engineering University of California at Santa Cruz
Resource management
Multimedia
video at the limit of their capacity Active resources and passive resource
Active resources: CPU or network adapter that provide service Passive resources: memory, bandwidth, file systems, system capability required by active resources
Resources
process or shared
Active resources: often exclusive Passive resources: often shared
Each
Rate
Resource Requirements
Processing
a multimedia (local or distributed) system can be specified according to the following characteristics
The throughput determined by the needed data rate, depending on the size of the data unit Local and global delay - Local delay the delay at the resource is the maximum time span for the completion of the task - The end-to-end delay is the time span for a data unit to be transmitted from the source to the destination The jitter determines the maximum allowed variance in the arrival data at the destination The reliability error detection and correction mechanisms used for the transmission and processing of the multimedia data
Phases
Different
(throughput and reliability parameters) to determine if there is enough remaining resource available Quality of Service Calculation calculate the best possible performance (e.g. delay) the resource can guarantee Resource reservation allocate the required capacity to meet the QoS Resource scheduling scheduling algorithms for each resource
Department of Computer Engineering University of California at Santa Cruz
Allocation scheme
Reservation