Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

record: increase SyncConcurrency #2764

Merged
merged 1 commit into from
Jul 24, 2023
Merged

Conversation

jbowens
Copy link
Collaborator

@jbowens jbowens commented Jul 21, 2023

Increase record.SyncConcurrency to 4096 to allow additional concurrency within the commit pipeline. In workloads with heavy writes and high concurrency, we've observed semaphore queueing artificially increasing tail latencies.

Here's a graph of a kv0 workload with 2KiB writes. Before ~16:00 cockroach was running with just #2762, and after was running with #2762 and this commit:

Screenshot 2023-07-21 at 12 32 23 PM

Increase record.SyncConcurrency to 4096 to allow additional concurrency within
the commit pipeline. In workloads with heavy writes and high concurrency, we've
observed semaphore queueing artifically increasing tail latencies.
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@jbowens jbowens requested review from sumeerbhola and a team July 24, 2023 15:57
Copy link
Collaborator

@sumeerbhola sumeerbhola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @jbowens)

@jbowens
Copy link
Collaborator Author

jbowens commented Jul 24, 2023

TFTR!

@jbowens jbowens merged commit 4afa98e into cockroachdb:master Jul 24, 2023
9 checks passed
@jbowens jbowens deleted the inc-concurrency branch July 24, 2023 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants