Predicting Instruction Cache Behavior

نویسندگان

  • Frank Mueller
  • David B. Whalley
  • Marion Harmon
چکیده

It has been claimed that the execution time of a program can often be predicted more accurately on an uncached system than on a system with cache memory 5, 20]. Thus, caches are often disabled for critical real-time tasks to ensure the predictability required for scheduling analysis. This work shows that instruction caching can be exploited to gain execution speed without sacriicing predictability. A new method called Static Cache Simulation is introduced which uses control-ow information provided by the back-end of a compiler. This simulator statically predicts the caching behavior of a large portion of the instruction cache references of a program. In addition, a fetch-from-memory bit is added to the instruction encoding which indicates whether an instruction shall be fetched from the instruction cache or from main memory. This bit-encoding approach provides a signiicant speedup in execution time (factor 3-8) over systems with a disabled instruction cache without any sacriice in the predictability of worst-case execution time. Even without bit-encoding, the ability to predict the caching behavior of a large percentage of the instruction references is very useful for providing tight worst-case execution time predictions of large code segments on machines with instruction caches.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Predicting Instruction Cache Behavior Mueller

show frequently 20% to 50% reduction in instruction cache misses. By better utilizing window statistical metrics to study memory behaviors (15). (18), (6), (16). 153, Cache miss equations: a compiler framework for analyzing and tuning memory 40, Predicting instruction cache behavior Mueller, Whalley, et al. Stephan Müller [email protected]_ and the maintenance and behavior of entropy is disc...

متن کامل

cient On - the - y Analysis of ProgramBehavior and Static Cache Simulation ?

The main contributions of this paper are twofold. First, a general framework for control-ow partitioning is presented for eecient on-they analysis, i.e. for program behavior analysis during execution using a small number of instrumentation points. The formal model is further reened for certain analyses by transforming a program's call graph into a function-instance graph. Performance evaluation...

متن کامل

Improving CC - NUMA Performance Using Instruction - Based Prediction Stefanos

We propose Instruction-based Prediction as a means to optimize directory-based cache coherent NUMA shared-memory. Instruction-based prediction is based on observing the behavior of load and store instructions in relation to coherent events and predicting their future behavior. Although this technique is well established in the uniprocessor world, it has not been widely applied for optimizing tr...

متن کامل

Static cache simulation and its applications

This work takes a fresh look at the simulation of cache memories. It introduces the technique of static cache simulation that statically predicts a large portion of cache references. To e ciently utilize this technique, a method to perform e cient on-they analysis of programs in general is developed and proved correct. This method is combined with static cache simulation for a number of applica...

متن کامل

The Use of Instruction-Based Prediction in Hardware Shared- Memory

In this paper we propose Instruction-based Prediction as a means to optimize directory-based cache coherent NUMA shared-memory. Instruction-based prediction is based on observing the behavior of load and store instructions in relation to coherent events and predicting their future behavior. Although this technique is well established in the uniprocessor world it has not been widely applied for ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1993