17.05.2014 Views

Matching Application Access Patterns to Storage Device ...

Matching Application Access Patterns to Storage Device ...

Matching Application Access Patterns to Storage Device ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

34 · <strong>Matching</strong> <strong>Application</strong> <strong>Access</strong> <strong>Patterns</strong> <strong>to</strong> S<strong>to</strong>rage <strong>Device</strong> Characteristics<br />

581<br />

22<br />

XX<br />

21<br />

580<br />

20<br />

579<br />

19<br />

559<br />

199<br />

560<br />

0<br />

561<br />

1<br />

758<br />

399<br />

200<br />

738<br />

379<br />

739<br />

380<br />

740<br />

381<br />

rotation<br />

Fig. 3.4: Typical mapping of LBNs on<strong>to</strong> physical sec<strong>to</strong>rs. For clarity, this disk maps<br />

LBNs only on<strong>to</strong> a single surface of a platter. Normal disks map those on both surfaces before<br />

moving <strong>to</strong> the next platter.<br />

outermost and innermost zone is slightly less than two (typically 1.6–1.8). More<br />

details on current disk characteristics are given by Anderson et al. [2003].<br />

To access data on the disk, the set of arms pivots <strong>to</strong> seek <strong>to</strong> a cylinder with<br />

a particular radial distance from the center of the platter. Once the set of arms<br />

is positioned and the correct head engaged, the head waits for the requested data<br />

<strong>to</strong> rotate around. This is commonly referred <strong>to</strong> as rotational latency. When the<br />

desired set of sec<strong>to</strong>rs arrives underneath the head, the disk starts media transfer.<br />

If the set of contiguous LBNs of a single I/O request spans two tracks, the disk<br />

head must move the the adjacent cylinder or another head must be engaged <strong>to</strong><br />

read the second track of the same cylinder. Since the individual tracks comprising<br />

a cylinder are not perfectly aligned, the head needs <strong>to</strong> be repositioned above the<br />

correct track. Collectively, this is called head switch.<br />

The disk can start bus transfer of the data as soon as the data starts streaming<br />

from the media. Alternatively, the disk can buffer the data and transfer them all<br />

at once. The latter approach has the advantage that the interconnect between<br />

the disk and the host is not blocked for extended periods of time; bus transfer is<br />

usually faster than media transfer.<br />

3.2.2 Logical block mappings<br />

Disk drives map the LBNs of the linear space abstraction <strong>to</strong> physical sec<strong>to</strong>rs.<br />

The LBNs are assigned sequentially on each track with the subsequent LBN

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!