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
Allow setting virtual NUMA nodes without host pinning #402
Conversation
/ost |
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 am a bit worried about his lines:
Line 1752 in 978c90e
if (!model.getIsNew() && !model.getIsClone() && model.getNumaEnabled().getEntity() && |
Could you please test if the edit of the NUMA count works if the VM is not pinned to a host?
...on/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/popup/AbstractVmPopupWidget.java
Show resolved
Hide resolved
Of course I did when I set the |
Hmm, it probably works because of the following lines:
I am not a big fan of how the logic for NUMA is scattered throughout the code. Anyway, sorry I've doubted you :-) (no really, there are so many different paths that can be tested in the VM dialog that it is easy to miss some of them). |
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/numa/vm/NumaValidator.java
Show resolved
Hide resolved
This patch will allow setting via UI and API virtual NUMA nodes to a VM without having the VM pinned to a host. If a `numa_node_pin` is set, the scheduler will filter out hosts that won't fit to the NUMA pinning. Otherwise, the VM will start with the set amount of virtual NUMA nodes. Change-Id: Ia35a95babf3ae6b2d4713c809052be1d6ddede38 Bug-Url: https://bugzilla.redhat.com/2081410 Signed-off-by: Liran Rotenberg <lrotenbe@redhat.com>
/ost |
1 similar comment
/ost |
This patch will allow setting via UI and API virtual NUMA nodes to a VM
without having the VM pinned to a host. If a
numa_node_pin
is set, thescheduler will filter out hosts that won't fit to the NUMA pinning.
Otherwise, the VM will start with the set amount of virtual NUMA nodes.
Change-Id: Ia35a95babf3ae6b2d4713c809052be1d6ddede38
Bug-Url: https://bugzilla.redhat.com/2081410
Signed-off-by: Liran Rotenberg lrotenbe@redhat.com