Bug 2165618
| Summary: | Overhead of management layer in virt-launcher is not calculated accurately | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | Itamar Holder <iholder> | ||||
| Component: | Virtualization | Assignee: | Itamar Holder <iholder> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Denys Shchedrivyi <dshchedr> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | urgent | ||||||
| Version: | 4.10.1 | CC: | acardace, bbenshab, fdeutsch, jhopper, mimehta, nashok | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 4.13.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | hco-bundle-registry-container-v4.13.0.rhel9-1849 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 2176031 2176032 2176034 (view as bug list) | Environment: | |||||
| Last Closed: | 2023-05-18 02:57:02 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 2176031, 2176032, 2176034 | ||||||
| Attachments: |
|
||||||
|
Description
Itamar Holder
2023-01-30 15:08:46 UTC
PR is now out there: https://github.com/kubevirt/kubevirt/pull/9322 Verified on v4.13.0.rhel9-1931, don't see the missing overhead with running vdbench. Also verified that overhead memory can be increased with new kubevirt field: additionalGuestMemoryOverheadRatio Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Virtualization 4.13.0 Images security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2023:3205 Can you please help me understand how to configure additionalGuestMemoryOverheadRatio in OpenShift Virtualization where kubevirt CR is controlled by hco? I cannot see any similar configuration option in hco. You can use jsonpatch annotations [1]. For example, from cli you can set it like this: > $ oc annotate --overwrite -n openshift-cnv hco kubevirt-hyperconverged kubevirt.kubevirt.io/jsonpatch='[{"op": "add", "path": "/spec/configuration/additionalGuestMemoryOverheadRatio", "value": "2"}]' and it will set neccessary parameter in the KubeVirt CR: > $ oc get kubevirt kubevirt-kubevirt-hyperconverged -n openshift-cnv -o json | jq .spec.configuration.additionalGuestMemoryOverheadRatio > "2" [1] https://github.com/kubevirt/hyperconverged-cluster-operator/blob/main/docs/cluster-configuration.md#jsonpatch-annotations |