| Algorithm 4. Task Scheduling Decision. |
|
Input: Input from Table 1 (LEGENDS Table) Output: Job Scheduling 1: (B, T, L, App, S) 2: (m) 3: (n) 4: (T) 5: (VM, N, Schedular) 6: Execution of Algorithms 1–3. 6: (T, D, C) Schedular( ) 7: for (T ≥ 0) do calculateexe_time( ) F ← ΔTm/ΔTexc end for 8: while (job_size ≤ threshold) do C(B, F, Mb, Mloc, Mstorage) if (C ≤ M) then job_exeM( ) else activeCloud(VM) submitC(J)( ) exejob( ) end if end while 9: Job_stateStore( ) |