A Randomization Approach for Stochastic Workflow Scheduling in Clouds

. In cloud systems consisting of heterogeneous distributed resources, scheduling plays a key role to obtain good performance when complex applications are run. However, there is unavoidable error in predicting individual task execution times and data transmission times. When this error is being not negligible, deterministic scheduling approaches (i.e., scheduling based on accurate time prediction) may suffer. In this paper, we assume the error in time predictions is modelled in stochastic manner, and a novel randomization approach making use of the properties of random variables is proposed to improve deterministic scheduling. The randomization approach is applied to a classic deterministic scheduling heuristic, but its applicability is not limited to this one heuristic. Evaluation results obtained from extensive simulation show that the randomized scheduling approach can significantly outperform its static counterpart and the extra overhead introduced is not only controllable but also acceptable.


Introduction
Workflows have been widely used in various domains to depict complex computational application with multiple indivisible tasks and the data dependencies between tasks [1].These workflows are normally derived from scientific problems in the fields of mathematics, astronomy, and so forth, for example, Montage [2].As the massive requirements of calculation and communication became overwhelming in these disciplines, clusters and grids, as evolutionary forms of distributed computing, have been used to run workflow applications since the end of the 20th century [3,4].Recently, with more flexible and scalable capacity on computation and storage and less hardware/software installation expense, it has been gaining increasing popularity of using cloud computing infrastructure to run workflows [5][6][7][8][9].
The assignment of workflow tasks to computing resources, which is called workflow scheduling, is one of the key effects on the execution performance of the workflow in distributed computing environments like clouds.In general form of scheduling problems, a workflow is frequently represented by a Directed Acyclic Graph (DAG), where the nodes symbolize the tasks and the arcs with direction symbolize the data dependencies between tasks.The two terms "node" and "arc" will be interchangeably used in the rest of this paper.The most commonly focused objective of DAG scheduling is the minimization of the makespan (namely, overall execution time) of the workflow.Generally a DAG scheduling problem has been proven to be NP-Hard [10].For getting closer favourable solution to this problem with acceptable time and space complexity, many researches have been carried out, and many heuristics have been proposed and published in the literature [11,12].
Nevertheless, for majority of the existing DAG scheduling heuristics, the targeted DAG is modelled deterministically [13].This means that the heuristics assumptions to the problem of inputs like task execution times and intertask communication times are deterministic and precisely defined before.Clearly, the real-world workflow execution is much more complex than the above assumption because it is not possible to obtain accurate forecast of calculation and communication.Intuitively, the modelling of task computation times and communication times as random variables might be more realistic; it is also reasonabe to assume that the expected random variables and the variance can be predicted.In contrast to their deterministic counterparts, 2 Scientific Programming the DAG scheduling problems modelled in stochastic fashion are called stochastic scheduling [14].A big number of heuristics have been proposed for deterministic scheduling, but a small number for stochastic.There have been a plethora of studies showing deterministic DAG scheduling heuristics can hardly work well for their stochastic counterpart problems.This motivates the research on somehow adapting the existing deterministic DAG scheduling heuristics into the stochastic context and making improvement in terms of minimizing makespan, which is also the main focus of this paper.
In this paper, we consider the problem of scheduling a workflow onto a set of heterogeneous resources based on stochastic modelling of task execution times and task communication times with the objective of minimizing the makespan.For such a problem, a novel randomization scheduling approach is proposed.The proposed approach is applied to a classic deterministic scheduling heuristic and evaluated via extensive simulation experiments and the results exhibit a significant improvement of workflow execution performance with an acceptable extra overhead.
The rest of the paper is structured as follows.Related work is discussed in Section 2. The stochastic DAG scheduling problem and relevant definitions are presented in Section 3. The proposed randomization scheduling approach with an illustrative example is described in Section 4. The evaluation results are provided and discussed in Section 5. Finally, a conclusion is provided in Section 6.

