You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Nux (JIRA)" <ji...@apache.org> on 2015/10/22 10:41:27 UTC
[jira] [Commented] (CLOUDSTACK-8979) Centos7 vm disks attached as
hda/ide not virtio
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14968802#comment-14968802 ]
Nux commented on CLOUDSTACK-8979:
---------------------------------
FYI affects 4.6 as well
> Centos7 vm disks attached as hda/ide not virtio
> -----------------------------------------------
>
> Key: CLOUDSTACK-8979
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8979
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: Storage Controller
> Affects Versions: 4.5.2
> Environment: ACS 4.5.2 over Ubuntu 14.03 KVM hypervizor
> Reporter: Özhan Rüzgar Karaman
> Labels: centos, libvirt, performance, storage_drivers, virtio
>
> When you create a Centos 7 vm by choosing os type as CentOS7 then the created vm did not use virtio it uses old hda/ide access technique and this problem makes Centos 7 vm's to boot slowly(nearly 30 seconds wait after grub stage passed) and after system boots disk performance is not sufficient when you compare to virtio.
> When i change this value to virtio from libvirt i noticed that vm boots fast with higher performance.
> Below are example libvirt disk access techniques for both CentOS 7 and Ubuntu Trusty 14.04
> Example CentOS7 libvirt disk part:
> <emulator>/usr/bin/kvm-spice</emulator>
> <disk type='network' device='disk'>
> <driver name='qemu' type='raw' cache='none'/>
> <auth username=xx'>
> <secret type='ceph' uuid='xsw'/>
> </auth>
> <source protocol='rbd' name='jacknode/4e2cd1be-5c7f-43ff-b44b-bf9f87e84b19'>
> <host name='172.16.44.22' port='6789'/>
> </source>
> <target dev='hda' bus='ide'/>
> <address type='drive' controller='0' bus='0' target='0' unit='0'/>
> </disk>
> Example Ubuntu Trusty libvirt disk part:
> <disk type='network' device='disk'>
> <driver name='qemu' type='raw' cache='none'/>
> <auth username='xx'>
> <secret type='ceph' uuid='xsw'/>
> </auth>
> <source protocol='rbd' name='xx/cfafb241-b9c7-4d41-acdc-aac937d96a19'>
> <host name='172.16.44.22' port='6789'/>
> </source>
> <target dev='vda' bus='virtio'/>
> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
> </disk>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)