THINK FIRST·CODE LATER

← Operating Systems
Chapter 6 · Week 6

Scheduling on Heterogeneous Systems: Workflows, HEFT and Beyond

Answered 0/30 Correct 0
Sign in to save progress across devices
Q1

In a workflow DAG, what does an edge T1 → T4 with weight 9 mean?

Q2

Why is communication cost usually taken as zero when two dependent tasks run on the same processor?

Q3

What is the makespan of a schedule?

Q4

A workflow takes 22 time units on the best single processor and 17 with HEFT on 2 processors. What are the speedup and efficiency?

Q5

The makespan is 17 and the critical path computed with each task's minimum cost (CP_MIN) is 15. What is the SLR, and what does SLR = 1 mean?

Q6

Why do researchers use heuristics such as HEFT instead of computing the optimal schedule?

Q7

Task T4 has average cost w̄ = 4 and one successor T5 (rank_u = 3) with communication cost 2. What is rank_u(T4)?

Q8

Task T1 (w̄ = 5) has successors T2 (edge 2, rank_u 11) and T3 (edge 3, rank_u 17). What is rank_u(T1)?

Q9

In HEFT, in what order are tasks considered for scheduling?

Q10

Why is decreasing rank_u always a valid topological order?

Q11

T3 depends on T1 (edge cost 3). T1 runs on P1 and finishes at 4. T3 costs 6 on P1 (free from time 4) and 8 on P2 (idle). What is EFT(T3) on each processor?

Q12

What is HEFT's insertion-based policy?

Q13

How does HEFT choose a processor for a task?

Q14

On the classic 10-task, 3-processor example from the HEFT paper, what makespan does HEFT produce?

Q15

Which tasks lie on the critical path used by CPOP?

Q16

What is the main weakness of HEFT that PEFT addresses?

Q17

In PEFT, a task can run on P1 with EFT 20 and OCT 30, or on P2 with EFT 24 and OCT 18. Which processor does PEFT choose?

Q18

On the classic 10-task example, PEFT gives makespan 85 while HEFT gives 80. What is the correct research conclusion?

Q19

What does a high CCR (communication-to-computation ratio) mean for scheduling?

Q20

Why do cloud versions of workflow scheduling add a budget constraint (as in BUDA or BUCAS)?

Q21

What is the idea behind look-ahead algorithms such as PEFT and PPTS?

Q22

How can reinforcement learning be used in list scheduling?

Q23

CPOP places all critical-path tasks on one processor. Which processor does it choose?

Q24

Why can HEFT's use of average computation costs in rank_u be misleading when processors are very heterogeneous?

Q25

Which is a real scientific workflow commonly used to evaluate scheduling algorithms?

Q26

A research paper reports that its new scheduler beats HEFT, but it was tested on 5 hand-picked DAGs and does not report its own running time. What are the main weaknesses?

Q27 Short answer

Compute rank_u and rank_d for the five-task example (costs P1/P2: T1 4/6, T2 5/3, T3 6/8, T4 3/5, T5 4/2; edges T1→T2 2, T1→T3 3, T2→T5 4, T3→T4 1, T4→T5 2), give the HEFT priority order and identify the critical path.

Q28 Short answer

Schedule the same five-task example with HEFT on two processors. Show EFT on each processor at every step, the final schedule and makespan, and compute speedup, efficiency and SLR.

Q29 Short answer

Explain the difference between HEFT's processor selection and PEFT's, and describe a DAG situation where PEFT's choice is better.

Q30 Short answer

EdgeCampus runs a video-analytics workflow on 2 edge GPUs and 1 cloud CPU VM rented at a price per minute. Describe how you would extend HEFT to respect a budget, and which trade-off the scheduler faces.