Received: from eggs.gnu.org ([2001:4830:134:3::10]:48038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VH8va-00019p-AN for qemu-devel@nongnu.org; Wed, 04 Sep 2013 04:59:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VH8vP-0005jd-Nj for qemu-devel@nongnu.org; Wed, 04 Sep 2013 04:59:06 -0400 Received: from mail-ea0-x22b.google.com ([2a00:1450:4013:c01::22b]:43231) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VH8vP-0005jM-Gj for qemu-devel@nongnu.org; Wed, 04 Sep 2013 04:58:55 -0400 Received: by mail-ea0-f171.google.com with SMTP id n15so16220ead.2 for ; Wed, 04 Sep 2013 01:58:54 -0700 (PDT) Date: Wed, 4 Sep 2013 10:58:52 +0200 From: Stefan Hajnoczi Message-ID: <20130904085852.GB9654@stefanha-thinkpad.redhat.com> References: <000101cea7b5$cc536660$64fa3320$%choi@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000101cea7b5$cc536660$64fa3320$%choi@samsung.com> 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: Jonghwan Choi Cc: qemu-devel@nongnu.org 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