Profiling Resilio agent

If you encounter the situation when the Resilio agent is slow for no obvious reason or CPU usage is abnormal, that's a good time for collecting more debug info using profiling technique.

WINDOWS

Download the latest version of UIforETW from here
https://github.com/google/UIforETW/releases

Or using direct link
https://github.com/google/UIforETW/releases/download/v1.56/etwpackage1.56.zip

Unpack the archive, navigate to bin subfolder and launch UIforETW.exe.

On the first start, it will suggest downloading Windows profiling tools. Download and install them.

Wait for the moment when the Resilio agent becomes unresponsive.

Press Start Tracing button and wait for 10-15 minutes.

mceclip0.png

After 10 minutes, press the Save Trace Buffers button to stop tracing.

mceclip1.png

Right-click the resulting trace name, zip it and upload to Resilio Support with the latest logs from the affected Agent.