InfraMaxx

Performance & eBPF

Lock contention

Intermediate · 4 min read · quiz included

A contended lock makes threads sleep on a futex, so CPU can look low while throughput is capped. The length of the locked section sets the ceiling, and adding threads does not lift it.

What you will be able to do

What is in the lesson

Read this lessonFree. No account needed.

More in Performance & eBPF

All 40 Performance & eBPF lessons