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

Make io-tester jobs share sched classes #1481

Merged
merged 3 commits into from
Feb 28, 2023

Conversation

xemul
Copy link
Contributor

@xemul xemul commented Feb 8, 2023

The jobs from io-tester's config all live in their own sched groups and io classes. This is not very flexible, add the ability to share sched classes as it was done for the RPC tester in 4d0ddc4 (rpc_tester: Allow sharing sched groups)

refs: #1083

xemul added 2 commits February 8, 2023 19:58
"Early" is the place where we still can find some other job's class and
share it if needed (later patches)

Signed-off-by: Pavel Emelyanov <xemul@scylladb.com>
First -- register sched groups and io classes and collect them in a map.
Second -- walk the list of jobs and grab the classes.

This will allow jobs to shares classes with each other (next patch).

Signed-off-by: Pavel Emelyanov <xemul@scylladb.com>
@avikivity
Copy link
Member

Looks good, but does io_tester.md not need to be updated?

Right now different jobs live in different groups, so its impossible to,
e.g. make a CPU hog job live in the same class with the IO-issuer.

Signed-off-by: Pavel Emelyanov <xemul@scylladb.com>
@xemul xemul force-pushed the br-io-tester-shared-sched-groups branch from cbf77cd to 6af831f Compare February 28, 2023 12:17
@xemul
Copy link
Contributor Author

xemul commented Feb 28, 2023

Looks good, but does io_tester.md not need to be updated?

I didn't notice we had one 😕 Updated

@avikivity avikivity merged commit 9cbc1fe into scylladb:master Feb 28, 2023
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