Memory-Aware Scheduling Parallel Real-Time Tasks for Multicore Systems

被引:1
作者
Lei, Zhenyang [1 ]
Lei, Xiangdong [1 ]
Long, Jun [1 ]
机构
[1] Cent South Univ, Sch Comp Sci & Engn, Changsha 410083, Hunan, Peoples R China
关键词
Real-time system; parallel tasks; memory-aware scheduling; schedulability analysis; multicore processors; SCHEDULABILITY;
D O I
10.1142/S0218194021400106
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Shared resources on the multicore chip, such as main memory, are increasingly becoming a point of contention. Traditional real-time task scheduling policies focus on solely on the CPU, and do not take in account memory access and cache effects. In this paper, we propose parallel real-time tasks scheduling (PRTTS) policy on multicore platforms. Each set of tasks is represented as a directed acyclic graph (DAG). The priorities of tasks are assigned according to task periods Rate Monotonic (RM). Each task is composed of three phases. The first phase is read memory stage, the second phase is execution phase and the third phase is write memory phase. The tasks use locks and critical sections to protect data access. The global scheduler maintains the task pool in which tasks are ready to be executed which can run on any core. PRTTS scheduling policy consists of two levels: the first level scheduling schedules ready real-time tasks in the task pool to cores, and the second level scheduling schedules real-time tasks on cores. Tasks can preempt the core on running tasks of low priority. The priorities of tasks which want to access memory are dynamically increased above all tasks that do not access memory. When the data accessed by a task is in the cache, the priority of the task is raised to the highest priority, and the task is scheduled immediately to preempt the core on running the task not accessing memory. After accessing memory, the priority of these tasks is restored to the original priority and these tasks are pended, the preempted task continues to run on the core. This paper analyzes the schedulability of PRTTS scheduling policy. We derive an upper-bound on the worst-case response-time for parallel real-time tasks. A series of extensive simulation experiments have been performed to evaluate the performance of proposed PRTTS scheduling policy. The results of simulation experiment show that PRTTS scheduling policy offers better performance in terms of core utilization and schedulability rate of tasks.
引用
收藏
页码:613 / 634
页数:22
相关论文
共 22 条
[1]   Are Static Schedules so Bad ? A Case Study on Cholesky Factorization [J].
Agullo, Emmanuel ;
Beaumont, Olivier ;
Eyraud-Dubois, Lionel ;
Kumar, Suraj .
2016 IEEE 30TH INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM (IPDPS 2016), 2016, :1021-1030
[2]  
Alhammad A, 2015, 21ST IEEE REAL-TIME AND EMBEDDED TECHNOLOGY AND APPLICATIONS SYMPOSIUM (RTAS 2015), P285, DOI 10.1109/RTAS.2015.7108452
[3]   Optimal utilization bounds for the fixed-priority scheduling of periodic task systems on identical multiprocessors [J].
Baruah, SK .
IEEE TRANSACTIONS ON COMPUTERS, 2004, 53 (06) :781-784
[4]   Response-time analysis for globally scheduled symmetric multiprocessor platforms [J].
Bertogna, Marko ;
Cirinei, Michele .
RTSS 2007: 28TH IEEE INTERNATIONAL REAL-TIME SYSTEMS SYMPOSIUM, PROCEEDINGS, 2007, :149-158
[5]   Schedulability Analysis of Global Scheduling Algorithms on Multiprocessor Platforms [J].
Bertogna, Marko ;
Cirinei, Michele ;
Lipari, Giuseppe .
IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2009, 20 (04) :553-566
[6]   Global EDF Schedulability Analysis for Parallel Tasks on Multi-Core Platforms [J].
Chwa, Hoon Sung ;
Lee, Jinkyu ;
Lee, Jiyeon ;
Phan, Kiew-My ;
Easwaran, Arvind ;
Shin, Insik .
IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2017, 28 (05) :1331-1345
[7]   Global Real-Time Memory-Centric Scheduling for Multicore Systems [J].
Yao, Gang ;
Pellizzoni, Rodolfo ;
Bak, Stanley ;
Yun, Heechul ;
Caccamo, Marco .
IEEE TRANSACTIONS ON COMPUTERS, 2016, 65 (09) :2739-2751
[8]  
Jiang X, 2016, PROCEEDINGS OF 2016 IEEE REAL-TIME SYSTEMS SYMPOSIUM (RTSS), P237, DOI [10.1109/RTSS.2016.18, 10.1109/RTSS.2016.031]
[9]   Controlling Preemption for Better Schedulability in Multi-Core Systems [J].
Lee, Jinkyu ;
Shin, Kang G. .
PROCEEDINGS OF THE 2012 IEEE 33RD REAL-TIME SYSTEMS SYMPOSIUM (RTSS), 2012, :29-38
[10]   Concurrency control in mobile distributed real-time database systems [J].
Lei Xiangdong ;
Zhao Yuelong ;
Chen Songqiao ;
Yuan Xiaoli .
JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2009, 69 (10) :866-876