- Boxes
- definitions
- Ellipses
- theorems and lemmas
- Blue border
- the statement of this result is ready to be formalized; all prerequisites are done
- Orange border
- the statement of this result is not ready to be formalized; the blueprint needs more work
- Blue background
- the proof of this result is ready to be formalized; all prerequisites are done
- Green border
- the statement of this result is formalized
- Green background
- the proof of this result is formalized
- Dark green background
- the proof of this result and all its ancestors are formalized
- Dark green border
- this is in Mathlib
Within our model, assuming jobs are malleable, have exponentially distributed sizes, and all follow the same speed-up function, \(s \colon C_c \to \mathbb {R}\), \(\mathbb {E}[T]^{EQUI} \leq \mathbb {E}[T]^P\) for any scheduling policy \(P\) i.e. The mean response time of EQUI is always better than any other policy \(P\).
coreSpace is defined to be the actual allowed allotment of cores i.e. if given a vector \(c \in \mathbb {R}^n\) describing how many cores we have then our corespace becomes: \(x \in \mathbb {R}^n\) with the requirement that: \(0 \leq x_i \leq s_i\) forall \(1 \leq i \leq n\). After this we shall abbreviate this space as \(C_c\).
An infinite-dimensional vector lambda described by a function \(\mathbb {N} \to \mathbb {R}\) is said to be an invariant distribution for a queue \(Q\) if the following holds:
\(\forall n \in \mathbb {N}, n \neq 0, \lambda (n-1) * Q(n-1,n) + \lambda (n+1) * Q(n+1,n) = \lambda (n)\)
\(\lambda (1) * Q(1,0) = \lambda (0)\)
\(||\lambda ||_1 = 1\).
A policy is a function \(p \colon \mathbb {N} \times \mathbb {N} \to \mathbb {R}^n\) describing per state \(n\) how to allocate cores in \(C_c\) over \(j\), \(0 \leq j \leq n\), jobs. Thus if we write this out, \(p\) is subject to the following conditions:
\(p(n,j) = 0 \forall j {\gt} n\).
\(\left(\sum _{k=0}^i p(i, k)\right) \in C_c\)
\(\forall 0 \leq i \leq n, p(n,i) \geq 0\)
For any two scheduling policies whose departure rates differ at exactly one index \(n\), \(\forall i \in \mathbb {N}\) with \(i \geq n\) the invariant distribution differs only a constant \(c \in \mathbb {R}\) or \(c = \infty \).
For any two scheduling policies whose departure rates differ at exactly one index \(n\), \(\forall i \in \mathbb {N}\) with \(i \leq n - 1\) the invariant distribution at index \(i\) differs only a constant \(c \in \mathbb {R}\) or \(c = \infty \).
For any two scheduling policies \(P\) and \(Q\) whose departure rates differ at one index \(n\), and \(P's\) departure rate at this index is higher than \(Q\)’s. Then \(Q\)’s invariant distribution is a constant \(c \leq 1\) smaller than \(P\) at the indices \(i \leq n - 1\) and \(Q\)’s invariant distribution is a constant \(C \geq 1\) bigger than \(P\)’s at the indices \(i \geq n\).
The invariant distribution of a scheduling policy whose rate is never \(0\) is of the form:
at index \(n\).
Suppose we have an index \(n\) s.t. we know that \(\lambda _i = 0\) for all \(i {\lt} n\), and furthermore that the departurerate at index \(n\) is \(0\). And we also know that \(\exists m {\gt} n \in \mathbb {N}\) s.t \(\forall k \in \mathbb {N}\) with \(m \geq k {\gt} n\) the departurerates are greater than \(0\) then \(\lambda _k\) is of the form:
If we have two scheduling policies \(P\) and \(Q\). And \(P's\) departurerates are always higher than or equal to \(Q\)’s and let \(Q\) only have finite zero-valued departure rates. Then: