Question: One performance optimization commonly used is to pad synchronization variables to not have any other useful data in the same cache line as the synchronization
One performance optimization commonly used is to pad synchronization variables to not have any other useful data in the same cache line as the synchronization variable. Construct a pathological example when not doing this can hurt performance. Assume a snooping write invalidate protocol.
Step by Step Solution
3.44 Rating (160 Votes )
There are 3 Steps involved in it
Assume a cache line that has a synchronization variable and the data guarded by that syn... View full answer
Get step-by-step solutions from verified subject matter experts
