The paper proposes INSPIRIT, an efficient and lightweight scheduling framework designed for task-based runtime systems on heterogeneous hardware resources.
Key highlights:
The paper first observes that priority-based scheduling can effectively improve performance, but the generation of optimal priorities is challenging as it heavily depends on both the application and hardware characteristics. To address this, the authors propose the concepts of inspiring ability and inspiring efficiency.
Inspiring ability represents the number of dependencies released upon task completion, while inspiring efficiency represents the number of dependencies a task can release per unit time. INSPIRIT leverages these two attributes to adaptively adjust task priorities during runtime. When there are not enough tasks scheduled, INSPIRIT prioritizes tasks with higher inspiring efficiency to ensure maximum hardware utilization. When there are sufficient tasks, INSPIRIT prioritizes tasks with higher inspiring ability to generate more potential tasks and sustain parallelism.
INSPIRIT also monitors the number of ready tasks (Nready) in worker queues as an indicator to guide task execution. By regulating Nready, INSPIRIT can effectively reduce the overhead of task mapping adjustment across different hardware while concurrently monitoring the runtime state.
The evaluation results demonstrate that INSPIRIT achieves superior performance compared to cutting-edge scheduling schemes on both synthesized and real-world task DAGs, with speedups ranging from 1.03x to 3.22x.
Naar een andere taal
vanuit de broninhoud
arxiv.org
Belangrijkste Inzichten Gedestilleerd Uit
by Yiqing Wang,... om arxiv.org 04-05-2024
https://arxiv.org/pdf/2404.03226.pdfDiepere vragen