Back to Search Start Over

A Comparison between Fixed Priority and EDF Scheduling accounting for Cache Related Pre-emption Delays

Authors :
Lunniss, Will
Altmeyer, Sebastian
Davis, Robert I.
Source :
Leibniz Transactions on Embedded Systems, Vol 1, Iss 1, Pp 01:1-01:24 (2014)
Publication Year :
2014
Publisher :
Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik, 2014.

Abstract

In multitasking real-time systems, the choice of scheduling algorithm is an important factor to ensure that response time requirements are met while maximising limited system resources. Two popular scheduling algorithms include fixed priority (FP) and earliest deadline first (EDF). While they have been studied in great detail before, they have not been compared when taking into account cache related pre-emption delays (CRPD). Memory and cache are split into a number of blocks containing instructions and data. During a pre-emption, cache blocks from the pre-empting task can evict those of the pre-empted task. When the pre-empted task is resumed, if it then has to re-load the evicted blocks, CRPD are introduced which then affect the schedulability of the task. In this paper we compare FP and EDF scheduling algorithms in the presence of CRPD using the state-of-the-art CRPD analysis. We find that when CRPD is accounted for, the performance gains offered by EDF over FP, while still notable, are diminished. Furthermore, we find that under scenarios that cause relatively high CRPD, task layout optimisation techniques can be applied to allow FP to schedule tasksets at a similar processor utilisation to EDF. Thus making the choice of the task layout in memory as important as the choice of scheduling algorithm. This is very relevant for industry, as it is much cheaper and simpler to adjust the task layout through the linker than it is to switch the scheduling algorithm.

Details

Language :
English
ISSN :
21992002
Volume :
1
Issue :
1
Database :
Directory of Open Access Journals
Journal :
Leibniz Transactions on Embedded Systems
Publication Type :
Academic Journal
Accession number :
edsdoj.560bdf8096da439ca801752d404f154f
Document Type :
article
Full Text :
https://doi.org/10.4230/LITES-v001-i001-a001