< previous page page_217 next page >

Page 217
The modeling asumption is that the number of items that appear at a particular pipeline stage can be defined as a random variable (q) with mean (Q) and standard deviation (s). Notice that our modeling approach does not recognize the ''history" or sequential nature of items collecting at a pipeline stage. In chapter 6, we will see another modeling approach using queueing theory. Generally, the results of the two modeling approaches are consistent.
We assume that q is a random variable describing the actual request size and Q is the mean this distribution, the buffer is of size BF, and the probability of buffer full or overflowed is p.
Bound 1 (Chebyshev's Inequality)
The probability of buffer full or overflowed (p) is:
0217-01.gif
That is, the probability of a buffer overflow is less than the mean number of requests divided by the buffer size.
Bound 2 (Chebyshev's Inequality Corollary)
The probability of buffer full or overflowed (p) is:
0217-02.gif
This corollary is a direct result of Chebyshev's Inequality and the definition of variance, since
0217-03.gif
is simply restating the inequality in terms of variance. (B is an arbitrary number.) We rearrange the above and let B = BF - Q to get the corollary.
This corollary can be rewritten and solved for BF:
0217-04.gif
We now can use the most favorable BF size:
0217-05.gif
Alternatively, we may know the BF size and wish to determine p:
0217-06.gif

 
< previous page page_217 next page >