storage: raftLogQueue locking causes contention on large machines #36251
Labels
C-performance
Perf of queries or internals. Solution not expected to change functional behavior.
no-issue-activity
X-stale
A mutex profile on a 3-node 32-core high CPU cluster running KV0 with 1024 splits (I ran it with a variety of concurrencies) reveals that the vast majority of time is spent waiting on the raftLogQueue.maybeAdd.
It seems possible to reconsider this locking in a targeted way given that a CPU profile for this looks like it's mostly accessing system and replica state rather than queue state.
The text was updated successfully, but these errors were encountered: