Identifying On-/Off-CPU Bottlenecks Together with Blocked Samples

Minwoo Ahn, Jeongmin Han, Youngjin Kwon, Jinkyu Jeong

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

The rapid advancement of computer system components has necessitated a comprehensive profiling approach for both on-CPU and off-CPU events simultaneously. However, the conventional approach lacks profiling both on- and off-CPU events, so they fall short of accurately assessing the overhead of each bottleneck in modern applications. In this paper, we propose a sampling-based profiling technique called blocked samples that is designed to capture all types of off-CPU events, such as I/O waiting, blocking synchronization, and waiting in CPU runqueue. Using the blocked samples technique, this paper proposes two profilers, bperf and BCOZ. Leveraging blocked samples, bperf profiles applications by providing symbol-level profile information when a thread is either on the CPU or off the CPU, awaiting scheduling or I/O requests. Using the information, BCOZ performs causality analysis of collected on- and off-CPU events to precisely identify performance bottlenecks and the potential impact of optimizations. The profiling capability of BCOZ is verified using real applications. From our profiling results followed by actual optimization, BCOZ identifies bottlenecks with off-CPU events precisely, and their optimization results are aligned with the predicted performance improvement by BCOZ’s causality analysis.

Original languageEnglish
Title of host publicationProceedings of the 18th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2024
PublisherUSENIX Association
Pages893-910
Number of pages18
ISBN (Electronic)9781939133403
Publication statusPublished - 2024
Event18th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2024 - Santa Clara, United States
Duration: 2024 Jul 102024 Jul 12

Publication series

NameProceedings of the 18th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2024

Conference

Conference18th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2024
Country/TerritoryUnited States
CitySanta Clara
Period24/7/1024/7/12

Bibliographical note

Publisher Copyright:
© OSDI 2024.All rights reserved.

All Science Journal Classification (ASJC) codes

  • Information Systems
  • Hardware and Architecture
  • Computer Networks and Communications

Fingerprint

Dive into the research topics of 'Identifying On-/Off-CPU Bottlenecks Together with Blocked Samples'. Together they form a unique fingerprint.

Cite this