<  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 Dagenais

Article (2018)

Open Access document in PolyPublie
[img]
Preview
Open Access to the full text of this document
Accepted Version
Terms of Use: All rights reserved
Download (596kB)
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

Subjects: 2700 Information technology > 2700 Information technology
2700 Information technology > 2715 Optimization
Department: Department of Computer Engineering and Software Engineering
Funders: CRSNG/NSERC
Grant number: CRDPJ468687-14
PolyPublie URL: https://publications.polymtl.ca/3816/
Journal Title: ACM Computing Surveys (vol. 51, no. 2)
Publisher: ACM
DOI: 10.1145/3158644
Official URL: https://doi.org/10.1145/3158644
Date Deposited: 30 Apr 2019 13:41
Last Modified: 27 Sep 2024 08:29
Cite in APA 7: Gebai, M., & Dagenais, M. (2018). Survey and analysis of kernel and userspace tracers on Linux : design, implementation, and overhead. ACM Computing Surveys, 51(2), 26:1-26:33. https://doi.org/10.1145/3158644

Statistics

Total downloads

Downloads per month in the last year

Origin of downloads

Dimensions

Repository Staff Only

View Item View Item