What is the difference between L2 Compression Success Rate different with L2 Compression Ratio in NCU?

First, there are two performance counters in GPU, which are “ L2 Compression Success Rate” and “L2 Compression Ratio”. Could someone clarify the differences between these two?
Secondly, I profiled cudaCompressibleMemory, and from the print outs it appears that there is compression and performance improvement.


but in reality, I did not get any relevant data through these two metrics in the NCU report.

Are these two metrics not implemented in NCU?
Thanks.

1 Like

Success Rate is what percentage of the data sent to L2 was successfully compressed. The Compression Ratio is the 1:N data size reduction of the compressed sectors. I.e. if you send 100 sectors to L2 and 25 were compressed, the rate would be 25%. If those 25% were compressed in half, the ratio would be 50%.

1 Like

Thanks. I don’t have any other questions.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.