Questions about performance analysis with Metal System Trace

Hi


I ran into some issues with performance analysis with Metal System Trace.


First, I see bars with gray color in Vertex track. The gray bars appear at the same location, with the same length, in every frame.

What are the gray bars in Vertex track? And, is there a way to elliminate them?


Second, I noticed there are long intervals where Fragment processing is idling. Check out 'Render Ecoder 32865', the red one at the middle of the screenshot.

There is a long idle time on Fragment track before 'Render Encoder 32865'. The vertex processing for 'Render Encoder 32865' started and finished much earlier than the fragment processing started. What could possible be causing the fragment processing to idle?


https://www.dropbox.com/s/z4npwmd9f2kih78/metal_000.png?dl=0


Thanks.

Replies

Hi Sugu,

Can you also upload the trace file? That contains much more information that will help in diagnosing what is happening.


Cheers,

Seth.