Loading [MathJax]/extensions/MathMenu.js
Instruction Cache Locking Using Temporal Reuse Profile | IEEE Journals & Magazine | IEEE Xplore

Instruction Cache Locking Using Temporal Reuse Profile


Abstract:

The performance of most embedded systems is critically dependent on the average memory access latency. Improving the cache hit rate can have significant positive impact o...Show More

Abstract:

The performance of most embedded systems is critically dependent on the average memory access latency. Improving the cache hit rate can have significant positive impact on the performance of an application. Modern embedded processors often feature cache locking mechanisms that allow memory blocks to be locked in the cache under software control. Cache locking was primarily designed to offer timing predictability for hard real-time applications. Hence, prior techniques focus on employing cache locking to improve the worst-case execution time. However, cache locking can be quite effective in improving the average-case execution time of general embedded applications as well. In this paper, we explore static instruction cache locking to improve the average-case program performance. We introduce temporal reuse profile (TRP) to accurately and efficiently model the cost and benefit of locking memory blocks in the cache. We consider two locking mechanisms, line locking and way locking. For each locking mechanism, we propose a branch-and-bound algorithm and a heuristic approach that use the TRP to determine the most beneficial memory blocks to be locked in the cache. Experimental results show that the heuristic approach achieves close to the results of branch-and-bound algorithm and can improve the performance by 12% on average for 4 KB cache across a suite of real-world benchmarks. Moreover, our heuristic provides significant improvement compared to the state-of-the-art locking algorithm both in terms of performance and efficiency.
Page(s): 1387 - 1400
Date of Publication: 02 April 2015

ISSN Information:

Funding Agency:

Author image of Yun Liang
Center for Energy-Efficient Computing and Applications, School of Electronics Engineering and Computer Science, Peking University, Beijing, China
Collaborative Innovation Center of High Performance Computing, NUDT, Changsha, China
Yun Liang received the B.S. degree in software engineering from Tongji University, Shanghai, China, and the Ph.D. degree in computer science from the National University of Singapore, Singapore, in 2004 and 2010, respectively.
He was a Research Scientist with Advanced Digital Science Center, University of Illinois Urbana-Champaign, Urbana, IL, USA, from 2010 to 2012. He has been an Assistant Professor with the School of El...Show More
Yun Liang received the B.S. degree in software engineering from Tongji University, Shanghai, China, and the Ph.D. degree in computer science from the National University of Singapore, Singapore, in 2004 and 2010, respectively.
He was a Research Scientist with Advanced Digital Science Center, University of Illinois Urbana-Champaign, Urbana, IL, USA, from 2010 to 2012. He has been an Assistant Professor with the School of El...View more
Author image of Tulika Mitra
Department of Computer Science, National University of Singapore, Singapore
Tulika Mitra received the Ph.D. degree in computer science from the State University of New York at Stony Brook, Stony Brook, NY, USA, in 2000.
She is a Professor of Computer Science with the School of Computing, National University of Singapore, Singapore. Her current research interests include design automation of embedded real-time systems with particular emphasis on application-specific processors, software timing anal...Show More
Tulika Mitra received the Ph.D. degree in computer science from the State University of New York at Stony Brook, Stony Brook, NY, USA, in 2000.
She is a Professor of Computer Science with the School of Computing, National University of Singapore, Singapore. Her current research interests include design automation of embedded real-time systems with particular emphasis on application-specific processors, software timing anal...View more
Author image of Lei Ju
School of Computer Science and Technology, Shandong University, Jinan, China
Lei Ju received the B.E. and Ph.D. degrees from the School of Computing, National University of Singapore, Singapore, in 2005 and 2010, respectively.
He has been an Associate Professor with the School of Computer Science and Technology, Shandong University, Jinan, China, since 2011. His current research interests include design, analysis, and optimization of real-time systems and embedded systems. He has authored a number ...Show More
Lei Ju received the B.E. and Ph.D. degrees from the School of Computing, National University of Singapore, Singapore, in 2005 and 2010, respectively.
He has been an Associate Professor with the School of Computer Science and Technology, Shandong University, Jinan, China, since 2011. His current research interests include design, analysis, and optimization of real-time systems and embedded systems. He has authored a number ...View more

