-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Refactor the Load Generator and Support SteadyState Types #7265
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR will affect two prow jobs. So before merging this, you also need another PR to fix those jobs.
periodic-kubevirt-performance-cluster-100-density-test
periodic-kubevirt-performance-cluster-scale-density-test
Both jobs execute the automation/perfscale-test.sh, which run the perfscale-load-generator tool. You also need to update this script accordingly to the new logic.
/hold
config.QPS = float32(t.Global.QPS) | ||
config.Burst = t.Global.Burst | ||
config.QPS = QPS | ||
config.Burst = Burst |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the client QPS and Burst are not configurable anymore?
In fact, by default I was disabling rate limiting for the client library (i.e., 0 values)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted to reduce config options. I default to 20
which should be plenty for the time being.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if we should hard-code this.... Actually, we should avoid hard-coded parameters....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed both to unlimited. We can come back and change this as the tool matures.
db0867a
to
6c50d82
Compare
/retest |
created kubevirt/project-infra#1946. I think this change can go in first and 1946 can quickly follow. |
/unhold |
/retest |
/retest |
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: davidvossel 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 |
Signed-off-by: Ryan Hallisey <rhallisey@nvidia.com>
Signed-off-by: Ryan Hallisey <rhallisey@nvidia.com>
Signed-off-by: Ryan Hallisey <rhallisey@nvidia.com>
Signed-off-by: Ryan Hallisey <rhallisey@nvidia.com>
Signed-off-by: Ryan Hallisey <rhallisey@nvidia.com>
Signed-off-by: Ryan Hallisey <rhallisey@nvidia.com>
Signed-off-by: Ryan Hallisey <rhallisey@nvidia.com>
Signed-off-by: Ryan Hallisey <rhallisey@nvidia.com>
Signed-off-by: Ryan Hallisey <rhallisey@nvidia.com>
Signed-off-by: Ryan Hallisey <rhallisey@nvidia.com>
rebased. @marceloamaral need another lgtm from you |
/retest |
/lgtm |
/retest-required |
Refactor the load generator code.
Test below shows a steady-state workload with
churn: 2
count: 5
. This will create 5 VMIs and delete 2 VMIs frequently over a5m
period.Release note:
Future work:
CreateWorkload
is really the same as BurstCreateWorkload
. Call Burst create from SteadyState.