Toward Contention Analysis for Parallel Executing Real-Time Tasks

In measurement-based probabilistic timing analysis, the execution conditions imposed to tasks as measurement scenarios, have a strong impact to the worst-case execution time estimates. The scenarios and their effects on the task execution behavior have to be deeply investigated. The aim has to be to identify and to guarantee the scenarios that lead to the maximum measurements, i.e. the worst-case scenarios, and use them to assure the worst-case execution time estimates. We propose a contention analysis in order to identify the worst contentions that a task can suffer from concurrent executions. The work focuses on the interferences on shared resources (cache memories and memory buses) from parallel executions in multi-core real-time systems. Our approach consists of searching for possible task contenders for parallel executions, modeling their contentiousness, and classifying the measurement scenarios accordingly. We identify the most contentious ones and their worst-case effects on task execution times. The measurementbased probabilistic timing analysis is then used to verify the analysis proposed, qualify the scenarios with contentiousness, and compare them. A parallel execution simulator for multi-core real-time system is developed and used for validating our framework. The framework applies heuristics and assumptions that simplify the system behavior. It represents a first step for developing a complete approach which would be able to guarantee the worst-case behavior. 2012 ACM Subject Classification Computer systems organization → Real-time system architecture

[2]  Marco Caccamo,et al.  Global Real-Time Memory-Centric Scheduling for Multicore Systems , 2016, IEEE Transactions on Computers.

[3]  Henrik Theiling,et al.  Multi-core Interference-Sensitive WCET Analysis Leveraging Runtime Resource Capacity Enforcement , 2014, 2014 26th Euromicro Conference on Real-Time Systems.

[4]  Lingjia Tang,et al.  Contentiousness vs. sensitivity: improving contention aware runtime systems on multicore architectures , 2011, EXADAPT '11.

[5]  Anne-Marie Déplanche,et al.  SimSo: A Simulation Tool to Evaluate Real-Time Multiprocessor Scheduling Algorithms , 2014 .

[6]  Björn Andersson,et al.  Finding an upper bound on the increase in execution time due to contention on the memory bus in COTS-based multicore systems , 2010, SIGBED.

[7]  Giorgio C. Buttazzo,et al.  Response-Time Analysis of Conditional DAG Tasks in Multiprocessor Systems , 2015, 2015 27th Euromicro Conference on Real-Time Systems.

[8]  Ali Shatnawi,et al.  Static scheduling of directed acyclic data flow graphs onto multiprocessors using particle swarm optimization , 2013, Comput. Oper. Res..

[9]  Tullio Vardanega,et al.  Heart of Gold: Making the Improbable Happen to Increase Confidence in MBPTA , 2014, 2014 26th Euromicro Conference on Real-Time Systems.

[10]  Akira Tanaka,et al.  The worst-case time complexity for generating all maximal cliques and computational experiments , 2006, Theor. Comput. Sci..

[11]  Iain Bate,et al.  Achieving Appropriate Test Coverage for Reliable Measurement-Based Timing Analysis , 2016, 2016 28th Euromicro Conference on Real-Time Systems (ECRTS).

[12]  Jérôme Morio,et al.  On the Reliability of the Probabilistic Worst-Case Execution Time Estimates , 2016 .

[13]  Claire Pagetti,et al.  Off-line mapping of multi-rate dependent task sets to many-core platforms , 2015, Real-Time Systems.

[14]  Jérôme Morio,et al.  Revising Measurement-Based Probabilistic Timing Analysis , 2017, 2017 IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS).

[15]  Yan Solihin,et al.  Predicting inter-thread cache contention on a chip multi-processor architecture , 2005, 11th International Symposium on High-Performance Computer Architecture.

[16]  Liliana Cucu-Grosjean,et al.  Measurement-Based Probabilistic Timing Analysis for Multi-path Programs , 2012, 2012 24th Euromicro Conference on Real-Time Systems.

[17]  Jiri Gaisler,et al.  Next Generation MultiPurpose Microprocessor , 2010 .