[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-8979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14968868#comment-14968868
 ] 

ASF GitHub Bot commented on CLOUDSTACK-8979:
--------------------------------------------

GitHub user ustcweizhou opened a pull request:

    https://github.com/apache/cloudstack/pull/963

    CLOUDSTACK-8979: add virtio support for CentOS 7 on KVM

    @borisroman @NuxRo could you test it?

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ustcweizhou/cloudstack centos7-kvm

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/963.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #963
    
----
commit 79d94613d599143f6e1fd1c63a26c37bd6caa62b
Author: Wei Zhou <w.z...@tech.leaseweb.com>
Date:   2015-10-22T09:37:51Z

    CLOUDSTACK-8979: add virtio support for CentOS 7 on KVM

----


> 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)

Reply via email to