Professional Documents
Culture Documents
Objectives
Upon completing this chapter, you should be able to: Identify and describe storage media available for personal computers List the benefits of secondary storage Differentiate among the principal types of secondary storage Explain the concept of RAID Identify important characteristics of a multimedia operating system
MM systems require storage for large capacity objects such as video, audio, animation and images. Depending on the compression scheme, video bandwidth requirements range from 1.5 Mbit/s (MPEG-1) to 10 Mbit/s (MPEG-2) and up to 1 Gbit/s (HDTV)!! Depending on the fidelity and compression, audio may consume from 8 Kb/s all the way up to 384 Kb/s. In applications that require multiple multimedia streams, these numbers increase accordingly.
Multimedia objects have real-time playback and, in many cases, similar recording requirements. Video is somewhat scalable in the sense that its frame rate, and to a certain extent, its window size, may be varied to compensate for response time fluctuations without significantly perceptible adverse effects. Audio on the other hand, has stringent timing requirements and needs virtually constant playback speed for acceptable quality.
The file systems of earlier operating systems were designed to handle bursty traffic with no real-time requirements, and they usually have rather poor throughput for continuous load. Indexing and retrieval of multimedia objects poses some very different and demanding requirements for navigation on database systems;
e.g. multimedia databases need to support searches by media content, such as video clips and image attributes, on top of processing the traditional text-based queries.
Non-volatile
Compressed storage
Diskette about 500 printed pages
Optical disk about 500 books
Economy Savings in physical storage costs Savings in the speed and convenience of filing and retrieving data
Mass storage devices are required to overcome the high demand for storage space for multimedia systems. Among the mass storage devices, optical and magnetic media technology are some of the cheapest solutions as compared to internal storage devices like DRAM, SDRAM etc.
CD-WORM
CD-WR (erasable CD)
Read
Converts the magnetized data to electrical
impulses
Write
Converts electrical impulses to magnetized spots
on disk
Disk Capacity
Size
MB older hard disks GB current PC TB coming soon
Whats stored?
User documents
Software
Graphic images
Audio files
Video files
Multimedia Objects
Volatile Objects audio and video input. They are
sometimes not retrieved from storage but directly captured from the source. Nonvolatile Objects stored in a storage device. Two issues arises:
Capacity Transfer Speed / Bandwidth
different objects Write Behind Caching and Write Coalescing data to be written is buffered in cache first, and coalesces (blends) multiple write requests in a single disk revolution. Tagged Command Queuing tagging I/O request and queue them to reduce latencies.
Codes) auto-
correcting soft errors. Guaranteed minimum sustained rate: 3 Mbytes/sec Fast Drive Speed (at least 5400 rpm) Synchronized Spindles Supports RAID Configurations
RAID Technology
RAID = Redundant Array of Inexpensive Disks. RAID is a technology that provides a potential alternative to mass storage combined with high throughput and reliability.
It is a set of disk drives viewed by the user as one or more logical drives.
Data is distributed across the set of drives in a pre-defined manner.
RAID is now used as an umbrella term for computer data storage schemes that can divide and replicate data among multiple physical disk drives.
RAID Technology
The physical disks are said to be in a RAID array, which is accessed by the operating system as one single disk. The different schemes or architectures are named by the word RAID followed by a number (e.g., RAID 0, RAID 1).
http://www.acnc.com/products
RAID Levels
There are 8 discrete levels of RAID functionality 1) Level 0 : Disk Striping 2) Level 1 : Disk Mirroring 3) Level 2 : Bit Interleaving and Header Error Correction (HEC) Parity 4) Level 3 : Bit Interleaving and XOR Parity 5) Level 4 : Block Interleaving with XOR Parity 6) Level 5 : Block Interleaving with Parity Distribution 7) Level 6 : Fault tolerant system 8) Level 7 : Heterogeneous system
of a spinning disk Physical variations in the surface (pits and landings) are arranged in concentric tracks of the disk The pits and landings deflect the focused beam toward an optical receiver to signify a 1 or disperse the beam away to signify a 0
specific sector
Stores digitized audio information (1982) Stores computer data (1985) Later became the High Sierra format (ISO9660) Stores audio, video, graphics, text and machine code on CD-ROM (1986) Stores digitized, compressed representation of audio/video information on CD (1987)
HD-DVD (Toshiba)
A single layer capacity of 15 GB and a dual-layer capacity of 30 GB Triple-layer disc is in development, which would offer 45GB of storage.
Notion of real time Real Time process = process which delivers the results of the processing in a given time span. Dead lines Divided into soft deadline and hard deadline. Soft deadline can be violated without any adverse effect but not hard deadlines!! Real time features: Predictably fast response to critical events High degree of resource utilization Stability under transient (temporary) load
are less strict Some multimedia applications can afford to miss a deadline without any severe failure All time critical processing are periodic rather than sporadic (irregular instances)
Resource Management
1.
Resources Can be active or passive Exclusive or shared Single or multiple instance Multimedia requirements Throughput determined by the needed data rate Local and global (end-to-end) delay Jitter maximum variance Reliability error detection and correction (QoS quality of service)
2.
Resource Management
3.
Client makes a reservation request to the resource manager component. Resource manager will see whether the request can be guaranteed or not
4.
Allocation schemes
Pessimistic approach (reservations for worst case) Optimistic approach (for average workload)
Process Management
two conflicting goals must be satisfied Uncritical process should not starve Time critical process should never be subject to priority inversion.
MM systems tends to have more continuous data than discrete data, which are different in terms of:
Real time characteristics (time dependent delivery) Large file size Multiple data streams
Other OS issues
References
http://www.acnc.com/products