-
Notifications
You must be signed in to change notification settings - Fork 2
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
Setting the VMI-Under-Test CPUs to be four #55
Conversation
@orelmisan let's hold this PR until we have a cluster with the HCO |
pkg/internal/checkup/checkup.go
Outdated
CPUCoresCount = 2 | ||
CPUTreadsCount = 2 |
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.
Currently we have a guest with SMT disabled (CPUTreadsCount = 1).
I'm not sure we need to change that.
@matosatti WDYT?
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.
my reasons for adding this:
- This is how we did it on the DPDK repo
- Our stakeholders wanted the checkup to run on a SMT enabled environment, so I guess this is what they mean..
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.
In https://access.redhat.com/solutions/7007632 (which serves as our reference), SMT is disabled in the guest.
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.
OK then let's wait for @matosatti before we proceed
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.
talked offline - changed to CPUTreadsCount =1
.
But the question remains open - it will be addressed on a separate PR if needed.
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.
It should not matter whether SMT is disabled or not in the guest vCPUs.
passed on CNV4.15 cluster:
logs:
|
now ready for review |
We need to consider masking CPUs 2 and 3 to be realtime, while the other two are not using |
Currently the vmi-under-test is using 3 CPUs, in order to be able to run the checkup and avoid getting the CNV-31584 [0] Jira Bug. However, this configuration is sub-optimal, as the CPUs currently running the Oslat are sibling to the non-isolated CPU 0. Now that the CNV-31584 Bug is resolved, optimizing the checkup's performance by requesting for a full core to run the Oslat test. Setting the CPUs requested to four. [0] https://issues.redhat.com/browse/CNV-31584 Signed-off-by: Ram Lavi <[email protected]>
Signed-off-by: Ram Lavi <[email protected]>
Setting the CPUs that will run the Oslat test to be from the same core (=siblings). Signed-off-by: Ram Lavi <[email protected]>
Change: Set the guest SMT to disabled. |
I am not against, but let's consult with @matosatti , and add it in a separate PR. |
Passed on CNV 4.15 cluster:
|
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.
Thank you
I don't think this is necessary: only setting all vCPUs as realtime is supported officially (because there are known problems by not doing that). |
This PR is changing the amount of CPUs requested to be four.
Doing this allows the checkup to run the Oslat test on a full core (in this checkup - guest CPUs 2-3).
By doing this Oslat is optimized to not have neighboring CPU noise.