Affiliation:
1. National University of Singapore, Singapore, Singapore
2. School of Computing, National University of Singapore, Singapore Singapore
3. University of Wisconsin-Madison, Madison, United States
4. National University of Singapore, Singapore Singapore
Abstract
High-performance, multi-core processors are the key to accelerating workloads in several application domains. To continue to scale performance at the limit of Moore’s Law and Dennard scaling, software and hardware designers have turned to dynamic solutions that adapt to the needs of applications in a transparent, automatic way. For example, modern hardware improves its performance and power efficiency by changing the hardware configuration, like the frequency and voltage of cores, according to a number of parameters, such as the technology used or the workload running at the time. With this level of dynamism, it is essential to simulate next-generation multi-core processors in a way that can both respond to system changes and accurately determine system performance metrics. Currently, no sampled simulation platform can achieve these goals of dynamic, fast, and accurate simulation of multi-threaded workloads.
In this work, we propose a solution that allows for fast, accurate simulation in the presence of both hardware and software dynamism. To accomplish this goal, we present Pac-Sim, a novel sampled simulation methodology for fast, accurate sampled simulation that requires no upfront analysis of the workload. With our proposed methodology, it is now possible to simulate long-running dynamically scheduled multi-threaded programs with significant simulation speedups, even in the presence of dynamic hardware events. We evaluate Pac-Sim using the SPEC CPU2017, NPB, and PARSEC multi-threaded benchmarks with both static and dynamic thread scheduling. The experimental results show that Pac-Sim achieves a very low sampling error of 1.63% and 3.81% on average for statically and dynamically scheduled benchmarks, respectively. Pac-Sim also demonstrates significant simulation speedups as high as 523.5 × (210.3 × on average) for the training input set of SPEC CPU2017 running eight threads.
Publisher
Association for Computing Machinery (ACM)
Reference74 articles.
1. A.R. Alameldeen and D.A. Wood. 2003. Variability in architectural simulations of multi-threaded workloads. In International Symposium on High-Performance Computer Architecture (HPCA).
2. A.R. Alameldeen and D.A. Wood. 2006. IPC Considered Harmful for Multiprocessor Workloads. IEEE Micro (2006).
3. D.H. Albonesi. 1999. Selective cache ways: on-demand cache resource allocation. In International Symposium on Microarchitecture (MICRO).
4. E. K. Ardestani and J. Renau. 2013. ESESC: A fast multicore simulator using Time-Based Sampling. In International Symposium on High Performance Computer Architecture (HPCA).
5. Eduardo Argollo Ayose Falcón Paolo Faraboschi Matteo Monchiero and Daniel Ortega. 2009. COTSon: infrastructure for full system simulation. SIGOPS Operating Systems Review(2009).