Skip to content

backupccl: create more chunks on larger clusters#64067

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
pbardea:chunk-size-rework
Apr 23, 2021
Merged

backupccl: create more chunks on larger clusters#64067
craig[bot] merged 1 commit intocockroachdb:masterfrom
pbardea:chunk-size-rework

Conversation

@pbardea
Copy link
Copy Markdown
Contributor

@pbardea pbardea commented Apr 22, 2021

This change updates the chunk size to take larger clusters into account.
On larger clusters, having more chunks (that are each smaller) is
beneficial because this results in more even load after scattering these
chunks.

Release note: None

This change updates the chunk size to take larger clusters into account.
On larger clusters, having more chunks (that are each smaller) is
beneficial because this results in more even load after scattering these
chunks.

Release note: None
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@pbardea pbardea requested review from adityamaru and dt April 22, 2021 14:18
@pbardea pbardea marked this pull request as ready for review April 22, 2021 14:19
@pbardea pbardea requested a review from a team April 22, 2021 14:19
@pbardea
Copy link
Copy Markdown
Contributor Author

pbardea commented Apr 22, 2021

Anecdotally it looks like this change helps reduce the discrepancy between when the processors finish processing their AddSSTable requests. Will run some before/after restore2TBs to see if there's a meaningful reduction in the variance of the test runs.

@pbardea
Copy link
Copy Markdown
Contributor Author

pbardea commented Apr 23, 2021

This looks to do good things.

Before:

--- PASS: restore2TB/nodes=10 (2486.01s)
--- PASS: restore2TB/nodes=10 (2636.72s)
--- PASS: restore2TB/nodes=10 (3798.67s)
--- PASS: restore2TB/nodes=10 (5293.93s)

After:

--- PASS: restore2TB/nodes=10 (1857.97s)
--- PASS: restore2TB/nodes=10 (1982.11s)
--- PASS: restore2TB/nodes=10 (2982.15s)
--- PASS: restore2TB/nodes=10 (3497.90s)

@pbardea
Copy link
Copy Markdown
Contributor Author

pbardea commented Apr 23, 2021

TFTRs!
bors r=dt,adityamaru

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Apr 23, 2021

Build succeeded:

@craig craig bot merged commit d91205f into cockroachdb:master Apr 23, 2021
craig bot pushed a commit that referenced this pull request May 17, 2021
64656: release-21.1: improve restore performance consistency r=dt a=pbardea

Backport:
  * 2/2 commits from "backupccl: rework split and scatter mechanism" (#63471)
  * 1/1 commits from "backupccl: fix a bug in routing scattered ranges" (#63875)
  * 1/1 commits from "backupccl: create more chunks on larger clusters" (#64067)

Please see individual PRs for details.

/cc @cockroachdb/release

Added do-not-merge label until release-21.1 opens for 21.1.1 backports once the release is out.


Co-authored-by: Paul Bardea <pbardea@gmail.com>
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.

4 participants