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

Add more banking stage benchmarks (backport #24248) #24919

Merged
merged 3 commits into from
May 4, 2022

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented May 2, 2022

This is an automatic backport of pull request #24248 done by Mergify.
Cherry-pick of 2c7699e has failed:

On branch mergify/bp/v1.10/pr-24248
Your branch is up to date with 'origin/v1.10'.

You are currently cherry-picking commit 2c7699eb8.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   banking-bench/Cargo.toml
	modified:   banking-bench/src/main.rs

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   Cargo.lock

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

(cherry picked from commit 2c7699e)

# Conflicts:
#	Cargo.lock
@mergify mergify bot added the conflicts label May 2, 2022
@mergify mergify bot added automerge Merge this Pull Request automatically once CI passes and removed automerge Merge this Pull Request automatically once CI passes labels May 2, 2022
@mergify
Copy link
Contributor Author

mergify bot commented May 2, 2022

automerge label removed due to a CI failure

@carllin carllin force-pushed the mergify/bp/v1.10/pr-24248 branch from 7f0760e to 5e8a0d4 Compare May 3, 2022 00:05
@mergify mergify bot added the automerge Merge this Pull Request automatically once CI passes label May 3, 2022
@carllin carllin force-pushed the mergify/bp/v1.10/pr-24248 branch from 5e8a0d4 to 45f431d Compare May 3, 2022 00:06
@solana-grimes solana-grimes removed the automerge Merge this Pull Request automatically once CI passes label May 3, 2022
@solana-grimes
Copy link
Contributor

😱 New commits were pushed while the automerge label was present.

@mergify mergify bot added automerge Merge this Pull Request automatically once CI passes and removed automerge Merge this Pull Request automatically once CI passes labels May 3, 2022
@mergify
Copy link
Contributor Author

mergify bot commented May 3, 2022

automerge label removed due to a CI failure

- Add write-lock-contention option, replacing same_payer
- write-lock-contention also has a same-batch-only value, where
  contention happens only inside batches, not between them
- Rename num-threads to batches-per-iteration, which is closer to what
  it is actually doing.
- Add num-banking-threads as a new option
- Rename packets-per-chunk to packets-per-batch, because this is closer
  to what's happening; and it was previously confusing that num-chunks
  had little to do with packets-per-chunk.

Example output for a iterations=100 and a permutation of inputs:

contention,threads,batchsize,batchcount,tps
none,           3,192, 4,65290.30
none,           4,192, 4,77358.06
none,           5,192, 4,86436.65
none,           3, 12,64,43944.57
none,           4, 12,64,65852.15
none,           5, 12,64,70674.37
same-batch-only,3,192, 4,3928.21
same-batch-only,4,192, 4,6460.15
same-batch-only,5,192, 4,7242.85
same-batch-only,3, 12,64,11377.58
same-batch-only,4, 12,64,19582.79
same-batch-only,5, 12,64,24648.45
full,           3,192, 4,3914.26
full,           4,192, 4,2102.99
full,           5,192, 4,3041.87
full,           3, 12,64,11316.17
full,           4, 12,64,2224.99
full,           5, 12,64,5240.32

(cherry picked from commit d2c6c04)
@carllin carllin force-pushed the mergify/bp/v1.10/pr-24248 branch from 45f431d to 59ca79a Compare May 3, 2022 00:18
@mergify mergify bot added automerge Merge this Pull Request automatically once CI passes and removed automerge Merge this Pull Request automatically once CI passes labels May 3, 2022
@mergify
Copy link
Contributor Author

mergify bot commented May 3, 2022

automerge label removed due to a CI failure

@mergify mergify bot added automerge Merge this Pull Request automatically once CI passes and removed automerge Merge this Pull Request automatically once CI passes labels May 3, 2022
@mergify
Copy link
Contributor Author

mergify bot commented May 3, 2022

automerge label removed due to a CI failure

@mergify mergify bot added automerge Merge this Pull Request automatically once CI passes and removed automerge Merge this Pull Request automatically once CI passes labels May 3, 2022
@mergify
Copy link
Contributor Author

mergify bot commented May 3, 2022

automerge label removed due to a CI failure

@tao-stones tao-stones force-pushed the mergify/bp/v1.10/pr-24248 branch from 0883e1d to b69d686 Compare May 3, 2022 23:27
@mergify mergify bot added the automerge Merge this Pull Request automatically once CI passes label May 3, 2022
@mergify mergify bot merged commit 9f9b1e4 into v1.10 May 4, 2022
@mergify mergify bot deleted the mergify/bp/v1.10/pr-24248 branch May 4, 2022 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Merge this Pull Request automatically once CI passes conflicts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants