Bug 1157264
| Summary: | Allow qemu-img to bypass the host cache (check, compare, convert, rebase, amend) | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Federico Simoncelli <fsimonce> |
| Component: | vdsm | Assignee: | Federico Simoncelli <fsimonce> |
| Status: | CLOSED DUPLICATE | QA Contact: | Aharon Canan <acanan> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.5.0 | CC: | amureini, bazulay, bsarathy, bugs, chayang, ecohen, fsimonce, gklein, hreitz, iheim, juzhang, lpeer, lsurette, mgoldboi, michen, mkenneth, mst, nsoffer, qzhang, rbalakri, Rhev-m-bugs, scohen, s.kieske, sluo, stefanha, tlavigne, tnisan, virt-maint, yeylon |
| Target Milestone: | ovirt-3.6.3 | ||
| Target Release: | 3.6.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | storage | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1116558 | Environment: | |
| Last Closed: | 2014-12-22 18:42:46 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1116558 | ||
| Bug Blocks: | |||
|
Description
Federico Simoncelli
2014-10-26 19:10:58 UTC
I am setting the component of this bz to ovirt-engine-backend because if I am not mistaken at the oVirt workshop Markus Stockhausen pointed out that the VMs were migrated out of the host even before memory swapping. If that's really the case then there's probably an issue on the engine side where we consider cached memory as used and unreclaimable memory. If that's not the case then we should switch this bz to vdsm to take advantage of the new qemu-img option to use O_DIRECT on read as well. (We may want to do this regardless but let's wait for feedback first) Markus can you please clarify what is the exact behavior? Are the VMs migrated out before host starts swapping? Thanks. Hello, this is another bug about heavy swapping. What you are referring to (and what I tried to explain at the OVirt workshop), is the the swapping during online migration: https://bugzilla.redhat.com/show_bug.cgi?id=1153765 But back to this one: The swapping starts during run of qemu-img commands. The reason for this all was that qemu reads thorugh page cache for the above mentioned commands. In between there has been a bugfix for that behaviour. qemu can be passed a parameter to avoid page cache. More details here: http://git.qemu.org/?p=qemu.git;a=commit;h=40055951a7afbfc037c6c7351d72a5c5d83ed99b This parameter should be set from OVirt/RHEV if it finds a patched qemu version. Thanks for the clarification Markus. Moving to vdsm per comment 2. We already have a vdsm bug 1138690 - I think we should close this as duplicate. *** This bug has been marked as a duplicate of bug 1138690 *** |