Related Work
The past few decades witnessed a large number of efforts on developing various deterministic DAG scheduling heuristics, including HEFT [11], HBMCT [16], CPOP [11], GDL (DLS) [17], WBA [18], ILS [19], GA [20], SA [21], Triplet [22], TDS [23], STDS [24], and LDBS [25].For an extensive list and classification of these heuristics we refer to [15,26].These heuristics differentiate with our work at the fact that they are based on deterministic scheduling model other than our stochastic model.Apparently, even when task execution times and data transmission times are modelled by some sort of random distribution, one can still apply one of the aforementioned deterministic scheduling heuristics by using the means of the random variables as inputs.However, as will be demonstrated later in this paper, this idea does not lead to a preferable schedule in most cases.Therefore, we derive a randomization approach by taking advantage of properties of random task execution times and data transmission times (as opposed to constant values).Although our approach can work with any deterministic heuristic in stochastic scheduling problems, we choose using the commonly cited and well-known deterministic heuristic: HEFT [11].
HEFT [11] is a deterministic list scheduling heuristic which aims to minimize the makespan of DAG applications on a bounded number of heterogeneous resources.The heuristic consists of two phases.In the first phase, the heuristic computes numeric ranks for all tasks based on their execution time predictions and data dependencies and then prioritizes tasks in a list.In the second phase, by the prioritized order, each task is allocated in turn to the resource which is estimated to minimize finished time of the task.It is worth mentioning that HEFT allows a task to be inserted into the existing task queue of a resource as long as the task dependency is not violated.
It has been widely recognized that due to the inaccuracy in time prediction deterministic scheduling heuristic relying on constant input may result in bad decision [27].Over the recent years, some works have been carried out to evaluate the performance of deterministic DAG scheduling heuristics with stochastic model, such as [26,28].However, the main focus of these works is not on proposing an efficient scheduling heuristic for the stochastic DAG scheduling problem.One of recently popular ideas of addressing stochastic DAG scheduling problems is adapting the existing deterministic heuristics by changing their ranking function and/or the way of comparing task attributes.Examples can be found in [29][30][31].Nevertheless, these heuristics still make scheduling decision in a deterministic manner.In contrast, our heuristic is randomized.
In our previous study [15], a Monte-Carlo based approach has been applied to the stochastic DAG scheduling problem to acquire a schedule which can outperform schedules generated by other comparable means.In essence, this approach relies on a significant amount of random searches on the solution space as well as an extensive evaluation for picking up the result schedule.As a result, a result schedule with a reasonable performance requires a considerable overhead.This paper is an extension to our previous work [32].In this paper, we only do local search around a well-crafted schedule and the cost of evaluation of the searching results is trivial.That is to say, the overhead of the heuristic proposed in this paper is much less than the Monte-Carlo based approach, while a significant improvement on makespan can still be achieved.

Problem Description
3.1.Application Model.In this paper, a workflow application is represented by a Directed Acyclic Graph (DAG)  = {, }, where  denotes a set of interdependent tasks, each of which is represented by V  , that is,  = {V  |  = 1, 2, . . ., }, and  denotes a set of directed arcs, each of which represents data dependency between two tasks, that is,  = { , }.For instance,  , = V  → V  means the input of task V  depends on the output of task V  .In this case, V  is a child of V  and V  is a parent of V  ; moreover, V  cannot start to run before receiving all necessary data from its parents.The node without parents is called entry node, and the node without children exit node.For the sake of standardization we assume that every DAG here has only one single entry node and one single exit node.For illustration, Figure 1 presents an example of DAG with 10 nodes.

Platform Model.
We assume that the underlying computing platform comprises a fixed number of heterogeneous resources and uses  = { 1 ,  2 , . . .,   } to denote the set of resources.A task V can be executed at any resource ; however a resource cannot execute more than one task at a time.In addition, no temporal interruption is allowed during this execution.There is a dedicated dual-direction communication link between every pair of resources.This means that the tasks allocated onto different resources can transmit data to each other with no contention.For any random variable RV, we use (RV) and (RV) to represent the expectation and the standard deviation of RV.Given that ET , represents the random variable modelling the execution time of task V  on resource   and CT ,,, the time for transmitting data from V  located on   to V  located on   , we assume that for each  and  (1 ≤  ≤ , 1 ≤  ≤ ) (ET , ) and (ET , ) are known.We also assume the data amount transmitted on each edge (denoted by  , ), and the average time needed for transmitting one unit of data from one resource to another (denoted by  , ) is known, so as well as (CT ,,, ), is known.For illustration, Tables 1(a) and 1(b) show the stochastic model of task execution times and communication times of the DAG depicted in Figure 1.Table 2 shows an example of possible outcome of the stochastic model presented in Tables 1(a) and 1(b).We use ST , to denote the start time of task V  on resource   and FT , the finish time.In addition, we let pre() and suc() stand for the set of parents and children of V  , respectively, and alloc() symbolize the resource where V  is allocated.Obviously, we have In addition, Given that the start time of entry node is always time 0, based on the definitions and assumptions presented above, the problem to be addressed in this paper is to generate a schedule , which specifies the mapping of tasks and resources, as well as the execution order of tasks on each resource, so that the random variable FT exit node, alloc(exit node) can be minimized.
Input: DAG  on a set of resources  with stochastic model Output: A schedule specifying task mapping and execution order (1) Create a candidate schedule list L, which is initially empty.
(2) Run a deterministic heuristic DH to generate the schedule entirely based on all mean values of task execution times and communication times, and put the schedule into L. (3) while the termination condition of the producing phase is not met repeat (4) Run the randomized heuristic RH and push the result schedule into L. (5) endwhile (6) Compute the expected makespan based on mean values of all stochastic inputs for each schedule in L. (7) Return the schedule with the minimum expected makespan as the result schedule.
Algorithm 1: The outline of the randomization scheduling approach.

