Eliminating eBPF Tracing Overhead on Untraced Processes

dc.contributor.authorCraun, Miloen
dc.contributor.authorHussain, Khizaren
dc.contributor.authorGautam, Uddhaven
dc.contributor.authorJi, Zhengjieen
dc.contributor.authorRao, Tanujen
dc.contributor.authorWilliams, Danen
dc.date.accessioned2024-09-04T12:15:07Zen
dc.date.available2024-09-04T12:15:07Zen
dc.date.issued2024-08-04en
dc.date.updated2024-09-01T07:48:31Zen
dc.description.abstractCurrent eBPF-based kernel extensions affect entire systems, and are coarse-grained. For some use cases, like tracing, operators are more interested in tracing a subset of processes (e.g., belonging to a container) rather than all processes. While overhead from tracing is expected for targeted processes, we find untraced processes—those that are not the target of tracing—also incur performance overhead. To better understand this overhead, we identify and explore three techniques for per-process filtering for eBPF: post-eBPF, in-eBPF, and pre-eBPF filtering, finding that all three approaches result in excessive overhead on untraced processes. Finally, we propose a system that allows for zero-untraced-overhead per-process eBPF tracing by modifying kernel virtual memory mappings to present per-process kernel views, effectively enabling untraced processes to execute on the kernel as if no eBPF programs are attached.en
dc.description.versionPublished versionen
dc.format.mimetypeapplication/pdfen
dc.identifier.doihttps://doi.org/10.1145/3672197.3673431en
dc.identifier.urihttps://hdl.handle.net/10919/121069en
dc.language.isoenen
dc.publisherACMen
dc.rightsCreative Commons Attribution 4.0 Internationalen
dc.rights.holderThe author(s)en
dc.rights.urihttp://creativecommons.org/licenses/by/4.0/en
dc.titleEliminating eBPF Tracing Overhead on Untraced Processesen
dc.typeArticle - Refereeden
dc.type.dcmitypeTexten

Files

Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
3672197.3673431.pdf
Size:
3.28 MB
Format:
Adobe Portable Document Format
Description:
Published version
License bundle
Now showing 1 - 1 of 1
Name:
license.txt
Size:
1.5 KB
Format:
Item-specific license agreed upon to submission
Description: