*** note This doc is WIP, stay tuned.
This doc should show the charts of perfetto_benchmarks
, showing cpu usage and tracing bandwidth for both writing (producer->service) and reading (service->file / service->consumer).
In two modes:
Tweaking the various parameters, such as:
TL;DR:
Peak producer-to-service tracing bandwidth:
Producer-to-service CPU overhead when writing ~3 MB/s: 0.01 - 0.03 (0.01 := 1% cpu time of one core)
CPU overhead for translating ftrace raw pipe into protobuf: