4.6 Article

Schedulability analysis for 3-phase tasks with partitioned fixed-priority scheduling

Journal

JOURNAL OF SYSTEMS ARCHITECTURE
Volume 131, Issue -, Pages -

Publisher

ELSEVIER
DOI: 10.1016/j.sysarc.2022.102706

Keywords

Real-time systems; Multicore processors; Partitioned scheduling; Bus contention; Schedulability analysis

Funding

  1. European Union [732505]
  2. North Portugal Regional Operational Programme (NORTE 2020), under the POR-TUGAL 2020 Partnership Agreement [NORTE-01-0145-FEDER000020]
  3. National Funds through FCT/MCTES (Portuguese Foundation for Science and Technology), within the CISTER Research Unit [UIDP/UIDB/04234/2020]
  4. FCT [POCI-01-0247-FEDER-045912]
  5. Portuguese National Innovation Agency [2020.09532.BD]

Ask authors/readers for more resources

Multicore platforms are widely used in Cyber-Physical Systems due to their advantages, but the sharing of memory bus between cores can lead to non-deterministic variations in task execution time. This paper proposes a partitioned scheduling-based approach to calculate the worst-case response time of tasks that follow the 3-phase task model, considering memory bus contention. The effectiveness of the proposed analysis is evaluated through case-study experiments and empirical evaluation, showing a significant improvement in task set schedulability.
Multicore platforms are being increasingly adopted in Cyber-Physical Systems (CPS) due to their advantages over single-core processors, such as raw computing power and energy efficiency. Typically, multicore platforms use a shared memory bus that connects the cores to the off-chip main memory. This sharing of memory bus may cause tasks running on different cores to compete for access to the main memory whenever data/instructions are need to be read/written from/to the main memory. Such competition is problematic, as it may cause variations in the execution time of tasks in a non-deterministic way. To reduce the complexity of analyzing this problem, the 3-phase task model was proposed that divides tasks' executions into distinct memory and execution phases. The distinctive memory phases are then scheduled to eliminate/minimize main memory contention between concurrently executing tasks. However, 3-phase tasks running on different cores may still compete to access the shared memory bus/main memory in order to execute memory phases. This paper presents a partitioned scheduling-based approach that allows one to derive memory bus contention-aware worst-case response time of tasks that follow the 3-phase task model. In particular, the bus-contention analysis is derived by considering two memory access models, i.e., (i) dedicated memory access model, where a core having allowed to access the main memory via memory bus is permitted to execute more than one memory phase, and (ii) fair memory access model, that restrict each core to execute only one memory phase in its allocated bus access. Both these models represent different system and application requirements, and the resulting bus contention of tasks may vary depending on the considered model. To evaluate the effectiveness of the proposed bus contention analysis, we compare its performance against an existing analysis in the state-of-the-art by performing (i) case-study experiments, using benchmarks from the Malardalen Benchmark suite, and (ii) empirical evaluation using synthetic task sets. Results show that our proposed analysis can improve task set schedulability of 3-phase tasks by up to 88 percentage points.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

4.6
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available