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

workload: add a high throughput workload for testing. #1110

Merged
merged 12 commits into from
Mar 17, 2025

Conversation

asddongmen
Copy link
Collaborator

@asddongmen asddongmen commented Mar 14, 2025

Signed-off-by: dongmen 414110582@qq.com

What problem does this PR solve?

Issue Number: close #1111

What is changed and how it works?

Add an update_bank workload, which can write data upstream at a rate of several GB per second.

image

The following is the command to use this workload.

# prepare 20 million row data
./workload -database-host 10.128.15.221 -database-port 4000  -action prepare -database-db-name test -table-count 1 -workload-type bank_update -thread 16 -total-row-count 20000000  -update-large-column-size 4000

# update 
./workload -database-host 10.128.15.221 -database-port 4000 -action update -database-db-name test -table-count 1 -workload-type bank_update -thread 16 -total-row-count 20000000 -percentage-for-update 1.0 -batch-size 20000 -update-large-column-size 4000

Check List

Tests

  • Manual test (add detailed scripts or steps below)

Questions

Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?

Release note

None

Signed-off-by: dongmen <414110582@qq.com>
Signed-off-by: dongmen <414110582@qq.com>
Signed-off-by: dongmen <414110582@qq.com>
Signed-off-by: dongmen <414110582@qq.com>
@ti-chi-bot ti-chi-bot bot added do-not-merge/needs-linked-issue release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. release-note-none Denotes a PR that doesn't merit a release note. and removed do-not-merge/needs-linked-issue release-note Denotes a PR that will be considered when it comes time to generate release notes. labels Mar 14, 2025
@asddongmen asddongmen changed the title add update bank workload: add a high throughput workload for testing. Mar 14, 2025
Signed-off-by: dongmen <414110582@qq.com>
Signed-off-by: dongmen <414110582@qq.com>
Signed-off-by: dongmen <414110582@qq.com>
Signed-off-by: dongmen <414110582@qq.com>
Signed-off-by: dongmen <414110582@qq.com>
Signed-off-by: dongmen <414110582@qq.com>
Signed-off-by: dongmen <414110582@qq.com>
@ti-chi-bot ti-chi-bot bot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Mar 14, 2025
@asddongmen asddongmen self-assigned this Mar 14, 2025
Signed-off-by: dongmen <414110582@qq.com>
@asddongmen
Copy link
Collaborator Author

/retest

1 similar comment
@purelind
Copy link

/retest

Copy link

ti-chi-bot bot commented Mar 17, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: wk989898

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added the lgtm label Mar 17, 2025
Copy link

ti-chi-bot bot commented Mar 17, 2025

[LGTM Timeline notifier]

Timeline:

  • 2025-03-17 03:13:58.794570421 +0000 UTC m=+238932.478806517: ☑️ agreed by wk989898.

@ti-chi-bot ti-chi-bot bot added the approved label Mar 17, 2025
@asddongmen
Copy link
Collaborator Author

/retest

1 similar comment
@asddongmen
Copy link
Collaborator Author

/retest

@ti-chi-bot ti-chi-bot bot merged commit eeb1fb2 into pingcap:master Mar 17, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm release-note-none Denotes a PR that doesn't merit a release note. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a high throughput workload.
4 participants