As a function of $m$, $n$, and the $X_i$’s, what is the makespan $M$? Specifically, what is $E[M]$? $Var[M]$?
Second question:
Suppose $P(X_i = 2) = P(X_i = 4) = 1/2$, and all $X_i$ are pairwise independent, so $mu_i = 3$ and $sigma^2 = 1$. As a function of $m$, $n$, and these new $X_i$’s, what is the makespan? More interestingly, how does it compare to the answer from the first part?
Some simple thought experiments demonstrate the answer to the latter is that the makespan is longer. But how can this be quantified? I will be happy to post an example if this is either (a) controversial or (b) unclear. Depending on the success with this one, I will post a follow-up question about a dynamic assignment scheme under these same assumptions. Thanks in advance! Analysis of an easy case: $m = 1$ If $m = 1$, then all $n$ tasks are scheduled to the same processor. The makespan $M$ is just the time to complete $n$ tasks in a complete sequential fashion. Therefore, $$begin{align*} E[M] &= E[X_1 + X_2 + … + X_n] &= E[X_1] + E[X_2] + … + E[X_n] &= mu + mu + … + mu &= nmu end{align*}$$ and $$begin{align*} Var[M] &= Var[X_1 + X_2 + … + X_n] &= Var[X_1] + Var[X_2] + … + Var[X_n] &= sigma^2 + sigma^2 + … + sigma^2 &= nsigma^2 end{align*}$$ It seems like it might be possible to use this result to answer the question for $m > 1$; we simply need to find an expression (or close approximation) for $max(Y_1, Y_2, …, Y_m)$ where $Y_i = X_{ifrac{n}{m} + 1} + X_{ifrac{n}{m} + 2} + … + X_{ifrac{n}{m} + frac{n}{m}}$, a random variable with $mu_Y = frac{n}{m}mu_X$ and $sigma_Y^2 = frac{n}{m}sigma_X^2$. Is this heading in the right direction?
Asked By : Patrick87
Answered By : svinja
- Lower variance is better, all else being equal.
- As the number of processors grows, lower variance becomes more important.
- As the number of tasks per processor grows, lower variance becomes less important.
Best Answer from StackOverflow
Question Source : http://cs.stackexchange.com/questions/1236