next up previous
Next: 7 Considering the Knee Up: Using Parallel Program Characteristics Previous: 5 Considering Work

6 Considering Efficiency

 

As we have seen in the previous section, if jobs do not execute with high average efficiency, the mean response times obtained using scheduling algorithms that make allocation decisions based only on tex2html_wrap_inline825 are quite high when compared with a scheduling algorithm that makes no use of job characteristics. This is because jobs are being allocated processors that they are not able to use effectively. In this section, we consider scheduling policies which only use information about a job's efficiency.

Various policies are considered by using different values of tex2html_wrap_inline779 to allocate processing power according to the efficiency with which a job executes. Positive values of tex2html_wrap_inline779 will allocate more processors to jobs with higher efficiency while negative tex2html_wrap_inline779 values allocate more processors to jobs with low efficiency (an obviously bad approach). Since under our workload model the efficiency of each job is characterized by tex2html_wrap_inline777 , we set tex2html_wrap_inline1123 and use:

displaymath245

The graph in Figure 5 plots the mean response time against different tex2html_wrap_inline779 values (representing different scheduling policies) and shows results for tex2html_wrap_inline789 = 1 and 5. ( tex2html_wrap_inline1129 yields such a pronounced v-shape that it is not included because it hides the distinction between tex2html_wrap_inline979 and tex2html_wrap_inline1133 .) This graph shows that as tex2html_wrap_inline779 increases, in both positive and negative directions, the mean response time also increases. These experiments were conducted using tex2html_wrap_inline1137 and tex2html_wrap_inline1139 and a low target load (30%). Even under this light load we find that with tex2html_wrap_inline1133 performance degrades significantly for tex2html_wrap_inline1143 and tex2html_wrap_inline1145 . We use this light load to demonstrate the general shape of the response time curves since at higher loads the differences in mean response times for the various algorithms change drastically (i.e., the v-shape becomes more pronounced more quickly). Under this scheme, positive tex2html_wrap_inline779 values imply that more processors are given to jobs with higher efficiency. Significantly increasing the number of processors allocated to efficient jobs, while improving the degree to which processors are efficiently utilized, does not improve mean response time. This is because jobs that might potentially take a short amount of time to execute can become stuck behind jobs that take a long time to execute.

   figure255
Figure 5: Mean response time versus scheduling policy ( tex2html_wrap_inline779 ); tex2html_wrap_inline1151

Note that the mean response time obtained when tex2html_wrap_inline943 is relatively close to that obtained when tex2html_wrap_inline785 . In fact in most cases it yields mean response times that are statistically equal to those obtained with tex2html_wrap_inline785 . Because the tex2html_wrap_inline785 and tex2html_wrap_inline943 values are so similar we now more closely examine these algorithms and also consider another point on the spectrum of algorithms ( tex2html_wrap_inline945 ).

Table 2 contains the mean response times and 90% confidence intervals for tex2html_wrap_inline779 = 0, 0.5, and 1.0 for workloads with tex2html_wrap_inline789 = 1, 5, and 30 and ranges of effective efficiency of 1-50%, 1-99%, and 50-99%. The column labelled ``%Impr'' gives the percent by which the mean response time of tex2html_wrap_inline785 is reduced if tex2html_wrap_inline945 is used. (A negative value indicates the mean response time has increased, however, these negative differences can not be considered to be statistically significant.) Each experiment was run using an arrival rate that produces observed loads of approximately 90%. Interestingly, when average efficiency is relatively low, the algorithm obtained when using tex2html_wrap_inline945 produces mean response times that are lower than those obtained when tex2html_wrap_inline785 or tex2html_wrap_inline943 .

   table264
Table 2: Comparison of mean response times for different policies based on efficiency

We believe that with tex2html_wrap_inline943 too many processors are allocated to jobs that are not capable of utilizing them effectively. Because of the nature of how tex2html_wrap_inline777 determines the efficiency of each job we expect that the improved mean response times obtained for tex2html_wrap_inline945 are more indicative of how to schedule using tex2html_wrap_inline777 than how to schedule using other characteristics of a job's efficiency. (For example, we expect that if tex2html_wrap_inline849 was used tex2html_wrap_inline943 might perform better than tex2html_wrap_inline945 .) However, these results do demonstrate that a characteristic of each job's efficiency, tex2html_wrap_inline777 in this case, can be used to make processor allocation decisions and produce mean response times that are statistically lower than an equipartition strategy. However, these differences are quite small.


next up previous
Next: 7 Considering the Knee Up: Using Parallel Program Characteristics Previous: 5 Considering Work

Tim Brecht
Thu Jul 24 14:20:29 EDT 1997