Check out the new USENIX Web site. next up previous
Next: External Waiting Time Up: Experimental Results Previous: Individual Contributions


Effect of Preemption

To estimate the response time for higher-priority IO requests, we conducted experiments wherein higher-priority requests were inserted into the IO queue at a constant rate ($ \nu$). While the constant arrival rate may seem unrealistic, the main purpose of this set of experiments is only to ``estimate'' the benefits and overheads associated with preempting an ongoing Semi-preemptible IO request to service a higher-priority IO request.

Table 2 presents the response time for a higher-priority request when using Semi-preemptible IO in two possible scenarios: ($ 1$) when the higher-priority request is serviced after the ongoing IO is completed (non-preemptible IO), and ($ 2$) when the ongoing IO is preempted to service the higher-priority IO request (Semi-preemptible IO). If the ongoing IO request is not preempted, then all higher-priority requests that arrive while it is being serviced, must wait until the IO is completed. The results in Table 2 illustrate the case when the ongoing request is a read request. The results for the write case are presented in Table 4.


Table 2: The average response time and disk throughput for non-preemptible IO ($ npIO$) and Semi-preemptible IO ($ spIO$).
IO $ \nu$ Avg. Resp. $ [ms]$ Throughput $ [MB/s]$
$ [kB]$ $ [req/s]$ npIO spIO npIO spIO
$ 50$ 0.5 19.2 19.4 3.39 2.83
$ 50$ 1 21.8 16.0 3.36 2.89
$ 50$ 2 20.8 17.6 3.32 2.82
$ 50$ 5 21.0 18.2 3.18 2.62
$ 50$ 10 21.2 18.3 2.95 2.30
$ 50$ 20 21.1 18.4 2.49 1.68
$ 500$ 0.5 29.2 15.7 16.25 16.40
$ 500$ 1 28.1 15.5 16.15 16.20
$ 500$ 2 28.2 16.7 15.94 15.77
$ 500$ 5 28.6 16.0 15.28 14.58
$ 500$ 10 28.9 16.3 14.24 12.48
$ 500$ 20 29.4 16.8 11.96 8.57


Preemption of IO requests is not possible without overhead. Each time a higher-priority request preempts a low-priority IO request for disk access, an extra seek is required to continue servicing the preempted request after the higher-priority request has been completed. Table 2 presents the average response time and the disk throughput for different arrival rates of higher-priority requests. For the same size of low-priority IO requests, the average response time does not increase significantly with the increase in the arrival rate of higher-priority requests. However, the disk throughput does decrease with an increase in the arrival rate of higher-priority requests. As explained earlier, this reduction is expected since the overhead of IO preemption is an extra seek operation per preemption. For applications that require short response time, the performance penalty of IO preemption seems acceptable.



Subsections
next up previous
Next: External Waiting Time Up: Experimental Results Previous: Individual Contributions
Zoran Dimitrijevic 2003-01-06