qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] qemu vm big network latency when met heavy io
@ 2014-01-06  6:55 =?gb18030?B?0rbJ3Oih?=
  2014-01-08  4:44 ` Stefan Hajnoczi
  0 siblings, 1 reply; 7+ messages in thread
From: =?gb18030?B?0rbJ3Oih?= @ 2014-01-06  6:55 UTC (permalink / raw)
  To: =?gb18030?B?cWVtdS1kaXNjdXNz?=, =?gb18030?B?cWVtdS1kZXZlbA==?=

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb18030", Size: 1395 bytes --]

hi, all:


There is a problem when I use ceph rbd for qemu storage. I launch 4 virtual machines, and start 5G random write test at the same time. Under such heavy I/O, the network to 
virtual machine almost unusable, the network latency is extremely big.


I had test another situation, when I use 'virsh attach-device' command to attach rbd which mapped in my host machine(which run virtual machines), the problem was not show again.


So, I think this must be qemu-rbd 's problem.


Here is my testing environment:


# virsh version
Compiled against library: libvirt 1.2.0
Using library: libvirt 1.2.0
Using API: QEMU 1.2.0
Running hypervisor: QEMU 1.7.0


In vm's xml, I define the rbd like this:
    <disk type='network' device='disk'>
      <driver name='qemu' type='raw' cache='none'/>
      <source protocol='rbd' name='qemu/rbd-vm4'>
        <host name='10.120.111.111' port='6789'/>
      </source>
      <auth username='libvirt'>
        <secret type='ceph' uuid='38b66185-4117-47a6-90bd-64111c3fc5d2'/>
      </auth>
      <target dev='vdb' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </disk>




testing tool is : fio
io depth is : 32
io engine is : libaio
io direct is open




Is there anyone met such a problem? 




regards


Alan Ye 


------------------
Alan Ye

[-- Attachment #2: Type: text/html, Size: 6374 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-01-17  6:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-06  6:55 [Qemu-devel] qemu vm big network latency when met heavy io =?gb18030?B?0rbJ3Oih?=
2014-01-08  4:44 ` Stefan Hajnoczi
     [not found]   ` <CANzgAZnvTmKc1NKoJPRLTT-L-ppYWoUko6JKHfpMzOGboLh8YA@mail.gmail.com>
2014-01-09  2:47     ` [Qemu-devel] [Qemu-discuss] " Stefan Hajnoczi
     [not found]   ` <tencent_1499A979046903942D656C7F@qq.com>
     [not found]     ` <CAJSP0QV0G=reFHP4N=njGUcZxP-x-Ef=L0U3zj5DHfRGjrgvrw@mail.gmail.com>
     [not found]       ` <tencent_2A1DD90F3E8281BD36D67A63@qq.com>
     [not found]         ` <CAJSP0QW1m7UL27_CROjXsG2sBse+Md9fSWMgXzTZWVaxvhaz7Q@mail.gmail.com>
     [not found]           ` <tencent_74BAFF5462FB3EA25C557F97@qq.com>
     [not found]             ` <CAJSP0QXgjkHf3mFzSOm5rLjd5+uHpHDPTcKPFruZ0naTiN5yHg@mail.gmail.com>
2014-01-14  6:24               ` [Qemu-devel] 回复: 回复: 回复: " Josh Durgin
     [not found]                 ` <tencent_35E422F81535374D5992C5AB@qq.com>
2014-01-14  7:58                   ` [Qemu-devel] =?gb18030?b?u9i4tKO6ILvYuLSjuiC72Li0o7ogu9i4tKO6ICBx?= =?gb18030?q?emu_vm_big_network_latency_when_met_heavy_io?= Josh Durgin
     [not found]                     ` <tencent_043538FC1C65245E76ED4CB0@qq.com>
2014-01-16  2:25                       ` [Qemu-devel] =?gb18030?b?u9i4tKO6ILvYuLSjuiC72Li0o7ogu9i4tKO6ILvY?= =?gb18030?q?=B8=B4=A3=BA__qemu_vm_big_network_latency_when_met_heavy_io?= Josh Durgin
     [not found]                         ` <tencent_0C119822426FB8B81E60F6EB@qq.com>
2014-01-17  6:57                           ` [Qemu-devel] =?gb18030?b?u9i4tKO6ILvYuLSjuiC72Li0o7ogu9i4tKO6ILvYuLSjuiC72Li0o7ogIHFlbXUgdm0gYmlnIG5ldHdvcmsgbGF0ZW5jeSB3aGVu?= =?gb18030?q?_met_heavy_io?= Josh Durgin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).