qemu should not enable KSM on nested guests
Bug #1414153 reported by
Chris J Arges
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qemu (Ubuntu) |
Fix Released
|
High
|
Chris J Arges |
Bug Description
This issue has been split from bug 1413540.
After discussing this bug it seems that we should be smarter with our upstart script such that nested guests inside KVM, Xen, VMWare, etc do _not_ enable KSM by default as this rarely would be optimal. Better solutions would be to use ksmtuned to manage this, but since this tool is not in debian/ubuntu and not as actively maintained we should first fix the upstart script.
Changed in qemu (Ubuntu): | |
status: | Triaged → In Progress |
tags: | added: patch |
Changed in qemu (Ubuntu): | |
status: | In Progress → Fix Released |
To post a comment you must log in.
So did we come up with a good way to detect not being on bare metal?
In fact ksm gets enabled by /etc/init/qemu-kvm which is only installed on a subset of architectures so using virt-what may be a possibliity, however I'd still prefer not to add virt-what as a dependency if we can come up with a better way.