Bus-Contention Aware Schedulability Analysis for the 3-Phase Task Model with Partitioned Scheduling

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 system bus that connects the cores to the memory hierarchy (including caches and main memory). However, such hierarchy causes tasks running on different cores to compete for access to the shared system bus whenever data reads or writes need to be made. Such competition is problematic as it may cause variations in the execution time of tasks in a non-deterministic way. This paper presents a partitioned scheduling based approach that allows one to derive bus contention-aware worst-case response-time of tasks that follow the 3-phase task model. Experiments on synthetic task sets were performed to evaluate the effectiveness of the proposed analysis in comparison to a state-of-the-art approach. The experimental results reveal an increase of up to 34 percentage points of schedulable task sets in comparison to the compared approach.

[1]  Rodolfo Pellizzoni,et al.  Schedulability analysis of global memory-predictable scheduling , 2014, 2014 International Conference on Embedded Software (EMSOFT).

[2]  Marco Caccamo,et al.  Memory-centric scheduling for multicore hard real-time systems , 2012, Real-Time Systems.

[3]  Petru Eles,et al.  Bus Access Optimization for Predictable Implementation of Real-Time Applications on Multiprocessor Systems-on-Chip , 2007, RTSS 2007.

[4]  Marco Caccamo,et al.  A Real-Time Scratchpad-Centric OS for Multi-Core Embedded Systems , 2016, 2016 IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS).

[5]  Daniel Gracia Pérez,et al.  Schedulability analysis for global fixed-priority scheduling of the 3-phase task model , 2017, 2017 IEEE 23rd International Conference on Embedded and Real-Time Computing Systems and Applications (RTCSA).

[6]  Joël Goossens,et al.  Implementation of Memory Centric Scheduling for COTS Multi-Core Real-Time Systems , 2019, ECRTS.

[7]  Peter Marwedel,et al.  Bus-Aware Multicore WCET Analysis through TDMA Offset Bounds , 2011, 2011 23rd Euromicro Conference on Real-Time Systems.

[8]  Marko Bertogna,et al.  Fixed-Priority Memory-Centric Scheduler for COTS-Based Multiprocessors , 2020, ECRTS.

[9]  Johan J. Lukkien,et al.  Worst-case response time analysis of real-time tasks under fixed-priority scheduling with deferred preemption , 2007, 19th Euromicro Conference on Real-Time Systems (ECRTS'07).

[10]  Rodolfo Pellizzoni,et al.  A real-time scratchpad-centric OS with predictable inter/intra-core communication for multi-core embedded systems , 2019, Real-Time Systems.

[11]  Geoffrey Nelissen,et al.  A Holistic Memory Contention Analysis for Parallel Real-Time Tasks under Partitioned Scheduling , 2020, 2020 IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS).

[12]  Daniel Gracia Pérez,et al.  A closer look into the AER Model , 2016, 2016 IEEE 21st International Conference on Emerging Technologies and Factory Automation (ETFA).

[13]  Daniel Gracia Pérez,et al.  Predictable Flight Management System Implementation on a Multicore Processor , 2014 .

[14]  Marco Caccamo,et al.  A Predictable Execution Model for COTS-Based Embedded Systems , 2011, 2011 17th IEEE Real-Time and Embedded Technology and Applications Symposium.

[15]  James W. Layland,et al.  Scheduling Algorithms for Multiprogramming in a Hard-Real-Time Environment , 1989, JACM.

[16]  Rodolfo Pellizzoni,et al.  Time-predictable execution of multithreaded applications on multicore systems , 2014, 2014 Design, Automation & Test in Europe Conference & Exhibition (DATE).

[17]  Vincent Nélis,et al.  A framework for memory contention analysis in multi-core platforms , 2015, Real-Time Systems.

[18]  Stefan M. Petters,et al.  Identifying the sources of unpredictability in COTS-based multicore systems , 2013, 2013 8th IEEE International Symposium on Industrial Embedded Systems (SIES).

[19]  Rolf Ernst,et al.  Real-time performance analysis of multiprocessor systems with shared memory , 2010, TECS.

[20]  Tulika Mitra,et al.  Modeling shared cache and bus in multi-cores for timing analysis , 2010, SCOPES.

[21]  Eduardo Tovar,et al.  Cache Persistence-Aware Memory Bus Contention Analysis for Multicore Systems , 2020, 2020 Design, Automation & Test in Europe Conference & Exhibition (DATE).

[22]  Alan Burns,et al.  An extendible approach for analyzing fixed priority hard real-time tasks , 1994, Real-Time Systems.

[23]  Leandro Soares Indrusiak,et al.  An extensible framework for multicore response time analysis , 2018, Real-Time Systems.

[24]  Björn Andersson,et al.  Response Time Analysis of COTS-Based Multicores Considering the Contention on the Shared Memory Bus , 2011, 2011IEEE 10th International Conference on Trust, Security and Privacy in Computing and Communications.

[25]  Robert I. Davis,et al.  A Survey of Timing Verification Techniques for Multi-Core Real-Time Systems , 2019, ACM Comput. Surv..