Bug 1619778
| Summary: | Ballooning is incompatible with vfio assigned devices, but not prevented | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Alex Williamson <alex.williamson> | |
| Component: | qemu-kvm-rhev | Assignee: | Alex Williamson <alex.williamson> | |
| Status: | CLOSED ERRATA | QA Contact: | Yumei Huang <yuhuang> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 7.6 | CC: | chayang, jinzhao, juzhang, mdeng, micai, mrezanin, pezhang, qzhang, si58o4zj, virt-maint, yfu, yuhuang | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | qemu-kvm-rhev-2.12.0-20.el7 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1650272 1659229 (view as bug list) | Environment: | ||
| Last Closed: | 2019-08-22 09:18:48 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: | 1659229 | |||
|
Description
Alex Williamson
2018-08-21 17:21:11 UTC
Relevant upstream patches: 154304cd6e99 postcopy: Synchronize usage of the balloon inhibitor 8709b3954d41 vfio/pci: Fix failure to close file descriptor on error a1c0f886496c vfio/pci: Handle subsystem realpath() returning NULL 238e91728503 vfio/ccw/pci: Allow devices to opt-in for ballooning c65ee433153b vfio: Inhibit ballooning based on group attachment to a container f59489423ab7 kvm: Use inhibit to prevent ballooning without synchronous mmu 01ccbec7bdf6 balloon: Allow multiple inhibit users These are all included in QEMU-3.1 Fix included in qemu-kvm-rhev-2.12.0-20.el7 Same steps as https://bugzilla.redhat.com/show_bug.cgi?id=1650272#c4, reproduced with rhel8 guest against qemu-kvm-rhev-2.12.0-19.el7. Verified against qemu-kvm-rhev-2.12.0-20.el7, both rhel8 and rhel7 guest work well without dma error. 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, 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-2019:2553 > For the time being, memory hotplug is a better solution for creating dynamic VM densities with device assignment.
Could someone please explain how is hotplug in any way comparable to memballoon? Is the assumption that the admin monitors 24/7 memory activity and resizes it as needed? Can hotplugging even remove memory?
Does libvirt provide some type of a script that regularly shrinks unused memory? Sorry, but without memballoon many vfio workloads become impossible to scale.
|