KVM guest using rbd slow and high cpu usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
 I have a cluster of two kvm hosts and three ceph servers (osd+mons).
I've been doing some basic performance tests, and I discover that I
ftp server running in the guest is slow compared to a ftp server in
the host. The same with a Samba file server.

For example, ncftpget agaisnt the guest reports 42.78 MB/s and
agaisn't the host machine 98.10 MB/s. I notice the CPU load during the
transfer between the guest and the client machine. Kvm process is
eating all the CPU, 60, 70, 100 % during the transfer.

 Is this a well known issue? Are there something to tune, debug?

I'm using libvirt to run the VMs, This is the disk config:

    <disk type='network' device='disk'>
      <driver name='qemu' type='raw'/>
      <source protocol="rbd" name="libvirt01/bitt-fs01"/>
      <auth username='libvirt' type='ceph'>
        <secret type="ceph" uuid='e66e1ffb-2f7d-8684-727b-0512670e4aa2'/>
      </auth>
      <target dev='vda' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05'
function='0x0'/>
    </disk>
    <disk type='network' device='disk'>
      <driver name='qemu' type='raw'/>
      <source protocol="rbd" name="libvirt01/bitt-fs01-data"/>
      <auth username='libvirt' type='ceph'>
        <secret type="ceph" uuid='e66e1ffb-2f7d-8684-727b-0512670e4aa2'/>
      </auth>
      <target dev='vdb' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07'
function='0x0'/>
    </disk>


Regards,
  Diego

-- 
Diego Woitasen
VHGroup - Linux and Open Source solutions architect
www.vhgroup.net
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux