Calculating contention percentages
You can use a formula to calculate the percentage of global contention and false contention in your data sharing environment.
Use the following calculations:
- Total contention is the number of deferred requests ( B )
divided by the total number of requests ( A ),
multiplied by 100. So, for this example:
(621 / 162000) × 100 = .387%This indicates that the global contention rate is approximately 0.39 % (a good figure).
- False contention is the number of false contentions ( C )
divided by the total number of requests ( A )
multiplied by 100. For this example:
(212 / 162000) × 100 = 0.13%Thus, the rate of false contention is 0.13 % (a very good figure).