JCSE, vol. 6, no. 1, pp.12-25, 2012
DOI: http://dx.doi.org/10.5626/JCSE.2012.6.1.12
Multicore-Aware Code Co-Positioning to Reduce WCET on Dual-Core Processors with Shared Instruction Caches
Yiqiang Ding, Wei Zhang
Department of Electrical and Computer Engineering, Virginia Commonwealth University, Richmond, VA, USA
Abstract: For real-time systems it is important to obtain the accurate worst-case execution time (WCET). Furthermore, how to
improve the WCET of applications that run on multicore processors is both significant and challenging as the WCET can
be largely affected by the possible inter-core interferences in shared resources such as the shared L2 cache. In order to
solve this problem, we propose an innovative approach that adopts a code positioning method to reduce the inter-core L2
cache interferences between the different real-time threads that adaptively run in a multi-core processor by using different
strategies. The worst-case-oriented strategy is designed to decrease the worst-case WCET among these threads to as
low as possible. The other two strategies aim at reducing the WCET of each thread to almost equal percentage or amount.
Our experiments indicate that the proposed multicore-aware code positioning approaches, not only improve the worstcase
performance of the real-time threads but also make good tradeoffs between efficiency and fairness for threads that
run on multicore platforms.
Keyword:
Worst-case execution time analysis; Multicore processors; Shared caches; Hard real-time
Full Paper: 175 Downloads, 2532 View
|