Figure A1.
Possible regions that cover the comparison between DAS, the fast, and the slow schedulers.
Appendix A.1. Necessary Conditions for the Superiority of DAS
To understand the behavior of DAS, slow, and fast schedulers, we divide a representative data rate–execution time plot into four distinct regions. Each region represents a unique scenario of one scheduler performing better than the others, as shown in
Figure A1 and denoted by Equations A1a, A1b, A1c, and A1d. In Region-1, the system experiences very low congestion levels; hence, both DAS and the fast scheduler perform equally well, while the slow scheduler performs poorly. Although the decisions of the slow scheduler are optimal, its benefits are outweighed by the overheads during low system utilization. In Region-2, DAS performs better than both schedulers, but the fast scheduler is still better than the slow scheduler. In Region-3, DAS performs better than both schedulers, but in this case, the slow scheduler is superior to the fast scheduler. In Region-4, DAS performs the same as the slow scheduler, and both perform better than the fast scheduler. We note that none of our extensive simulations experienced Region-4. This region represents very high data rates where
every decision made by the slow scheduler differs from the fast scheduler, which is practically infeasible to encounter. So, we exclude this region from the proof to simplify the problem. All these four regions are established on the premise that DAS performs better than or equal to the underlying schedulers.
We direct our attention solely towards Region-2 due to the following two reasons: (1) Region-1 is a subset of Region-2, and (2) Region-3 is an inverted form of Region-2; hence, we can easily re-derive the criteria by reversing the conditions from Region-2. Furthermore, it is sufficient to prove that DAS consistently outperforms the fast scheduler, as evidenced by Equation A1b. Therefore, we compare the selection of DAS against the fast scheduler, while the ideal selection can be the fast or slow scheduler.
Table A1.
Notations for theoretical proof of DAS scheduler
Table A1.
Notations for theoretical proof of DAS scheduler
Notation |
Definition |
|
Ideal scheduler decision for Task-i |
|
Decision of DAS scheduler for Task-i |
|
Selecting scheduler-X when the ideal selection is Y |
|
Execution time difference for Task-i w.r.t. the fast scheduler
if selecting scheduler-X when the ideal selection is Y |
|
Total execution time difference for all tasks |
|
Execution time for simulation |
Table A1 summarizes the notations we use in this section. Specifically, we use
to refer to the ideal scheduler selection that will yield optimal performance for Task-i. On the other hand,
represents the scheduler selection made by the DAS preselection classifier.
denotes the probability of selecting scheduler-X, given that the ideal scheduler is Y.
and
denote the difference in execution time DAS achieves for Task-i and the entire workload, respectively, with respect to the fast scheduler. We propose the following lemmas to support that DAS is superior to the underlying schedulers theoretically.
Lemma A1. .
Proof. In Region-2, we define as the difference in execution time between using DAS and the fast scheduler for Task-i. If DAS always makes the same decisions as the fast scheduler, then both schedulers will achieve the same execution time, and hence and . □
Lemma A2. .
Proof. Suppose the DAS scheduler selects the slow scheduler when the ideal decision is indeed the slow scheduler. Then, DAS will perform better than the fast scheduler resulting in a reduction in execution time and hence, . □
Lemma A3. .
Proof. If the DAS scheduler selects the slow scheduler for Task-i when the ideal decision is the fast scheduler, it will perform poorly because the slow scheduler incurs additional overheads. Consequently, the execution time will be longer than the fast scheduler. □
Using the lemmas described above, we can formulate
as follows:
where each
represents a different combination of DAS selecting scheduler-X given that the ideal scheduler is Y. As
and
are zero from Lemma A1, we can simplify Equation A2a as Equation A2b.
and
denote the gain and loss in execution time compared to the fast scheduler in Equation A2c, respectively. Equation A2 shows the execution time difference for Task-i. To show the total difference in the execution time, we follow these steps:
Definition A1. Let Δ be the total change in the execution time from always choosing the fast scheduler in Region-2.
The overall change in execution time,
, can be calculated by summing the changes in execution time for each task, as demonstrated in Equation
A3a. In this equation, the selection probabilities,
and
, are constant values and can be moved outside the summation as common sub-terms. Therefore, we can represent
using Equation A3b. Then, we define the total gain and loss in execution time as
and
in Equation A3c.
Theorem A1. for DAS scheduler.
In order to prove that the DAS scheduler is superior to both the fast and slow schedulers, it is necessary to demonstrate that it achieves a lower total execution time. This implies that the overall change in execution time, denoted by
, must be negative.
is always negative since it denotes the gain in the total execution time. Therefore, we use the absolute value of
to transform Equation A4b into Equation A4c. In Equation A4d, we derive the criterion that DAS must achieve to always outperform the underlying schedulers. To ensure superior performance than the fast scheduler in Region-2, the DAS preselection classifier must possess a high value of
, representing the similarity to ideal decisions, and a low value of
. Hence, the ratio of
should be low and less than the ratio of
.