Timing analysis of concurrent programs running on shared cache multi-cores |
| |
Authors: | Yun Liang Huping Ding Tulika Mitra Abhik Roychoudhury Yan Li Vivy Suhendra |
| |
Affiliation: | 1. Advanced Digital Sciences Center, Singapore, Singapore 2. School of Computing, National University of Singapore, Singapore, Singapore 3. Washington University in St. Louis, St. Louis, USA 4. Institute for Infocomm Research, Singapore, Singapore
|
| |
Abstract: | Memory accesses form an important source of timing unpredictability. Timing analysis of real-time embedded software thus requires bounding the time for memory accesses. Multiprocessing, a popular approach for performance enhancement, opens up the opportunity for concurrent execution. However due to contention for any shared memory by different processing cores, memory access behavior becomes more unpredictable, and hence harder to analyze. In this paper, we develop a timing analysis method for concurrent software running on multi-cores with a shared instruction cache. Communication across tasks is by message passing. Our method progressively improves the lifetime estimates of tasks that execute concurrently on multiple cores, in order to estimate potential conflicts in the shared cache. Possible conflicts arising from overlapping task lifetimes are accounted for in the hit-miss classification of accesses to the shared cache, to provide safe execution time bounds. We show that our method produces lower worst-case response time (WCRT) estimates than existing shared-cache analysis on a real-world embedded application. Furthermore, we also exploit instruction cache locking to improve WCRT. By locking some beneficial memory blocks into L1 cache, the WCET of the tasks and L2 cache conflicts are reduced, resulting in better WCRT. Experiments demonstrate that significant WCRT reduction is achieved through cache locking. |
| |
Keywords: | |
本文献已被 SpringerLink 等数据库收录! |
|