← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1597610] Re: virt-install default to virtio type - disk

 

** Also affects: virt-manager (Ubuntu Xenial)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1597610

Title:
  virt-install default to virtio type - disk

Status in virt-manager package in Ubuntu:
  In Progress
Status in virt-manager source package in Xenial:
  New

Bug description:
  == Comment: #0 - JENIFER HOPPER <jhopper@xxxxxxxxxx> - 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 f6322c9ed8e6d38083e6365ab9f08e5a09d147be
  Author: Shivaprasad G Bhat <sbhat@xxxxxxxxxxxxxxxxxx>
  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 <sbhat@xxxxxxxxxxxxxxxxxx>

  http://www.spinics.net/lists/virt-tools/msg09433.html

  --

  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-3ubuntu1.16.04.1            all          Programs to create and clone virtual machines

  Contact Information = jhopper@xxxxxxxxxx

  == Comment: #4 - Shivaprasad G. Bhat <shivapbh@xxxxxxxxxx> - 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://github.com/virt-manager/virt-manager/commit/94f610465f45264142ff5def7b5ceaf9ecfe065b

  Thanks,
  Shiva

  == Comment: #8 - SANDHYA VENUGOPALA <vsandhya@xxxxxxxxxx> - 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.

  --
  [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/lib/libvirt/images/test.raw,size=10 

  
  [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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/1597610/+subscriptions