15.01.2013 Views

U. Glaeser

U. Glaeser

U. Glaeser

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3. Move horizontally to the intersection with the linear segment.<br />

4. Move down to the horizontal axis and determine the point x ∗ .<br />

Because the linear segment of the seek time characteristic determines the values of x ∗ and T ∗ (as well as a<br />

and v max), it follows that the nonlinear segment must terminate exactly in the (x ∗ , T ∗ ) point. A numerical<br />

method for computing x ∗ and T ∗ can be based on any two points (x 1, T 1) and (x 2, T 2) taken on the linear<br />

segment. From the linear segment function T = T 1 + (x − x 1)(T 2 − T 1)/(x 2 − x 1), it follows:<br />

–<br />

-------------------------- , T ∗<br />

2 T1x 2 – T2x 1<br />

= --------------------------<br />

–<br />

x ∗ T1x 2 T2x 1<br />

=<br />

T2 – T1 The presented model is suitable for a qualitative description of the seek time behavior and for providing<br />

insight into disk characteristics, but its flexibility is limited because it has only two parameters. In addition<br />

to limited flexibility, this model is not appropriate for those disk units that do not satisfy the assumptions<br />

of constant acceleration/deceleration, and for units where the seek time for short distances is significantly<br />

affected by the head settling time. The accuracy of modeling can be improved using numerical models<br />

that fit the measured characteristic and use more than two adjustable parameters.<br />

Numerical Computation of the Average Seek Time<br />

A simple numerical model can be based on three points: (x 1, T 1), (x ∗ , T ∗ ), and (x 2, T 2), where x 1 < x ∗ < x 2.<br />

Here, (x 1, T 1) is the point from the initial nonlinear segment. Contrary to the approach presented in the<br />

section on “A Fixed Maximum Velocity Model of Seek Time,” the middle point (x ∗ , T ∗ ) is not computed<br />

from the linear part of the measured characteristic, but directly selected from the seek time graph as the<br />

beginning of the linear segment. The point (x 2, T 2) denotes the end of the linear segment (the maximum<br />

distance heads can travel). The corresponding model is<br />

r<br />

tx1 T( x)<br />

∗ x<br />

T<br />

x ∗<br />

⎛---- ⎞<br />

⎝ ⎠<br />

r<br />

tx r T<br />

, t<br />

∗<br />

x ∗<br />

( ) r ----------- , x x ∗<br />

= = ≤<br />

T ∗ T2 T ∗<br />

–<br />

x2 x ∗ ----------------- x x<br />

–<br />

∗<br />

+ ( – ) Ax B, x x ∗<br />

⎧<br />

⎪<br />

⎪<br />

= ⎨<br />

⎪<br />

⎪<br />

= + ≥<br />

⎩<br />

From T 1 = and T ∗ = t(x ∗ ) r it follows that T ∗ /T 1 = (x ∗ /x 1) r . Therefore, the parameters are<br />

r<br />

A<br />

T ∗ /T 1<br />

log(<br />

)<br />

r<br />

= --------------------------, t = T1/x1= log(<br />

)<br />

x ∗ /x 1<br />

T2 T ∗<br />

–<br />

x ∗ ----------------- , B T<br />

–<br />

∗ Ax ∗<br />

= = –<br />

x 2<br />

Using this model it is possible to numerically compute the mean seek time. Suppose that a file occupies<br />

N cylinders. The probability that the seek distance x is less than or equal to a given value z is<br />

This probability distribution function yields the following probability density function:<br />

© 2002 by CRC Press LLC<br />

x 2<br />

x 1<br />

T ∗ / x ∗<br />

( ) r<br />

Px( z)<br />

P[ x≤ z]<br />

2Nz z 2<br />

( – )/N 2<br />

= =<br />

px( z)<br />

dP/dz 2( N– z)/N<br />

2<br />

= =

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

Saved successfully!

Ooh no, something went wrong!