Publications

Detailed Information

Conditionally Optimal Parallelization of Real-Time Tasks for Global EDF Scheduling : Global EDF 스케줄링을 위한 실시간 태스크의 조건부 최적 병렬화

DC Field Value Language
dc.contributor.advisor이창건-
dc.contributor.author조영은-
dc.date.accessioned2022-06-08T06:34:49Z-
dc.date.available2022-06-08T06:34:49Z-
dc.date.issued2022-
dc.identifier.other000000171180-
dc.identifier.urihttps://hdl.handle.net/10371/181102-
dc.identifier.urihttps://dcollection.snu.ac.kr/common/orgView/000000171180ko_KR
dc.description학위논문(박사) -- 서울대학교대학원 : 공과대학 컴퓨터공학부, 2022.2. 이창건.-
dc.description.abstractReal-time applications are rapidly growing in their size and complexity. This trend is apparent even in extreme deadline-critical sectors such as autonomous driving and artificial intelligence. Such complex program models are described by a directed-acyclic-graph (DAG), where each node of the graph represents a task, and the connected edges portray the precedence relation between the tasks. With this intricate structure and intensive computation requirements, extensive system-wide optimization is required to ensure a stable real-time execution.

On the other hand, recent advances in parallel computing frameworks, such as OpenCL and OpenMP, allow us to parallelize a real-time task into many different versions, which is called ``parallelization freedom.'' Depending on the degree of parallelization, the thread execution times can vary significantly, that is, more parallelization tends to reduce each thread execution time but increase the total execution time due to parallelization overhead.

By carefully selecting a ``parallelization option'' for each task, i.e., the chosen number of threads each task is parallelized into, we can maximize the system schedulability while satisfying real-time constraints. Because of this benefit, parallelization freedom has drawn recent attention. However, for global EDF scheduling, G-EDF for short, the concept of parallelization freedom still has not brought much attention. To this extent, this dissertation proposes a way of optimally assigning parallelization options to real-time tasks for G-EDF on a multi-core system. Moreover, we aim to propose a polynomial-time algorithm that can be used for online situations where tasks dynamically join and leave.

We formalize a monotonic increasing property of both tolerance and interference to the parallelization option to achieve this. Using such properties, we develop a uni-directional search algorithm that can assign parallelization options in polynomial time, which we formally prove the optimality.

With the optimal parallelization, we observe significant improvement of schedulability through simulation experiment, and then in the following implementation experiment, we demonstrate that the algorithm is practically applicable for real-world use-cases.

This dissertation first focuses on the traditional task model, i.e., multi-thread task model, then extends also to target the multi-segment (MS) task model and finally discusses the more general directed-acyclic-graph (DAG) task model to accommodate a wide range of real-world computing models.
-
dc.description.abstract이 논문은 Global EDF 스케줄러에서의 실시간 태스크의 최적 병렬화 기법에 대해 기술한다. 이를 위해 병렬화 옵션 증가에 대해 tolerance와 interference가 단조 증가함을 수학적으로 밝힌다. 이러한 특성을 이용하여, 다항식 시간안에 수행될 수 있는 실시간 태스크의 병렬화 기법을 제안하고, 수학적으로 최적의 방법임을 증명한다. 시뮬레이션 실험을 통해, 실시간 태스크의 스케줄링 성능의 비약적인 상승을 관찰하고, 이어지는 실제 세계 워크로드를 이용한 구현 실험에서 실제 세계 적용 가능성을 점검한다. 이 논문은 먼저 전통적인 멀티쓰레드 태스크 모델을 대상으로 최적 병렬화 방법을 논하며, 이후 멀티 세그먼트, DAG 태스크 모델까지 확장하는 방법을 기술한다.-
dc.description.tableofcontents1. Introduction 1
1. 1 Motivation and Objective 1
1. 2 Approach 3
1. 3 Organization 4

2. Related Work 5
2. 1 Real-Time Multi-Core Scheduling 5
2. 2 Real-Time Multi-Core Task Model 6
2. 3 Real-Time Multi-Core Schedulability Analysis 7

3. Optimal Parallelization of Multi-Thread Tasks 9
3. 1 Introduction 9
3. 2 Problem Description 10
3. 3 Extension of BCL Schedulability Analysis 12
3. 3. 1 Overview of BCL Schedulability Analysis 13
3. 3. 2 Properties of Parallelization Freedom 17
3. 4 Optimal Assignment of Parallelization Options 30
3. 4. 1 Optimal Parallelization Assignment Algorithm 33
3. 4. 2 Optimality of Algorithm1 35
3. 4. 3 Time Complexity of Algorithm1 38
3. 5 Experiment Results 38
3. 5. 1 Simulation Results 39
3. 5. 2 Simulated Schedule Results 43
3. 5. 3 Survey on the Boundary Condition of the Parallelization Freedom 45
3. 5. 4 Autonomous Driving Task Implementation Results 48

4. Conditionally Optimal Parallelization of Multi-Segment and DAG Tasks 56
4. 1 Introduction 56
4. 2 Multi-Segment Task Model 58
4. 3 Extension of Chwa-MS Schedulability Analysis 60
4. 3. 1 Chwa-MS Schedulability Analysis 60
4. 3. 2 Tolerance and Interference of Multi-Segment Tasks 62
4. 4 Assigning Parallelization Options to Multi-Segments 63
4. 4. 1 Parallelization Route 63
4. 4. 2 Assigning Parallelization Options to Multi-Segment Tasks 66
4. 4. 3 Time complexity of Algorithm2 69
4.5 DAG (Directed Acyclic Graph) Task Model 69
4. 6 Extension of Chwa-DAG Schedulability Analysis 73
4. 6. 1 Chwa-DAG Schedulability Analysis 73
4. 6. 2 Tolerance and Interference of DAG Tasks 78
4. 7 Assigning Parallelization Options to DAG Tasks 87
4. 7. 1 Parallelization Route for DAG Task Model 87
4. 7. 2 Assigning Parallelization Options to DAG Tasks 90
4. 7. 3 Time Complexity of Algorithm3 91
4. 8 Experiment Results: Multi-Segment Task Model 93
4. 9 Experiment Results: DAG Task Model 96
4. 9. 1 Simulation Results 97
4. 9. 2 Implementation Results 100

5 Conclusion 104
5. 1 Summary 104
5. 2 Future Work 105

6. References 106
-
dc.format.extentviii, 118-
dc.language.isoeng-
dc.publisher서울대학교 대학원-
dc.subjectReal-Time-
dc.subjectMulti-Core Scheduling-
dc.subjectParallelization Freedom-
dc.subjectOptimal Parallelization-
dc.subject.ddc621.39-
dc.titleConditionally Optimal Parallelization of Real-Time Tasks for Global EDF Scheduling-
dc.title.alternativeGlobal EDF 스케줄링을 위한 실시간 태스크의 조건부 최적 병렬화-
dc.typeThesis-
dc.typeDissertation-
dc.contributor.AlternativeAuthorYoungeun Cho-
dc.contributor.department공과대학 컴퓨터공학부-
dc.description.degree박사-
dc.date.awarded2022-02-
dc.contributor.major실시간시스템-
dc.identifier.uciI804:11032-000000171180-
dc.identifier.holdings000000000047▲000000000054▲000000171180▲-
Appears in Collections:
Files in This Item:

Altmetrics

Item View & Download Count

  • mendeley

Items in S-Space are protected by copyright, with all rights reserved, unless otherwise indicated.

Share