fine-grained device management in an interactive media server

19
Fine-Grained Device Management in an Interactive Media Server Raju Rangaswami, Zoran Dimitrijevi c, Edward Chang, and Shueng-Han Ga ry Chan IEEE Trans. on Multimedia, De c 2003

Upload: pravat

Post on 12-Jan-2016

20 views

Category:

Documents


0 download

DESCRIPTION

Fine-Grained Device Management in an Interactive Media Server. Raju Rangaswami, Zoran Dimitrijevic, Edward Chang, and Shueng-Han Gary Chan IEEE Trans. on Multimedia, Dec 2003. Outline. Introduction Interactive media proxy Device profiling Device management High-level data organization - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Fine-Grained Device Management in an Interactive Media Server

Fine-Grained Device Management in an Interactive Media Server

Raju Rangaswami, Zoran Dimitrijevic, Edward Chang, and Shueng-Han Gary ChanIEEE Trans. on Multimedia, Dec 2003

Page 2: Fine-Grained Device Management in an Interactive Media Server

Outline

Introduction Interactive media proxy

Device profiling Device management

High-level data organization Low-level data organization IO scheduling

System evaluation

Page 3: Fine-Grained Device Management in an Interactive Media Server

Introduction

Interactive media Fast-forward

Interactive media proxy (IMP) Transform non-interactive broadcast

or multicast streams into interactive ones for servicing a large number of end users.

Page 4: Fine-Grained Device Management in an Interactive Media Server

Interactive Media Proxy (IMP)

Device profiling Collect detailed disk parameters to

manage a device more effectively.

Device management Perform fine-grained device

management to improve the overall disk access efficiency.

Page 5: Fine-Grained Device Management in an Interactive Media Server

Disk profiling The authors present a SCSI disk profiling

tool that extracts detailed disk parameter.

Why disk profiling is necessary? Inaccurate information (worst case

assumption) Dynamic information (ex: file fragmentation) Manufacturing variance

Page 6: Fine-Grained Device Management in an Interactive Media Server

Device management

High-level data organization

Low-level disk placement

IO scheduling

Page 7: Fine-Grained Device Management in an Interactive Media Server

High-level data organization

For fast-scan Skip B frames Display a P frame only if the correspondi

ng I frame is also included. Adaptive tree scheme

Use a truncated binary tree to store videos. Each level of the tree forms a substream and i

s stored as a sequential file.

Page 8: Fine-Grained Device Management in an Interactive Media Server

Truncated binary tree

original

I + P

sampled I

sampled I

Page 9: Fine-Grained Device Management in an Interactive Media Server

Adaptive tree scheme Height (h)

The number of levels The number of supported fast-scan streams

Density (η) Range from 0 to 1 The smaller η eliminates some tree level and de

creases the tree density.

Page 10: Fine-Grained Device Management in an Interactive Media Server

Low-level disk placement (1/2) Zoning placement

Zone – multiple cylinders Combine similar bit-rate streams in the

same logical zone. Outer zones have higher data-transfer rate. High bit-rate streams should be stored in fast

zones. (to maximize throughput)

Cylinder placement Exploit the deterministic nature of write

streams and use a best-effort approach for reads.

Page 11: Fine-Grained Device Management in an Interactive Media Server

Low-level disk placement (2/2)

When any write stream uses up its allocated cylinders, a new set of free cylinders within the same zone and adjacent to the previous cylinder set is allocated.

Cylinder placement maintains the same relative cylinder distance between the stream pairs.

Minimize IO variability. The seek overhead for switching from one write

stream to the next write stream requires the disk to seek typically less than 50 cylinders. (almost equal to the minimum seek time for a single cylinder)

S1S2S3S1S2

write

Page 12: Fine-Grained Device Management in an Interactive Media Server

IO scheduling Goals

Maximize throughput Minimize response time

Step-sweep IO scheduling Using Cylinder Placement, the seek

overheads for write streams can be minimized. Thus, step-sweep schedules write streams optimally.

Page 13: Fine-Grained Device Management in an Interactive Media Server

Step-sweep IO scheduling

Page 14: Fine-Grained Device Management in an Interactive Media Server

System evaluation Truncated Binary Tree (TBT)

η = 1

Partial TBT (PTBT) η = 0.5

Sequential (SEQ) η = 1/h (original video stream) Reduce seek overhead for writes. Suffer from fast-scan.

Page 15: Fine-Grained Device Management in an Interactive Media Server

SEQ v.s. PTBT v.s. TBT

SEQ reduces seek operations

Page 16: Fine-Grained Device Management in an Interactive Media Server

Zoning Placement

Zoning placement improves throughput for read-intensive loads.

Page 17: Fine-Grained Device Management in an Interactive Media Server

Cylinder Placement

Page 18: Fine-Grained Device Management in an Interactive Media Server

Step-Sweep

Page 19: Fine-Grained Device Management in an Interactive Media Server

Cumulative Effect