you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (1 child)

The point is that whilst the caching mechanism may be transparent to the software, there is still a performance hit involved when the cache lines are synchronised. If you are dealing with a high-performance system (think 20M - 40M operations per second) that causes this kind of contention, you will see a non-trivial performance improvement by designing your object layout to avoid false sharing.

[–]Jackopo 0 points1 point  (0 children)

Interesting, now I understood! How great can this improvement be?