Method
In this section, we firstly present the basic idea of the proposed randomization approach and then describe the details of the randomized HEFT heuristic (RHEFT), which is derived from the combination of our randomization approach and the classic HEFT heuristic.Furthermore, an enhanced version of RHEFT (named, ERHEFT) is proposed.
4.1.Basic Idea.Among different categories of deterministic DAG scheduling heuristics, list scheduling seems receiving most research attention, because this kind of heuristics can usually obtain a reasonably good schedule result without too much overhead.As mentioned in Section 1, deterministic DAG scheduling heuristics receive constant time prediction as inputs.List scheduling heuristics firstly sort all workflow tasks in terms of a rank, which is computed based on the time prediction and associated with each task, and then allocate the sorted tasks one after another onto a specific resource.The resource where a task is allocated is normally decided by which resource can minimize a certain time-related attribute (e.g., estimated finish time of the current task) that can be calculated based on the time prediction and is distinctive on different resources.By doing so, list scheduling aims at a good trade-off between optimization and algorithm complexity.However, there is no guarantee that the resource allocation made is the best possible decision for minimizing makespan.
The issue is more complicated in the case of stochastic scheduling model.It will be more doubtable whether the scheduling decision made by deterministic list scheduling results will be favourable for minimizing the makespan, because the time prediction based on which decision is made is unreliable.
Assuming the time prediction can be modelled by probability distribution, our hypothesis is that it is almost impossible to develop a static algorithm which can always obtain an optimal schedule.Therefore, we consider generating a set of various schedules based on the random prediction and pick up that one which has the best chance to win.As the time prediction is modelled randomly, when comparing two time-related variables, for example, task finish times of different tasks, there is no certain result.To decide which task finished earlier, we need to roll a dice.Apparently, by randomly deciding the comparison result of task finish times, which is important factors for making scheduling decision, we will generate various scheduling results.We regard all these schedules as candidates and the one which has the smallest expectation of makespan as the final output of our approach.
The outline of our randomization scheduling approach is presented in Algorithm 1, where DH denotes a given deterministic DAG scheduling heuristic and RH means a randomized scheduling heuristic.

