Loading trace file with local TP, but the webpage response is slow and not smooth
hi, I am using local acceleration mode in a Windows PC to process a Linux system trace file with a size of approximately 600M,like:
However, after opening the Perfetto UI, the loading and usage are slow, affecting the operation. And the same time, the cpu and memory usage of the PC are still acceptable:
What is the reason for this and how can we solve this situation?
Couple of things:
- can you please link the trace demoing this problem?
- can you try using autopush UI (click on flags on the sidebar, then release channel then autopush) and then retry. Does it repro there?
- finally on autopush, this trace should be loadable without the native accelerator. Does it repro if you dont use it and just load the trace directly?
The screenshot file of the trace is as follows, but unfortunately, the original file cannot be provided.
When I use the stable version to load it by browser without the native accelerator,the error is:
And I follow your advice to load it in autopush version, the browser load the trace finally and the memory usage changes like:
from
to
but when I use WASD keys or mouse wheel,the reponse is slow too.
I can imagine that the trace file loaded in the browser runs slowly, maybe the the trace file is too big or browser performance is limited. But why does the native acceleration mode also response slowly when I change another PC with 128G memory?
Sorry but without the trace this issue is impossible to debug. If you don't want to share publicly, please send to [email protected] using Google Drive or some other file hosting service
If you cannot share, there's not much we can do here.
Okay, thank you very much. I will try to prepare a simulation trace file without sensitive information later.
It's hard to tell exactly what the problem is without more information, but something you can try quickly is enabling 'Virtual Track Scrolling' (https://ui.perfetto.dev/#!/flags/virtualTrackScrolling).
This is experimental so YMMV, but it can speed the UI up a lot.
Closing for now, feel free to re-open if the flag doesn't help.