2012 · 41 citations · 19 references
EngineeringComputer EngineeringComputer ScienceComputer ArchitectureEmbedded SystemsHardware-software Co-designCache Behavior AnalysisCachingInstruction Set ArchitectureCache Access PatternsCache Memory ModelingCache Performance ModelingInstruction Cache BehaviorMemory Access LatencyMicroarchitectural Timing AnalysisStatic Worst-case Execution Time AnalysisTiming Predictability
Caches play an important role in embedded systems by bridging the performance gap between high speed processors and slow memory. At the same time, caches introduce imprecision in Worst-case Execution Time (WCET) estimation due to unpredictable access latencies. Modern embedded processors often include cache locking mechanism for better timing predictability. As the cache contents are statically known, memory access latencies are predictable, leading to precise WCET estimate. Moreover, by carefully selecting the memory blocks to be locked, WCET estimate can be reduced compared to cache modeling without locking. Existing static instruction cache locking techniques strive to lock the entire cache to minimize the WCET. We observe that such aggressive locking mechanisms may have negative impact on the overall WCET as some memory blocks with predictable access behavior get excluded from the cache. We introduce a partial cache locking mechanism that has the flexibility to lock only a fraction of the cache. We judiciously select the memory blocks for locking through accurate cache modeling that determines the impact of the decision on the program WCET. Our synergistic cache modeling and locking mechanism achieves substantial reduction in WCET for a large number of embedded benchmark applications.
19
The SimpleScalar tool set, version 2.0
Doug Burger, Todd Austin · ACM SIGARCH Computer Architecture News · 1997 · 3.1K citations · Full text
Chronos: A timing analyzer for embedded software
Xianfeng Li, Yun Liang, Tulika Mitra et al. · Science of Computer Programming · 2007 · 223 citations