CPI for Runtime Performance Measurement: The Good, the Bad, and the Ugly

Li Yi, Cong Li, Jianmei Guo

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

8 Scopus citations

Abstract

Originally used for micro-architectural performance characterization, the metric of cycles per instruction (CPI) is now emerging as a proxy for workload performance measurement in runtime cloud environments. It has been used to evaluate the performance per workload before and after applying a system configuration change and to detect contentions on the micro-architectural resources in workload colocation. In this paper, we re-examine the use of CPI on two representative cloud computing workloads. An alternative metric, reference cycles per instruction (RCPI), is defined for comparison. We show that CPI is more sensitive than RCPI in identifying micro-architectural performance change in some cases. However, in the other cases with a different frequency scaling, we observe a better CPI value given a worse performance. We conjecture that both the observations are due to the bias of CPI towards scenarios with a low core frequency. We next demonstrate that a significant change in either CPI or RCPI does not necessarily indicate a boost or loss in performance, since both CPI and RCPI are dependent on workload intensities. It implies that the use of CPI without referring to the workload intensity is probably inappropriate. This provokes the discussion of the right way to use CPI, e.g., modeling CPI as a dependent variable given other relevant factors as the independent variables.

Original languageEnglish
Title of host publicationProceedings - 2020 IEEE International Symposium on Workload Characterization, IISWC 2020
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages106-113
Number of pages8
ISBN (Electronic)9781728176451
DOIs
StatePublished - Oct 2020
Externally publishedYes
Event16th IEEE International Symposium on Workload Characterization, IISWC 2020 - Virtual, Beijing, China
Duration: 27 Oct 202029 Oct 2020

Publication series

NameProceedings - 2020 IEEE International Symposium on Workload Characterization, IISWC 2020

Conference

Conference16th IEEE International Symposium on Workload Characterization, IISWC 2020
Country/TerritoryChina
CityVirtual, Beijing
Period27/10/2029/10/20

Keywords

  • cloud computing
  • cycles per instruction
  • runtime performance measurement

Fingerprint

Dive into the research topics of 'CPI for Runtime Performance Measurement: The Good, the Bad, and the Ugly'. Together they form a unique fingerprint.

Cite this