EMP: execution time measurement protocol for compute-bound programs

Young Kyoon Suh, Richard Thomas Snodgrass, John D Kececioglu, Peter J. Downey, Robert S Maier, Cheng Yi

Research output: Contribution to journalArticle

5 Scopus citations

Abstract

Measuring execution time is one of the most used performance evaluation techniques in computer science research. Inaccurate measurements cannot be used for a fair performance comparison between programs. Despite the prevalence of its use, the intrinsic variability in the time measurement makes it hard to obtain repeatable and accurate timing results of a program running on an operating system. We propose a novel execution time measurement protocol (termed EMP) for measuring the execution time of a compute-bound program on Linux, while minimizing that measurement's variability. During the development of execution time measurement protocol, we identified several factors that disturb execution time measurement. We introduce successive refinements to the protocol by addressing each of these factors, in concert, reducing variability by more than an order of magnitude. We also introduce a new visualization technique, what we term ‘dual-execution scatter plot’ that highlights infrequent, long-running daemons, differentiating them from frequent and/or short-running daemons. Our empirical results show that the proposed protocol successfully achieves three major aspects—precision, accuracy, and scalability—in execution time measurement that can work for open-source and proprietary software.

Original languageEnglish (US)
Pages (from-to)559-597
Number of pages39
JournalSoftware - Practice and Experience
Volume47
Issue number4
DOIs
StatePublished - Apr 1 2017

    Fingerprint

Keywords

  • compute-bound programs
  • execution time
  • measurement
  • protocol

ASJC Scopus subject areas

  • Software

Cite this