Hi, can anyone help me find Mali Performance counters (direct or indirect) that can give information on
1. L1 texture cache hits or misses
2. L1 load/store unit cache hits or misses
3. Number of requests made to L2 cache
4. Number of requests made to external memory
Here is the document I have been referring https://developer.arm.com/documentation/102730/latest/
Thank you
Swapnil Ghanshyala said:1. L1 texture cache hits or misses
Not possible to count, and mostly a useless metrics for a GPU (cache misses are expected and in most cases do not actually cause lost cycles).
The "Texture bytes read from L2 per texture cycle" and "Texture bytes read from external memory per texture cycle" counters will give you a feel for the number of bytes fetched per access, but what "good" looks like depends on your texture format.
Swapnil Ghanshyala said:2. L1 load/store unit cache hits or misses
The "Load/store bytes read from L2 per texture cycle" and "Load/store bytes read from external memory per texture cycle" counters will give you a feel for the number of bytes fetched per access, but what "good" looks like depends on your data structure.
Swapnil Ghanshyala said:3. Number of requests made to L2 cache
See the shader core memory traffic section in the document you linked - it gives you the L2 traffic breakdown by source.
Swapnil Ghanshyala said:4. Number of requests made to external memory
See the shader core memory traffic section in the document you linked - it gives you the external traffic breakdown by source.
HTH, Pete
Hi Pete,
Thanks for the explanation. This helped a lot!
Could you help me with the memory specs for Samsung Exynos 2100 model SM-G996B.
1) L2 cache size along with the number of slices
2) Last level cache size.
I have been refering https://developer.arm.com/Processors/Mali-G78 post for architecture specs of g78.
Number of slices
Streamline reports this as a variable you can use in expressions ($MaliConstantsL2SliceCount).
For the others we don't have access to the information in the tools, so you'd need to ask Samsung.