The Randomized HEFT Heuristic (RHEFT).
Among existing list scheduling heuristics, the most well-known and commonly cited one is heterogeneous-earliest-finishtime (HEFT) heuristic [11].We thereby choose to apply the aforementioned randomization approach to HEFT and propose a novel approach named RHEFT which is based on a randomized HEFT.Namely, we let DH be HEFT and RH the randomized HEFT.
The details of the randomized HEFT heuristic are presented in Algorithm 2. Similar to HEFT, the randomized HEFT has two phases.In the first phase (Algorithm 2, lines: 1-2), the upward ranking of each node (denoted by Urank) is computed as follows: where Especially for exit node, we have Urank(V exit node ) = ET exit node .
In the second phase of the randomized HEFT (Algorithm 2, lines: 3-9), it is needed to compute for each node on each resource the earliest estimate start time (denoted by (1) Compute Urank (as defined in ( 4)) for all tasks.
(2) Sort all tasks in a list L in the non-descending order of Urank.
(3) for  fl 1 to  do (where  is the number of tasks) (4) Select the th task V * from the list L. (5) for each resource   ∈  do (6) Compute the mean value and variance of estimated finish time of V * on   (as defined in (7)).( 7) endfor (8) Decide the winner resource of estimated finish time ( * ) for V * according to the random comparison policy.(9) Allocate V * to  * .(10) endfor Algorithm 2: The randomized HEFT heuristic.
EST) and the earliest estimate finish time (denoted by EFT), which are defined as follows: {EFT , + CT ,,, }} , (6) where AVT  is the earliest available time of resource   to allocate V  , taking into account the current load of   and the estimate execution time of V  on   (i.e., (ET , )).
In addition,   = alloc().Apparently, at this moment, V  has already been allocated.Particularly, for the entry node, EST entry node, = 0 for every   .The main difference between the randomized HEFT and its initial version is the random comparison policy mentioned in line 8.For each task, we use this comparison policy to compare the estimated finish times (i.e., EFT) of different resources, which are random variables in our stochastic model, as the estimated finish time is determined by summing up the task execution times and the communication times along the critical path.Let CP denote the critical path, ND the set of nodes, and ED the set of edges along with CP; then we have the earliest finish time as below: For ease of analysis, we assume all task execution times and communication times follow normal distribution.Then we have Say there are two random variables EFT and EFT  to compare and determine which is larger.We let DV = EFT−EFT  .Then we have Apparently, the value of DV corresponds to the comparison result of EFT and EFT  .The key idea of our random comparison policy is to make a random draw of DV value, if the outcome is less than zero, EFT < EFT  ; otherwise, EFT ≥ EFT  .However, to implement a precise random draw of DV is not easy.Therefore, we use (DV) and (DV) for approximation.In detail, without losing generality, we assume (DV) > 0, and if 2 × (DV) > (DV), else (DV < 0) = 0.One can easily get (DV ≥ 0) = 1 − (DV < 0).That is to say, the comparison result between EFT and EFT  is a 0-1 random variable.With probability of (DV < 0), the outcome is EFT < EFT  ; with probability of (DV ≥ 0), EFT ≥ EFT  .By this random comparison policy, the deterministic HEFT is randomized.Note that as described in Algorithm 1 (lines 3-5), RHEFT requires running the randomized HEFT for a certain number of times to generate candidate schedules.
For illustration purpose, we run HEFT and RHEFT to the DAG example modelled by Figure 1 and Table 1 and obtain scheduling results, respectively.For RHEFT, the scheduling result is picked up from 10 candidates.In order to present these scheduling results, we assume the values shown in Table 2 are the real task execution times and data transmission times.Then the scheduling details can be depicted by Figure 2. In this case, RHEFT obtains a makespan of 117.17, which makes a significant improvement (19.8%) to HEFT with a makespan of 146.15.We examine these two issues by evaluation in the rest of this subsection.

Evaluation Setting.
We built a simulated computing system and a stochastic DAG generator, which allow various parameter settings.We use two types of DAGs: Montage [2] and LIGO [33] as shown in Figure 3, which are derived from real-world applications and have distinctive structures and sizes.We consider the number of resources used to be 3 and 8.All random variables used in our stochastic model are assumed to follow normal distribution.For the execution time of each task on each resource, we randomly select its expected value from the range of [1,100] and its standard deviation value as 1/6 of its expected value.Similar setting is applied to the communication time between tasks on different resources.We specify a parameter named communication-computation-ratio (CCR), which means the ratio between the average communication cost and the computation one, and adjust the value of communication times to meet the specified CCR value.We randomly specify the CCR value from [0.5, 1.5] in our experiments.

How Many Candidate Schedules Are Needed?
One can easily imagine that the more times RHEFT runs the randomized HEFT heuristic, the more likely a better candidate schedule may be obtained, and on the other hand the more time cost is needed to be paid.In order to examine how many times RHEFT should repeat running the randomized scheduling procedure, we specify four DAG instances and observe the expected makespan RHEFT can gain for these DAGs as the number of repetition grows.Figure 4 shows the observation results.In the diagram shown in Figure 4, RHEFT with zero repetition actually boils down to HEFT.As we can see from the curves denoting "Montage on 3 resources" and "LIGO on 8 resources," the expected makespan of RHEFT reduces rapidly as the number of repetitions grows.After the number of repetitions reaches 10, no significant improvement can be observed on the expected makespan.This observation indicates that RHEFT is promising, as it can generate a candidate schedule which is fairly better than HEFT's with only few more repetitions.

