-
Notifications
You must be signed in to change notification settings - Fork 60
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
Simple pod to test system partitioning #695
Comments
@nelsonspbr Did you installed the OpenShift with the workload partition support? Take into account that currently, we are supporting workload partitioning only for single-node openshift. |
@cynepco3hahue I do not recall configuring anything related to that in
Interesting, I did not know that. In any case I find it curious that it seems to be working for existing pods. For example,
And many others, which before applying the performance profile were bound to CPUs 0-7 (all available). I checked some of them and they do specify |
@nelsonspbr I am afraid you can see some aligned pods because of the bug - https://bugzilla.redhat.com/show_bug.cgi?id=1979352, but in general, it should not work until you will configure the workload-partitioning and the PAO will support the workload partition configuration only under 4.9. |
Got it @cynepco3hahue. By the way, is there any particular set of instructions to set workload partitioning for single-node OpenShift that I could follow? I tried CRC before using |
The environment I currently have consists of:
OpenShift deployment via
openshift-installer
branchrelease-4.8
(built from source) withlibvirtd
, one master and one worker;PAO deployment following https://docs.openshift.com/container-platform/4.7; and
PerformanceProfile
:Once I did this the worker node rebooted and several tasks were moved to the reserved (housekeeping) VCPUs 0-1, as expected. Based on that I assume(d) that the overall setup is functional.
As a final test I wanted to deploy a simple pod on the reserved VCPUs. To do this I:
Deployed a test namespace with the appropriate annotation:
Deployed a pod with the appropriate annotation:
However, when I check the process CPU mask I get all VCPUs, not just the reserved ones as I expected:
The process name matches the one I am running, but the mask still shows 0-7. Am I missing anything? I am happy to provide more information if needed.
The text was updated successfully, but these errors were encountered: