Reducing the WCET and analysis time of systems with simple lockable instruction caches
Resumen: One of the key challenges in real-time systems is the analysis of the memory hierarchy. Many Worst-Case Execution Time (WCET) analysis methods supporting an instruction cache are based on iterative or convergence algorithms, which are rather slow. Our goal in this paper is to reduce the WCET analysis time on systems with a simple lockable instruction cache, focusing on the Lock-MS method. First, we propose an algorithm to obtain a structure-based representation of the Control Flow Graph (CFG). It organizes the whole WCET problem as nested subproblems, which takes advantage of common branch-and-bound algorithms of Integer Linear Programming (ILP) solvers. Second, we add support for multiple locking points per task, each one with specific cache contents, instead of a given locked content for the whole task execution. Locking points are set heuristically before outer loops. Such simple heuristics adds no complexity, and reduces the WCET by taking profit of the temporal reuse found in loops. Since loops can be processed as isolated regions, the optimal contents to lock into cache for each region can be obtained, and the WCET analysis time is further reduced. With these two improvements, our WCET analysis is around 10 times faster than other approaches. Also, our results show that the WCET is reduced, and the hit ratio achieved for the lockable instruction cache is similar to that of a real execution with an LRU instruction cache. Finally, we analyze the WCET sensitivity to compiler optimization, showing for each benchmark the right choices and pointing out that O0 is always the worst option.
Idioma: Inglés
DOI: 10.1371/journal.pone.0229980
Año: 2020
Publicado en: PloS one 15, 3 (2020), e0229980 1-21
ISSN: 1932-6203

Factor impacto JCR: 3.24 (2020)
Categ. JCR: MULTIDISCIPLINARY SCIENCES rank: 26 / 73 = 0.356 (2020) - Q2 - T2
Factor impacto SCIMAGO: 0.99 - Multidisciplinary (Q1)

Financiación: info:eu-repo/grantAgreement/ES/DGA/T58-17R
Financiación: info:eu-repo/grantAgreement/ES/MEC/FPU14-02463
Financiación: info:eu-repo/grantAgreement/ES/MINECO/TIN2016-76635-C2-1-R
Tipo y forma: Artículo (Versión definitiva)
Área (Departamento): Área Arquit.Tecnología Comput. (Dpto. Informát.Ingenie.Sistms.)

Creative Commons Debe reconocer adecuadamente la autoría, proporcionar un enlace a la licencia e indicar si se han realizado cambios. Puede hacerlo de cualquier manera razonable, pero no de una manera que sugiera que tiene el apoyo del licenciador o lo recibe por el uso que hace.


Exportado de SIDERAL (2021-09-02-09:07:26)


Visitas y descargas

Este artículo se encuentra en las siguientes colecciones:
Artículos



 Registro creado el 2020-06-18, última modificación el 2021-09-02


Versión publicada:
 PDF
Valore este documento:

Rate this document:
1
2
3
 
(Sin ninguna reseña)