Improvement Rate on Makespan. Next, we observe to
what extent can a RHEFT schedule improve a HEFT schedule on the expected makespan.Again, we consider the DAG type to be Montage with 34 nodes and LIGO with 77 nodes and the number of resources to be 3 and 8. Then for each combination of the DAG type and the number of resources, we generate 100 instances of the stochastic model.For each instance, we collect the expected makespans obtained by RHEFT and HEFT, respectively.For comparison, we define the metric "improvement rate," which is the ratio between the reduced expected makespan and the expected makespan of HEFT. Figure 5 shows the results of improvement rate.In general, RHEFT obtains significant improvement on the expected makespan (above 20%) in the case where LIGO is used.Nevertheless, when Montage is used, RHEFT obtains a similar result in the majority of cases of the 100 instances.It can also be seen that the advantage of RHEFT over HEFT may be weakened as the number of resources increases.Anyway, with every setting of DAG type and resource number, there is always a chance that RHEFT can reduce the expected makespan more than 20%.

4.4.
The Enhanced RHEFT Heuristic.By making random decision in the resource allocation phase of HEFT, we derive a novel scheduling approach RHEFT which significantly outperforms HEFT on minimizing makespan.This encourages us to extend RHEFT by making random decision when prioritizing the tasks in the listing phase.
The extension is fairly straightforward.In the first phase of the randomized HEFT (Algorithm 2, lines: 1-2), instead of defining task rank by the constant value Urank (as defined in ( 4)), we consider it as a random variable Rrank.The definition of Rrank is somehow correlated with Urank.Recall that by (4), for task V  , Urank(V  ) is calculated by accumulating the time costs associated with the nodes and edges along the critical path from V  to the exit node.Let Ph  denote this critical path for V  ,   the set of nodes, and   the set of edges along with Ph  ; then we have the definition of Rrank(V  ) as below: where Especially for exit node, we have Rrank(V exit node ) = MET exit node .When prioritizing tasks in the listing phase, we need to compare the rank of V  with V  .The comparison procedure, which is named randomized prioritizing procedure, is carried out as follows: (1) We firstly examine if there is any task dependency between V  and V  .
(2) If V  is an ancestor of V  , V  should be given higher priority and placed before V  in the list.
(3) If there is no dependency between V  and V  , random variables Rrank(V  ) and Rrank(V  ) will be compared by the random comparison policy as described in Section 4 to determine which one has the higher priority.
(2) Sort all tasks in a list L in the non-descending order of Rrank according to the randomized prioritizing procedure.
(3) for  fl 1 to  do (where  is the number of tasks) (4) Select the th task V * from the list L. (5) for each resource   ∈  do (6) Compute the mean value and variance of estimated finish time of V * on   (as defined in (7)).( 7) endfor (8) Decide the winner resource of estimated finish time ( * ) for V * according to the random comparison policy.(9) Allocate V * to  * .(10) endfor Algorithm 3: The enhanced randomized HEFT heuristic.We apply the above procedure to the listing phase of RHEFT and then derive the enhanced RHEFT heuristic, namely, ERHEFT.The details of the enhanced randomized HEFT heuristic are provided in Algorithm 3.
Apparently, when ERHEFT generates candidate schedules, the prioritized task list may be different from that of RHEFT.This makes it possible for ERHEFT to generate more candidate schedules than RHEFT can do.As a result, a schedule with better makespan may be obtained.For illustration, Figure 6 shows the scheduling result by applying ERHEFT to the DAG example modelled by Figure 1 and Table 1.This schedule has a makespan of 103.67 which is better than the schedule acquired by RHEFT as shown in Figure 2(b).
Similar to the way by which we investigate in Section 4.3.2,we observe how the expected makespan of ERHEFT changes as the number of repetitions used increases.Here, the same evaluation setting as specified in Section 4.3.2 is used and the result is shown in Figure 7.This result indicates that 200 may be the appropriate number of repetitions that should be used by ERHEFT.

