|
|
|
|
|
by tremon
15 days ago
|
|
Lock contention is when multiple threads try to access the same (memory) resource. More cores == more threads accessing the resource, and faster execution == less time between resource access for each thread. Both factors increase the time spent waiting on said lock, in relative and in absolute terms. To put in a car analogy: if you have a ferry that can carry X cars per crossing, increasing either the number of lanes to the ferry (more cores) or increasing the maximum driving speed (faster cores) will only result in longer queues at the water's edge. |
|