Enabling Efficient Mobile Tracing with BTrace

Publikation: Beitrag in Buch/Konferenzbericht/Sammelband/GutachtenBeitrag in KonferenzbandBeigetragenBegutachtung

Beitragende

  • Jiawei Wang - , Seniorprofessor für Betriebssysteme, Dresden Research Lab Huawei Technologies, Huawei Technologies Co., Ltd. (Autor:in)
  • Nian Liu - , Huawei Technologies Co., Ltd. (Autor:in)
  • Arnau Casadevall-Saiz - , Vrije Universiteit Brussel, Dresden Research Lab Huawei Technologies, Huawei Technologies Co., Ltd. (Autor:in)
  • Yutao Liu - , Dresden Research Lab Huawei Technologies, Huawei Technologies Co., Ltd. (Autor:in)
  • Diogo Behrens - , Dresden Research Lab Huawei Technologies, Huawei Technologies Co., Ltd. (Autor:in)
  • Ming Fu - , Huawei Technologies Co., Ltd. (Autor:in)
  • Ning Jia - , Huawei Technologies Co., Ltd. (Autor:in)
  • Hermann Härtig - , Seniorprofessor für Betriebssysteme (Autor:in)
  • Haibo Chen - , Shanghai Jiao Tong University, Huawei Technologies Co., Ltd. (Autor:in)

Abstract

With the growing complexity of smartphone systems, effective tracing becomes vital for enhancing their stability and optimizing the user experience. Unfortunately, existing tracing tools are inefficient in smartphone scenarios. Their distributed designs (with either per-core or per-thread buffers) prioritize performance but lead to missing crucial clues with high probability. While these problems can be overlooked in previous scenarios (e.g., servers), they drastically limit the usefulness of tracing on smartphones.To enable efficient tracing on smartphones, we propose BTrace: a tracing tool that combines the performance benefits of per-core buffers with the capability of retaining longer continuous traces by partitioning a global buffer into multiple blocks, which are dynamically assigned to the most demanding cores.BTrace further gracefully handles unique requirements of modern smartphones, e.g., core oversubscription and resizing. BTrace has been deployed in production, recording an average of 2x continuous traces compared to the current best-performing tracer (Linux ftrace) and improving performance by 20%. Using BTrace, we successfully identified numerous bugs that require traces of long duration and are challenging to locate with existing tracers.

Details

OriginalspracheEnglisch
TitelProceedings of the 30th ACM International Conference On Architectural Support For Programming Languages And Operating Systems (ASPLOS 2025)
Herausgeber (Verlag)Assoc Computing Machinery
Seiten325-338
Seitenumfang14
Band2
ISBN (elektronisch)979-8-4007-1079-7
PublikationsstatusVeröffentlicht - 30 März 2025
Peer-Review-StatusJa

Konferenz

Titel30th International Conference on Architectural Support for Programming Languages and Operating Systems
KurztitelASPLOS 2025
Veranstaltungsnummer30
Dauer30 März - 3 April 2025
Webseite
OrtPostillion Hotel & Convention Centre WTC Rotterdam
StadtRotterdam
LandNiederlande

Externe IDs

Scopus 105002579711

Schlagworte

Fächergruppen, Lehr- und Forschungsbereiche, Fachgebiete nach Destatis

Schlagwörter

  • mobile, software debugging, tracing