Parallelism profiling and wall-time prediction for multi-threaded applications
Parallelism profiling and wall-time prediction for multi-threaded applications
复制标题
多线程应用程序的并行分析和挂机时间预测
DOI:
10.1145/2479871.2479901
复制
发表时间:
2013
期刊:
影响因子:
--
通讯作者:
L. Chen
中科院分区:
文献类型:
--
作者:
A. Peternier;Walter Binder;A. Yokokawa;L. Chen
A detailed and accurate characterization of the parallelism of applications is essential for predicting their wall-time on different platforms, both for an application running in isolation and for a set of consolidated applications executing on the same platform. However, prevailing profilers are often based on sampling and do not provide exact information on the parallelism of the profiled application. In this paper we present a novel profiler that logs all thread scheduling activities within the operating system kernel. These logs enable us to accurately characterize applications' parallelism on a given platform by computing the number of threads that are active at each moment. We also present a simple mathematical prediction model to estimate wall-time for program execution on a k2-core machine using profiles collected using a k1-core machine (of the same architecture and running at the same clock speed). We use our profiler to assess the parallelism of several CPU-bound DaCapo benchmarks and evaluate the accuracy of our prediction model.