virt-install default to virtio type - disk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
virt-manager (Ubuntu) |
Fix Released
|
Medium
|
Ubuntu Server | ||
Xenial |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
By default, currently Power guests are defined with bus=‘scsi’ disk type. Virtio disks will perform much better in KVM environments than the scsi (papr) model so the default should be changed to improve out-of-the-box guest performance.
[Test Case]
Create a guest using virt-install or virt-manager, check the default disk type with “virsh dumpxml <guest>”.
Ex. virt-install command:
virt-install --force --name test --ram 4096 --vcpus 4 --location <location path> --noautoconsole --wait=-1 --noreboot --nographic --disk path=/var/
[Regression Potential]
Virtio tends to get more test cycles in general, so changing the default may actually reduce the risk of regressions with the papr scsi type.
[Other Info]
All guests that can run on Power support the virtio-blk disk type.
---
== Comment: #0 - JENIFER HOPPER <email address hidden> - 2016-06-28 11:58:08 ==
---Problem Description---
For best performance, we would like Power guests to default to virtio for disk and network type when using virt-install. All supported ppc64le guest OSes have virtio support.
For the disk default, there is an upstream commit:
commit f6322c9ed8e6d38
Author: Shivaprasad G Bhat <email address hidden>
Date: Thu Apr 21 13:30:34 2016 +0530
virtinst: Use virtio bus type for disks on pSeries machines
pSeries doesn't support ide and so was changed to use the scsi. virtio works better on pSeries with better performance outcomes. Change the default to virtio for disks
Signed-off-by: Shivaprasad G Bhat <email address hidden>
http://
--
I am checking on the current upstream status for the network default.
Looks like right now on 16.04, virt-install defaults to rtl8139 even if --os-variant is used.
---uname output---
Linux p82qvirt 4.4.0-24-generic #43-Ubuntu SMP Wed Jun 8 19:25:36 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux
Machine Type = 8247-22L
---Debugger---
A debugger is not configured
---Steps to Reproduce---
Start a guest using virt-install using all defaults.
# dpkg -l | grep virtinst
ii virtinst 1:1.3.2-
Contact Information = <email address hidden>
== Comment: #4 - Shivaprasad G. Bhat <email address hidden> - 2016-06-29 03:32:28 ==
Hi Jennifer,
The below patch also needs to pulled into Ubuntu as the CDROMs cannot work on virtio bus on PPC.
https:/
Thanks,
Shiva
== Comment: #8 - SANDHYA VENUGOPALA <email address hidden> - 2016-06-30 01:21:01 ==
Canonical,
Please include the upstream disk and cdrom patches listed in this bug report.
please note that network portion is still a work in progress and a patch will made available for inclusion soon.
Changing the network default would significantly help out of the box performance, but as of now many users are probably aware that virtio is a good tuning option.
--
tags: | added: architecture-ppc64le bugnameltc-143151 severity-medium targetmilestone-inin16041 |
Changed in ubuntu: | |
assignee: | nobody → Taco Screen team (taco-screen-team) |
affects: | ubuntu → libvirt (Ubuntu) |
affects: | libvirt (Ubuntu) → virtinst (Ubuntu) |
Changed in virtinst (Ubuntu): | |
assignee: | Taco Screen team (taco-screen-team) → Ubuntu Server Team (ubuntu-server) |
Changed in libvirt (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: patch |
affects: | libvirt (Ubuntu) → virt-manager (Ubuntu) |
description: | updated |
summary: |
- virt-install default to virtio type - disk and network + virt-install default to virtio type - disk |
Changed in virt-manager (Ubuntu Xenial): | |
importance: | Undecided → Medium |
Changed in virt-manager (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
Hello, I have submitted test builds for 16.10 and 16.04 at https:/ /launchpad. net/~nacc/ +archive/ ubuntu/ lp1597610 with the backport of the two requested commits. Please test.