<  Back to the Polytechnique Montréal portal

Survey and analysis of kernel and userspace tracers on Linux : design, implementation, and overhead

Mohamad Gebai and Michel R. Dagenais

Article (2018)

[img]
Preview
Accepted Version
Terms of Use: All rights reserved.
Download (734kB)
Cite this document: Gebai, M. & Dagenais, M. R. (2018). Survey and analysis of kernel and userspace tracers on Linux : design, implementation, and overhead. ACM Computing Surveys, 51(2), 26:1-26:33. doi:10.1145/3158644
Show abstract Hide abstract

Abstract

As applications and operating systems are becoming more complex, the last decade has seen the rise of many tracing tools all across the software stack. This article presents a hands-on comparison of modern tracers on Linux systems, both in user space and kernel space. The authors implement microbenchmarks that not only quantify the overhead of different tracers, but also sample fine-grained metrics that unveil insights into the tracers’ internals and show the cause of each tracer’s overhead. Internal design choices and implementation particularities are discussed, which helps us to understand the challenges of developing tracers. Furthermore, this analysis aims to help users choose and configure their tracers based on their specific requirements to reduce their overhead and get the most of out of them.

Uncontrolled Keywords

Linux, kernel, userspace, tracer, ring buffer, performance, lockless, reen-trancy, monitoring

Open Access document in PolyPublie
Subjects: 2700 Technologie de l'information > 2700 Technologie de l'information
2700 Technologie de l'information > 2715 Optimisation
Department: Département de génie informatique et génie logiciel
Research Center: Non applicable
Funders: CRSNG/NSERC
Grant number: CRDPJ468687-14
Date Deposited: 30 Apr 2019 13:41
Last Modified: 01 May 2019 01:20
PolyPublie URL: https://publications.polymtl.ca/3816/
Document issued by the official publisher
Journal Title: ACM Computing Surveys (vol. 51, no. 2)
Publisher: ACM
Official URL: https://doi.org/10.1145/3158644

Statistics

Total downloads

Downloads per month in the last year

Origin of downloads

Dimensions

Repository Staff Only