High load on traced_probes process
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.
🤖 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.
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.