Handbook of Video Databases: Design and Applications (Internet and Communications)
2. Techniques
In order to describe the alternative techniques, we assume a configuration consisting of K disk models: D0, D1,..., DK-1. There are qi disks belonging to disk model i:
We use the set notation, { : }, to refer to a collection of tracks from different zones of several disk drives. This notation specifies a variable before the colon and the properties that each instance of the variable must satisfy after the colon. For example, to refer to the first track from all zones of the disk drives that belong to disk model 0, we write:
With the configuration of Figure 35.2, this would expand to:
2.1 IBM's Logical Track [25]
This section starts with a description of this technique for a single multi-zone disk drive. Subsequently, we introduce two variations of this technique, OLT1 and OLT2, for a heterogeneous collection of disk drives. While OLT1 constructs several logical disks from the physical disks, OLT2 provides the abstraction of only one logical disk. We describe each in turn.
With a single multi-zone disk drive, this technique constructs a logical track from each distinct zone provided by the disk drive. Conceptually, this approach provides equi-sized logical tracks with a single data transfer rate such that one can apply traditional continuous display techniques [2, 27, 3, 13, 21, 23]. With K different disk models, a naive approach would construct a logical track LTk by utilizing one track from each zone: LTk = {PTk(Zj(
With this technique, the value of k is bounded by the zone with the fewest physical tracks, i.e., 0 ≤ k < Min[ NT(Zj(
2.2 Optimized Logical Track 1 (OLT1)
Assuming that a configuration consists of the same number of disks for each model, [5] OLT1 constructs logical disks by grouping one disk from each disk model (q logical disks). For each logical disk, it constructs a logical track consisting of one track from each physical zone of a disk drive. To illustrate, in Figure 35.2, we pair one disk from each model to form a logical disk drive. The two disks that constitute the first logical disk in Figure 35.2, i.e., disks
Logical disks appear as a homogeneous collection of disk drives with the same bandwidth. There are a number of well known techniques that can guarantee hiccup-free display given such an abstraction, see [2, 27, 3, 13, 21, 23, 26]. Briefly, given a video clip X, these techniques partition X into equi-sized blocks that are striped across the available logical disks [3, 26, 27]: one block per logical disk in a round-robin manner. A block consists of either one or several logical tracks.
Let Ti denote the time to retrieve mi tracks from a single disk of model Di consisting of mi zones: Ti = mi (a revolution time + seek time). Then, the transfer rate of a logical track (RLT) is: RLT = (size of a logical track)/Max[Ti] for all i, 0 ≤ i < K.
In Figure 35.2, to retrieve a LT from the first logical disk,
This example demonstrates that OLT1 wastes disk bandwidth by requiring one disk to wait for another to complete its physical track retrievals. In our example, this technique wastes 33.3 % of Do's bandwidth. In addition, this technique wastes disk space because the zone with the fewest physical tracks determines the total number of logical tracks. In particular, this technique eliminates the physical tracks of those zones that have more than NTmin tracks, NTmin=Min[NT(Zj(
2.3 Optimized Logical Track 2 (OLT2)
OLT2 extends OLT1 with the following additional assumption: each disk model has the same number of zones, i.e., mi is identical for all disk models, 0 ≤ i < K. Using this assumption, it constructs logical tracks by pairing physical tracks from zones that belong to different disk drives. This is advantageous for two reasons. First, it eliminates the seeks required per disk drive to retrieve the physical tracks. Second, assuming an identical revolution rate of all heterogeneous disks, it prevents one disk drive to wait for another.
The details of OLT2 are as follows. First, it reduces the number of zones of each disk to that of the disk with fewest zones: mmin = Min[mi] for all i, 0 ≤ i < K. Hence, we are considering only zones, Zj(
(35.1) |
where
OLT2 may use several possible techniques to force all disks to have the same number of zones. For each disk with δZ zones more than mmin, it can either (a) merge two of its physically adjacent zones into one, repeatedly, until its number of logical zones is reduced to mmin, (b) eliminate its innermost δZ zones, or (c) a combination of (a) and (b). With (a), the number of simultaneous displays is reduced because the bandwidth of two merged zones is reduced to the bandwidth of the slower participating zone. With (b), OLT2 wastes disk space while increasing the average transfer rate of the disk drive, i.e., number of simultaneous displays. In [11], we describe a configuration planner that empowers a system administrator to strike a compromise between these two factors for one of the techniques described in this study (HetFIXB). The extensions of this planner in support of OLT2 is a part of our future research direction.
[5]This technique is applicable as long as the number of disks for each model is a multiple of the model with the fewest disk drives: if min(qi), 0 ≤ i < K, denotes the model with fewest disks, then qj is a multiple of min(qi).
Категории