Disk Striping in Video Server Environments

Banu Özden, Rajeev Rastogi, Abraham Silberschatz

TL;DR

This paper explores how to optimally store and retrieve video data across multiple hard disks (a technique called disk striping) to build cost-effective video-on-demand servers. By mathematically modeling the trade-offs between disk bandwidth, seek latency, and RAM costs, the authors demonstrate that a "coarse-grained" striping approach can slash total server hardware costs by nearly 75% compared to fine-grained alternatives, all while supporting the same number of concurrent users.

What Problem Does This Paper Address?

In the mid-1990s, the dream of Video-on-Demand (VOD) was becoming a reality, but the hardware costs were staggering. A VOD server must store hundreds of massive video files and stream them concurrently to thousands of users at a guaranteed, fixed rate (e.g., 1.5 Mbps for MPEG-1).

Storing these videos entirely in RAM is prohibitively expensive. Magnetic disks are much cheaper, but they suffer from low transfer rates and high mechanical access latencies (the time it takes the disk head to physically move to the data). Furthermore, if you simply store one movie per disk, a highly popular movie will overwhelm its host disk while other disks sit idle.

To distribute the workload evenly, servers use disk striping—splitting videos into chunks and spreading them across multiple disks. The challenge this paper tackles is: How exactly should we stripe this data, and how much data should we read at once, to maximize the number of concurrent streams while minimizing the total cost of the server (Disks + RAM)?

Methods

The authors analytically model and compare two primary striping architectures:

  1. Fine-grained Striping: The data is broken into tiny units (like a bit or a byte) and spread across all $m$ disks. Every time the server reads data, all $m$ disk heads move together, acting like one giant, high-bandwidth disk (similar to RAID-3).
  2. Coarse-grained Striping: The data is broken into large chunks. A single read request only engages one disk at a time, allowing different disks to serve different video streams independently and in parallel (similar to RAID-5).

For both methods, the authors formulate mathematical equations to find the optimal chunk size ($d$) to read during each disk access. Reading larger chunks reduces the impact of disk seek latency (increasing throughput), but requires more expensive RAM to buffer the data before it is sent to the user.

The authors also introduce a novel, low-overhead starvation-free scheduling algorithm for the coarse-grained approach. This algorithm intelligently queues incoming user requests to ensure no user waits forever, while minimizing wasted disk bandwidth.

Datasets

Not discussed in the paper. The authors rely on mathematical modeling and analytical proofs rather than empirical datasets. They evaluate their models using standard specifications of a commercially available disk at the time (2 GB capacity, 45 Mbps transfer rate, 25.5 ms worst-case latency).

Key Insights and Ideas

  • The Counter-Intuitive Economics of Disks vs. RAM: You might assume the cheapest server uses the absolute minimum number of disks required to meet the bandwidth demand. The authors prove this is false. Because RAM is vastly more expensive than disk storage, adding extra disks beyond the minimum requirement actually drops the total system cost. More disks mean the server can read smaller chunks of data more frequently, which drastically shrinks the massive, expensive RAM buffers needed for each stream.
  • Coarse-Grained > Fine-Grained for Video: Fine-grained striping forces all disk heads to move for every single read. This means the mechanical latency penalty is multiplied across all disks. Coarse-grained striping isolates the latency penalty to individual disks, allowing the system to support significantly more concurrent streams.
  • Smart Queuing Prevents Wasted Bandwidth: In coarse-grained setups, bandwidth can be wasted if the system rigidly waits for a specific disk to free up for the next user in line. The authors' scheduling algorithm dynamically swaps disk assignments for queued users based on which disk frees up first, ensuring maximum utilization without letting any specific request "starve."

Key Results

The authors calculated the optimal server architecture required to support 1,000 concurrent MPEG-1 video streams:

  • Using Fine-Grained Striping: The optimal setup requires 88 disks and 43.3 Gb of RAM. The total server cost is $348,689.
  • Using Coarse-Grained Striping: The optimal setup requires only 44 disks and 3.08 Gb of RAM. The total server cost is $81,404.

By utilizing coarse-grained striping and optimizing the read sizes, the server cost is reduced to less than a quarter of the fine-grained approach, primarily due to a massive reduction in required RAM.

Limitations and Future Work

  • Simplified Start Conditions: The proposed scheduling schemes initiate video streams based solely on the availability of disk bandwidth. In a real-world scenario, the system must also verify that sufficient RAM buffer space is available before starting a stream. The authors note their equations can be extended to account for this, but do not detail it in this paper.
  • Constant Bit Rate Assumption: The models assume videos are transmitted at a strict, constant bit rate. Modern video streaming often utilizes variable bit rates (VBR) depending on the complexity of the scene, which would complicate the buffer and bandwidth calculations.
  • VCR Functionality: The paper focuses purely on continuous playback. It does not address how these striping layouts would handle users pausing, rewinding, or fast-forwarding, which disrupts the predictable sequential reading of data.

Summary updated

BibTeX
@inproceedings{ozden1996disk,
  author = {Banu Özden and Rajeev Rastogi and Abraham Silberschatz},
  title = {{Disk Striping in Video Server Environments}},
  booktitle = {ICMCS},
  year = {1996},
  doi = {10.1109/mmcs.1996.535026},
}
Figure