We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Chemical Engineering/A Run-Time Program Phase Detection Technique for Optimizing Per-Phase L2 Cache Demand
PeriodicalsChemical Engineering

A Run-Time Program Phase Detection Technique for Optimizing Per-Phase L2 Cache Demand

Checking your access to this record.

Abstract & Overview

Understanding program behavior is at the foundation of computer architecture andprogram optimization. Programs pass through different behaviors where theirperformance characteristics and hardware resource requirements vary. Programphase detection and classification research aiming to understand the program timevaryingbehavior, can unlock a lot of phase-based optimizations which are speciallytailored to improve the performance of each individual program phase. In this paper,we introduce an efficient run-time phase detection and classification technique, basedon tracking changes in the L2 cache access pattern of different portions in theprogram execution. The proposed technique monitors a running program and keepstrack what phase the running program is currently executing, with no need torecompile the tracked program, and with execution time overhead of 4%, on average.Performance Monitoring Unit (PMU) is exploited to sample the memory addressescausing L1 data cache misses. This profiling data is used to construct the CacheAccess Signature Vectors (CASVs) that accurately reflect the L2 cache accesspatterns for each interval of execution. By comparing CASVs, the proposedtechnique classifies the program into a set of stable phases with high degree of intraphasehomogeneity. Our evaluation shows that phase changes detected by ourtechnique have strong correlation with the variation in Instruction Per Cycle (IPC).Furthermore, our technique can contribute in reducing L2 cache miss rates, andoptimizing L2 cache utilization, through its direct capability of estimating per-phaseL2 cache demand

Cite this record

Ibrahim Ziedan, Hazem Ibrahim Shehata, S Seraga (2016). A Run-Time Program Phase Detection Technique for Optimizing Per-Phase L2 Cache Demand. The Egyptian International Journal of Engineering Sciences and Technology, 20(EIJEST, Vol. 20, 2016), 1–9. https://doi.org/10.21608/eijest.2016.97168

Copy in another style

Ziedan, I., Shehata, H. I., & Seraga, S. (2016). A Run-Time Program Phase Detection Technique for Optimizing Per-Phase L2 Cache Demand. The Egyptian International Journal of Engineering Sciences and Technology, 20(EIJEST, Vol. 20, 2016), 1–9. https://doi.org/10.21608/eijest.2016.97168
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.