Chaperone - Runtime system for instrumenting applications via partial binary translation

Gadi Haber, Coby Tayree

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

Abstract

We propose Chaperone, a new runtime system which implements an innovative binary-level instrumentation technique that bounds performance degradation of around 14% on average of the total applications execution time, hence it can be used by users in production deployments. Our technique is called Partial Binary Translation. It consists of translating the entire code image and inserting required instrumenting stubs in the translated code at loadtime, and at runtime, differently from normal instrumentation, switching the execution dynamically between original and instrumented code. Using this technology we demonstrate two different use cases of the Chaperone system. The first is a runtime memory checker that detects memory accesses outside the legally allocated heap memory bounds. The second is a dynamic performance tuning of OpenMP applications by automatically setting the optimal number of active OpenMP threads and affinitizing them to the available cores. In both cases we measured low overhead of Chaperone. Moreover, Chaperone shows minimal performance degradation for the Memory Checker and improved performance for OpenMP based applications.

Original languageEnglish
Title of host publicationSYSTOR 2018 - Proceedings of the 11th ACM International Systems and Storage Conference
Pages49-58
Number of pages10
ISBN (Electronic)9781450358491
DOIs
StatePublished - 4 Jun 2018
Externally publishedYes
Event11th ACM International Systems and Storage Conference, SYSTOR 2018 - Haifa, Israel
Duration: 4 Jun 20186 Jun 2018

Publication series

NameSYSTOR 2018 - Proceedings of the 11th ACM International Systems and Storage Conference

Conference

Conference11th ACM International Systems and Storage Conference, SYSTOR 2018
Country/TerritoryIsrael
CityHaifa
Period4/06/186/06/18

ASJC Scopus subject areas

  • Hardware and Architecture
  • Software
  • Electrical and Electronic Engineering
  • Computer Science Applications

Fingerprint

Dive into the research topics of 'Chaperone - Runtime system for instrumenting applications via partial binary translation'. Together they form a unique fingerprint.

Cite this