perfetto icon indicating copy to clipboard operation
perfetto copied to clipboard

High load on traced_probes process

Open WWKy opened this issue 1 year ago • 2 comments

Hello~. I collected Perfetto traces on an Android device using the Perfetto SDK. I noticed that the power consumption of the traced_probes process is occasionally high. During this period, I see the following log entries:

09-04 17:27:47.327  2452  2452 I perfetto: ory_arbiter_impl.cc:193 Shared memory buffer overrun! Stalling
09-04 17:27:47.333  2452  2452 I perfetto: ory_arbiter_impl.cc:167 Recovered from stall after 9 iterations
09-04 17:27:47.720  2452  2452 I perfetto: ory_arbiter_impl.cc:193 Shared memory buffer overrun! Stalling
09-04 17:27:47.720  2452  2452 I perfetto: ory_arbiter_impl.cc:167 Recovered from stall after 5 iterations
09-04 17:28:07.324  2452  2452 I perfetto: ory_arbiter_impl.cc:193 Shared memory buffer overrun! Stalling
09-04 17:28:07.325  2452  2452 I perfetto: ory_arbiter_impl.cc:167 Recovered from stall after 7 iterations
09-04 17:28:17.312  2452  2452 I perfetto: ory_arbiter_impl.cc:193 Shared memory buffer overrun! Stalling
09-04 17:28:17.318  2452  2452 I perfetto: ory_arbiter_impl.cc:167 Recovered from stall after 9 iterations

Are these log entries related to the high load on traced_probes process? I suspect it might be caused by an excessive amount of trace data being generated by the trace data source.

WWKy avatar Sep 11 '25 13:09 WWKy

🤖 Hi @WWKy, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.

github-actions[bot] avatar Sep 11 '25 13:09 github-actions[bot]

The message is indeed caused by a lot of trace data going through traced_probes but is also completely harmless. In fact it was removed at HEAD in https://github.com/google/perfetto/pull/1171

This message should really always have been a DLOG and can be safely ignored by anyone outside the Perfetto team.

LalitMaganti avatar Sep 11 '25 13:09 LalitMaganti