forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kvflowdispatch: move down dispatch mutex to reduce contention
In `kv0/enc=false/nodes=3/cpu=96`, we noticed mutex contention around the `outbox` map. This patch tries to alleviate that by moving the mutex down into each individual dispatch map (sharding by NodeID). Informs: cockroachdb#104154. Release note: None
- Loading branch information
1 parent
d51a306
commit 0999d98
Showing
1 changed file
with
44 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters