Multicore-aware code co-positioning to reduce WCET on dual-core processors with shared instruction caches

被引:4
作者
Ding, Yiqiang [1 ]
Zhang, Wei [1 ]
机构
[1] Department of Electrical and Computer Engineering, Virginia Commonwealth University, Richmond, VA
关键词
Hard real-time; Multicore processors; Shared caches; Worst-case execution time analysis;
D O I
10.5626/JCSE.2012.6.1.12
中图分类号
学科分类号
摘要
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. © 2012. The Korean Institute of Information Scientists and Engineers.
引用
收藏
页码:12 / 25
页数:13
相关论文
共 26 条
[1]  
Calandrino J.M., Anderson J.H., Baumberger D.P., A hybrid real-time scheduling approach for large-scale multicore platforms, Proceedings of the 19th Euromicro Conference on Real-Time Systems, pp. 247-258, (2007)
[2]  
Mohan S., Mueller F., Hawkins W., Root M., Healy C.A., Whalley D., ParaScale: exploiting parametric timing analysis for real-time schedulers and dynamic voltage scaling, Proceedings of the 26th IEEE International Real-Time Systems Symposium, pp. 233-242, (2005)
[3]  
Zhao W., Whalley D., Healy C.A., Mueller F., WCET code positioning, Proceedings of the 25th IEEE International Real-Time Systems Symposium, pp. 81-91, (2004)
[4]  
Lokuciejewski P., Falk H., Marwedel P., WCET-driven cache-based procedure positioning optimization, Proceedings of the 2008 Euromicro Conference on Real-Time Systems, pp. 321-330, (2008)
[5]  
Ding Y., Zhang W., WCET-oriented code positioning on multicore processors with shared instruction cashes, Proceedings of the 16th IEEE Real-Time and Embedded Technology and Applications Symposium, pp. 69-72, (2010)
[6]  
Ding Y., Zhang W., Multicore-aware code positioning to improve worst-case performance, The 14th IEEE International Symposium on Object/Component/Service-Oriented Real-Time Distributed Computing, pp. 225-232, (2011)
[7]  
McFarling S., Program optimization for instruction caches, Proceedings of the 3rd International Conference on Architectural Support for Programming Languages and Operating Systems, pp. 183-191, (1989)
[8]  
Hwu W.W., Chang P.P., Achieving high instruction cache performance with an optimizing compiler, Proceedings of the 16th Annual International Symposium on Computer Architecture, pp. 242-251, (1989)
[9]  
Pettis K., Hansen R.C., Profile guided code positioning, Proceedings of the ACM SIGPLAN 1990 Conference on Programming Language Design and Implementation, pp. 16-27, (1990)
[10]  
Calder B., Grunwald D., Reducing branch costs via branch alignment, Proceedings of the 6th International Conference on Architectural Support for Programming Languages and Operating Systems, pp. 242-251, (1994)