IEEE International Symposium on High-Performance Comp Architecture (2012)
New Orleans, LA, USA
Feb. 25, 2012 to Feb. 29, 2012
Ganesh Balakrishnan , Dept. of Electrical and Computer Engineering, North Carolina State University
Yan Solihin , Dept. of Electrical and Computer Engineering, North Carolina State University
Cache designers need an in-depth understanding of end user workloads, but certain end users are apprehensive about sharing code or traces due to the proprietary or confidential nature of code and data. To bridge this gap, cache designers use a reduced representation of the code (a clone). A promising cloning approach is the black box approach, where workloads are profiled to obtain key statistics, and a clone is automatically generated. Despite its potential, currently there are no highly accurate black box cloning methods for replicating data cache behavior. We propose Workload Emulation using Stochastic Traces (WEST), a highly accurate black box cloning technique for replicating data cache behavior of arbitrary programs. First, we analyze what profiling statistics are necessary and sufficient to capture a workload. Then, we generate a clone stochastically that produces statistics identical to the proprietary workload. WEST clones can be used in lieu of the workload for exploring cache sizes, associativities, write policies, replacement policies, cache hierarchies and co-scheduling, at a significantly reduced simulation time. We use a simple IPC model to control the rate of accesses to the cache hierarchy. We evaluated WEST using CPU2006 and BioBench suites over a wide cache design space for single core and dual core CMPs. The clones achieve an average error in miss ratio of only 0.4% across 1394 single core cache configurations. For co-scheduled mixes, WEST achieves an average error in miss ratio of only 3.1% for over 600 configurations.
G. Balakrishnan and Y. Solihin, "WEST: Cloning data cache behavior using Stochastic Traces," IEEE International Symposium on High-Performance Comp Architecture(HPCA), New Orleans, LA, USA, 2012, pp. 1-12.