Presentation on theme: "Distributed Multimedia Systems"— Presentation transcript:
1Distributed Multimedia Systems Resource ManagementStream AdaptationCase StudyThe Tiger Video file server
2Resource Management Resource Scheduling To provide Quality of Service (Qos) to an application not only system must have sufficient resource (performance), it also needs to make these resource available to an application when they are needed (scheduling).
4Fair SchedulingIf several streams compete for a same resource it is necessary to consider fairness and to prevent ill behaved streams taking too much bandwidth.Round robin method is used on bit by bit basis, which provides more fairness with respect to varying packet sizes and arrival times.
5Real-time SchedulingThe Scheduling algorithms assigns CPU time slots to a set of processes in a manner that ensures that they complete their tasks on time.Earliest- deadline first (EDF).
6Stream Adaptation Adjustment in Qos Droping a piece of information (audio)Dropouts in video stream MPEGWe Use scaling methods for dropouts.For video files we use the followingscaling methods or combination of it.
7Video Scaling methods Temporal Scaling Spatial Scaling Frequency ScalingAmplitudinal ScalingColor space Scaling
8Scaling Temporal Scaling reduces the resolution of video stream in the time domain by decreasing the number of video frames transmitted with in a interval.
9Scaling Spatial Scaling reduces the number of pixels of each image in a video stream.Frequency Scalingmodifies compressed algorithm applied to a image.
10Scaling Amplitudinal Scaling Reduces the color depth of each image pixelColor space ScalingReduces the number of entities in the color spacecolor -> gray scale
11FilteringScaling modifies the stream of source it is not suitable for applications that involve several receivers: if bottleneck occurs on the route of one target, This target sends Scale-down message to the source and all targets receive the degraded quality,although some do not require.
12FilteringFiltering is a method that provides the best possible quality of service to each target applying.Filtering requires that a stream be partitioned into a set of hierarchical sub streams, each adding a higher level of quality.
14Case StudyA video storage system that supplies multiple real time video streams simultaneously is seen as an important system component to support consumer-oriented multimedia applications.Tiger video file server developed by Microsoft research Labs.
15Case Study : The Tiger video file server Design goalsArchitectureStorage organizationDistributed scheduleNetwork support
16Design Goals Video on demand for a large number of users Quality of serviceScalable and distributedLow cost hardware
17ArchitectureThe Cub Computers are identical PC’s with same number of standard Hard disk drives attached to each. They are equipped with ethernet and ATM network cards. The Controller is another PC it handles the client requests and manages the work schedule of the curb.
18Architecture Controller Controller Low-bandwidth network 1…n+2 n…2n+1 Cub 0Cub 1Cub 2Cub nATM Switching networkstart/Stop requestsFrom clientsVideo Distribution to clients
19Storage organizationVideo data is a large file in order to share the load its distributed among the disks attached to the cubs.A movie is divided into blocks ( 1sec -> 0.5MB so a 2 hr movie has app. 7000) Movie can start on any disk whenever highest numbered disk is reached, the movie is wrapped around so that next block disk 0 is in process.
20Distributed Schedule Scheduling workload for the cubs. Schedule is organized as list of slotsEach slot rep. Work must be done to play one block of movieread it from relevant disktransfer it to ATM network.
21Network supportThe blocks of each movie are simply passed to the ATM network by the cubs that hold them, together with the address of the relevant client.Client needs sufficient buffer storage to hold two buffer locations 1 is playing the video and other is arriving from the network.
22Problem 1Outline the design of a QoS manager to enable desktop Computers connected by an ATM network to support several concurrent multimedia applications. Define an API for your QoS manager, giving the main operations with their parameters and results.
23Problem 2In order to specify the resource requirements software components that process multimedia data, we need estimates for their processing loads. How can this information can be obtained without undue effort?
24Problem 3The Tiger schedule is potentially a large data structure that changes frequently, but each cub needs an up-to-date representation of the portions it is currently handling. Suggest a mechanism for the distribution of the schedule to the cubs.
25Problem 4When Tiger is operating with a failed disk or cub, secondary data blocks are used in place of missing primaries. Secondary blocks are n times smaller than primaries ( where n is the decluster factor), how does the system accommodate this variability in block size?