Measurement-Based Timing Analysis of the AURIX Caches

Leonidas Kosmidis, Davide Compagnin, David Morales, Enrico Mezzetti, Eduardo Quinones, Jaume Abella, Tullio Vardanega, Francisco J. Cazorla, Marc Herbstritt
2016 Worst-Case Execution Time Analysis  
Cache memories are one of the hardware resources with higher potential to reduce worst-case execution time (WCET) costs for software programs with tight real-time constraints. Yet, the complexity of cache analysis has caused a large fraction of real-time systems industry to avoid using them, especially in the automotive sector. For measurement-based timing analysis (MBTA) -the dominant technique in domains such as automotive -cache challenges the definition of test scenarios stressful enough to
more » ... produce (cache) layouts that causing high contention. In this paper, we present our experience in enabling the use of caches for a real automotive application running on an AURIX multiprocessor, using software randomization and measurement-based probabilistic timing analysis (MBPTA). Our results show that software randomization successfully exposesin the experiments performed for timing analysis -cache related variability, in a manner that can be effectively captured by MBPTA. ACM Subject Classification D.4.7 Real-time Systems and Embedded Systems Keywords and phrases WCET, caches, AURIX, Automotive Digital Object Identifier 10.4230/OASIcs.WCET.2016.9 1 * The research leading to these results has received funding from the European Community's FP7 [FP7/2007[FP7/ -2013] ] under the PROXIMA Project (http://www.proxima-project.eu), grant agreement no 611085. This work has also been partially supported by the Spanish Ministry of Science and Innovation (grant TIN2015-65316-P) and the HiPEAC Network of Excellence. Jaume Abella has been partially supported by the Ministry of Economy and Competitiveness under Ramon y Cajal fellowship RYC-2013-14717. This work was conducted as part of a collaboration with the CONCERTO project (ARTEMIS-JU grant nr. 333053), which provided the automotive application and the build automation. Authors thank Benjamin Lesage for his support in execution time collection infrastructure on the AURIX board.
doi:10.4230/oasics.wcet.2016.9 dblp:conf/wcet/KosmidisCMMQAVC16 fatcat:awexh4rsb5ejvohifxta7jaxlq