Received: from eggs.gnu.org ([2001:4830:134:3::10]:32874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHODa-0006ZU-CR for qemu-devel@nongnu.org; Wed, 04 Sep 2013 21:18:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHODT-00040o-8e for qemu-devel@nongnu.org; Wed, 04 Sep 2013 21:18:42 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:37071) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHODS-00040A-N5 for qemu-devel@nongnu.org; Wed, 04 Sep 2013 21:18:35 -0400 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MSM00981OY4Q670@mailout4.samsung.com> for qemu-devel@nongnu.org; Thu, 05 Sep 2013 10:18:29 +0900 (KST) From: Jonghwan Choi References: <000101cea7b5$cc536660$64fa3320$%choi@samsung.com> <20130904085852.GB9654@stefanha-thinkpad.redhat.com> In-reply-to: <20130904085852.GB9654@stefanha-thinkpad.redhat.com> Date: Thu, 05 Sep 2013 10:18:28 +0900 Message-id: <002b01cea9d5$d4340430$7c9c0c90$%choi@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit Content-language: ko Subject: Re: [Qemu-devel] I/O performance degradation with Virtio-Blk-Data-Plane List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: 'Stefan Hajnoczi' Cc: qemu-devel@nongnu.org Thanks for your reply. > > 1. The fio results so it's clear which cases performed worse and by how > much. > When I set vcpu = 8, read performance is decreased about 25%. In my test, when vcpu = 1, I got a best formance. > 2. The fio job files. > [testglobal] description=high_iops exec_prerun="echo 3 > /proc/sys/vm/drop_caches" group_reporting=1 rw=read direct=1 ioengine=sync bs=4m numjobs=1 size=2048m > 3. The QEMU command-line to launch the guest. > vm1 76d6fca9-904d-1e3e-77c7-67a048be9d60 50331648 50331648 8 hvm destroy restart destroy /usr/bin/qemu-system-x86_64
... > 4. The host disk configuration (e.g. file systems, local > SATA/FibreChannel/NFS, etc). > -> SSD > 5. The basic host specs including RAM and number of logical CPUs. -> Host : 256GB, CPUs : 31, Guest : 48GB, VCPUs : 8 Thanks. Best Regards. > -----Original Message----- > From: Stefan Hajnoczi [mailto:stefanha@gmail.com] > Sent: Wednesday, September 04, 2013 5:59 PM > To: Jonghwan Choi > Cc: qemu-devel@nongnu.org > Subject: Re: [Qemu-devel] I/O performance degradation with Virtio-Blk- > Data-Plane > > On Mon, Sep 02, 2013 at 05:24:09PM +0900, Jonghwan Choi wrote: > > Nowdays i measured io performance with Virtio-Blk-Data-Plane. > > There was something strange in test. > > When vcpu count is 1, io performance is increased in test > > But vcpu count is over 2, io performance is decreased in test. > > > > i used 3.10.9 stable kernel, qemu(1.4.2) & fio 2.1 > > > > What should i check in my test? > > It's hard to say without any details on your benchmark configuration. > > In general, x-data-plane=on performs well with SMP guests and with > multiple disks. This is because the dataplane threads can process I/O > requests without contending on the QEMU global mutex or the iothread > event loop. > > In order to investigate further, please post: > > 1. The fio results so it's clear which cases performed worse and by how > much. > > 2. The fio job files. > > 3. The QEMU command-line to launch the guest. > > 4. The host disk configuration (e.g. file systems, local > SATA/FibreChannel/NFS, etc). > > 5. The basic host specs including RAM and number of logical CPUs. > > Stefan