Author image of Yun Liang
Center for Energy-Efficient Computing and Applications, School of Electronics Engineering and Computer Science, Peking University, Beijing, China
Collaborative Innovation Center of High Performance Computing, NUDT, Changsha, China
Yun Liang received the B.S. degree in software engineering from Tongji University, Shanghai, China, and the Ph.D. degree in computer science from the National University of Singapore, Singapore, in 2004 and 2010, respectively.
He was a Research Scientist with Advanced Digital Science Center, University of Illinois Urbana-Champaign, Urbana, IL, USA, from 2010 to 2012. He has been an Assistant Professor with the School of Electronics Engineering and Computer Science, Peking University, Beijing, China, since 2012. His current research interests include graphics processing unit architecture and optimization, heterogeneous computing, embedded system, and high level synthesis.
Dr. Liang was a recipient of the Best Paper Award in International Symposium on Field-Programmable Custom Computing Machines (FCCM)’11 and the best paper award nominations in International Conference on Hardware/Software Codesign and System Synthesis (CODES+ISSS)’08 and Design Automation Conference (DAC)’12. He serves a Technical Committee Member for Asia South Pacific Design Automation Conference (ASPDAC), Design Automation and Test in Europe (DATE), and International Conference on Compilers Architecture and Synthesis for Embedded Systems (CASES). He is the TPC Subcommittee Chair for ASPDAC’13.
Yun Liang received the B.S. degree in software engineering from Tongji University, Shanghai, China, and the Ph.D. degree in computer science from the National University of Singapore, Singapore, in 2004 and 2010, respectively.
He was a Research Scientist with Advanced Digital Science Center, University of Illinois Urbana-Champaign, Urbana, IL, USA, from 2010 to 2012. He has been an Assistant Professor with the School of Electronics Engineering and Computer Science, Peking University, Beijing, China, since 2012. His current research interests include graphics processing unit architecture and optimization, heterogeneous computing, embedded system, and high level synthesis.
Dr. Liang was a recipient of the Best Paper Award in International Symposium on Field-Programmable Custom Computing Machines (FCCM)’11 and the best paper award nominations in International Conference on Hardware/Software Codesign and System Synthesis (CODES+ISSS)’08 and Design Automation Conference (DAC)’12. He serves a Technical Committee Member for Asia South Pacific Design Automation Conference (ASPDAC), Design Automation and Test in Europe (DATE), and International Conference on Compilers Architecture and Synthesis for Embedded Systems (CASES). He is the TPC Subcommittee Chair for ASPDAC’13.View more
Author image of Tulika Mitra
Department of Computer Science, National University of Singapore, Singapore
Tulika Mitra received the Ph.D. degree in computer science from the State University of New York at Stony Brook, Stony Brook, NY, USA, in 2000.
She is a Professor of Computer Science with the School of Computing, National University of Singapore, Singapore. Her current research interests include design automation of embedded real-time systems with particular emphasis on application-specific processors, software timing analysis/optimizations, heterogeneous multicores, and energy-aware computing.
Tulika Mitra received the Ph.D. degree in computer science from the State University of New York at Stony Brook, Stony Brook, NY, USA, in 2000.
She is a Professor of Computer Science with the School of Computing, National University of Singapore, Singapore. Her current research interests include design automation of embedded real-time systems with particular emphasis on application-specific processors, software timing analysis/optimizations, heterogeneous multicores, and energy-aware computing.View more
Author image of Lei Ju
School of Computer Science and Technology, Shandong University, Jinan, China
Lei Ju received the B.E. and Ph.D. degrees from the School of Computing, National University of Singapore, Singapore, in 2005 and 2010, respectively.
He has been an Associate Professor with the School of Computer Science and Technology, Shandong University, Jinan, China, since 2011. His current research interests include design, analysis, and optimization of real-time systems and embedded systems. He has authored a number of referred publications.
Prof. Ju was a recipient of the best paper award nominations in International Conference on Hardware/Software Codesign and System Synthesis (CODES+ISSS)’08 and RTAS’11. He is currently a member of the CCF Computer Architecture Technical Committee, and serves as the Technical Program Committee Member of several international conferences.
Lei Ju received the B.E. and Ph.D. degrees from the School of Computing, National University of Singapore, Singapore, in 2005 and 2010, respectively.
He has been an Associate Professor with the School of Computer Science and Technology, Shandong University, Jinan, China, since 2011. His current research interests include design, analysis, and optimization of real-time systems and embedded systems. He has authored a number of referred publications.
Prof. Ju was a recipient of the best paper award nominations in International Conference on Hardware/Software Codesign and System Synthesis (CODES+ISSS)’08 and RTAS’11. He is currently a member of the CCF Computer Architecture Technical Committee, and serves as the Technical Program Committee Member of several international conferences.View more

Contact IEEE to Subscribe

References

References is not available for this document.