Evaluation
In order to compare the performance of HEFT, RHEFT, and ERHEFT in stochastic scheduling model, we adopt the evaluation setting as mentioned in Section 4.3.1 and evaluate the expected makespan and the time cost of the competitors with different configurations of evaluation parameters.The machine we used to carry out the evaluation has the following hardware configuration: CPU Intel I3-4130 3.40 GHz, 4 G DDR3 memory, and 500 G hard disk.We used Java (JDK 1.7) to implement all heuristics and the simulation.
First, we evaluate the average makespan that HEFT, RHEFT, and ERHEFT can obtain with stochastic model.For each experiment, we firstly specify the DAG type and the number of resources we are going to use.Then we generate the expected value and variance for stochastically modelling  each task execution time and then generate communication times with specified CCR value, which as a whole is called a stochastic model of the given DAG and resources.For each combination of a DAG and a set of resources, we generate 100 stochastic models.And for each stochastic model, we run HEFT, RHEFT, and ERHEFT and obtain their schedules, respectively.Each time we take a sample for the stochastic model (as shown in Table 2, including all execution times and communication times), we can view them as runtime information gathered after the DAG application completes and use them to evaluate the performance of each schedule.To be fair, we take 100 samples from each stochastic model.So the result for each compared heuristic on a given DAG and given resources is averaged over 10000 experiments (100 stochastic models, each of which has 100 samples) in total.For comparison, we use the metric of "speedup" which is defined as the ratio between the average sequential execution time of all tasks and the makespan obtained by a heuristic.
In order to compare the heuristic competitors in different scenario, we consider the number of resources to be 3, 6, and 8 and collect the average speedup results for CCR being equal to 0.1, 1, and 10, respectively.The collected results are shown in Figure 8.
One can easily see that in all combination of evaluation parameter settings ERHEFT has better average speedup than RHEFT, while RHEFT has better average speedup than HEFT.The improvement on average speedup of ERHEFT over HEFT can be up to around 20% in the case where Montage is executed on 3 resources and CCR = 0.1 is used.It is interesting to see that the effectiveness of ERHEFT and RHEFT is closely related to CCR.When CCR is high, ERHEFT and RHEFT usually achieve more significant improvement on average speedup over HEFT.This indicates our randomization approach may work better with workflow applications which are data intensive.However, when CCR turns to be as low as 0.1, the difference in the average speedup obtained by HEFT, RHEFT, and ERHEFT seems trivial.From a different perspective, this may also imply that HEFT works especially well with computation intensive applications and thus leave little space for further improving its makespan.
In addition, we measure the time cost needed by HEFT, RHEFT, and ERHEFT with different sizes of Montage DAG and different numbers of resources.We use the ratio of the time cost of RHEFT (ERHEFT) over that of HEFT as the metric and the measurement result is shown in Figure 9.
From the diagram we can see that in most of the cases the ratio of RHEFT over HEFT is within the range of 5 to 15.Moreover, there is no rapid ascending trend as the DAG size or the number of resources, which represents the scale of the scheduling problem, grows.This indicates that the time complexity of RHEFT is close to HEFT.Because HEFT usually needs very little time to compute a schedule, the additional overhead introduced by a certain number of loops of running HEFT and extra computation of random variables, which results in 5 to 15 times of the time cost of HEFT, is acceptable.The radio of ERHEFT over HEFT exhibits a curve similar to RHEFT over HEFT.Even though the radio of ERHEFT over HEFT reaches the range of 100 to 500, as the time cost for a single execution of HEFT is tiny, the overall time cost for ERHEFT is still acceptable.For instance, in our empirical results, for DAG with 234 nodes ERHEFT runs for 3.2 seconds while for 12 resources ERHEFT runs for only 1.9 seconds.Moreover, by adjusting the number of loops used in the RHEFT approach, we can flexibly get a good trade-off between the scheduling performance and the heuristic overhead.

Conclusion
In this paper, we explore into the problem of scheduling workflow tasks onto a set of heterogeneous cloud resources with stochastic model of task execution and communication.We attempt to extend deterministic DAG scheduling heuristic, to gain better average makespan.As a progress, a randomization scheduling approach is proposed.We apply the randomization approach to the classic deterministic heuristic HEFT and two versions of novel randomized heuristic: RHEFT and ERHEFT, are produced.We evaluate and compare the performance of HEFT, RHEFT, and ERHEFT with extensive simulation experiments where two real-world workflow applications are used.The experimental results suggest that RHEFT and ERHEFT are both promising for stochastic workflow scheduling, as RHEFT and ERHEFT not only significantly reduce the average makespan in most cases of experimental setting, but also exhibit reasonable scalability.Our future work may consider more stochastic model other than normal distribution and/or randomizing other deterministic DAG scheduling heuristics.

Figure 2 :
Figure 2: Scheduling result of the DAG example shown in Figure 1 by using (a) HEFT; (b) RHEFT.

Figure 6 :
Figure 6: Scheduling result of the DAG example shown in Figure 1 by using ERHEFT.

Figure 7 :
Figure 7: Change of expected makespan as the number of candidates generated by ERHEFT increases.

Table 2 :
A sampling of the stochastic model shown in Table1.(a) A sampling of stochastic task execution times 3.3.Problem Definition.The main objective of this paper is to minimize the overall execution time of a DAG application.