Title :
Timing Analysis of Concurrent Programs Running on Shared Cache Multi-Cores
Author :
Li, Yan ; Suhendra, Vivy ; Liang, Yun ; Mitra, Tulika ; Roychoudhury, Abhik
Author_Institution :
Sch. of Comput., Nat. Univ. of Singapore, 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 where the message mailboxes are accessed via interrupt service routines. We do not handle data cache, shared memory synchronization and code sharing across tasks. 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.
Keywords :
concurrency control; embedded systems; interrupts; message passing; multiprocessing programs; program diagnostics; shared memory systems; timing; code sharing; concurrent execution; concurrent programs; concurrent software; hit-miss classification; interrupt service routines; memory accesses; message mailboxes; message passing; multiprocessing system; real-time embedded software; shared instruction cache; shared memory synchronization; timing analysis; worst-case response time; Concurrent computing; Delay; Embedded software; Life estimation; Lifetime estimation; Message passing; Monitoring; Real time systems; Timing; Yarn; WCET analysis; multi-cores; shared cache;
Conference_Titel :
Real-Time Systems Symposium, 2009, RTSS 2009. 30th IEEE
Conference_Location :
Washington, DC
Print_ISBN :
978-0-7695-3875-4
DOI :
10.1109/RTSS.2009.32