From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rusty Russell Subject: Re: virtio-blk performance regression and qemu-kvm Date: Wed, 22 Feb 2012 08:46:41 +1030 Message-ID: <87obsr6ddi.fsf@rustcorp.com.au> References: <20120210143639.GA17883@gmail.com> <87sjifd2sw.fsf@rustcorp.com.au> <20120221164508.GB950@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org To: Dongsu Park Return-path: Received: from ozlabs.org ([203.10.76.45]:52454 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755602Ab2BUWYg (ORCPT ); Tue, 21 Feb 2012 17:24:36 -0500 In-Reply-To: <20120221164508.GB950@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, 21 Feb 2012 17:45:08 +0100, Dongsu Park wrote: > Hi Rusty, > > On 13.02.2012 10:25, Rusty Russell wrote: > > On Fri, 10 Feb 2012 15:36:39 +0100, Dongsu Park wrote: > > > Hi, > > > > > > Recently I observed performance regression regarding virtio-blk, > > > especially different IO bandwidths between qemu-kvm 0.14.1 and 1.0. > > > So I want to share the benchmark results, and ask you what the reason > > > would be. > > > > Interesting. There are two obvious possibilities here. One is that > > qemu has regressed, the other is that virtio_blk has regressed; the new > > qemu may negotiate new features. Please do the following in the guest > > with old and new qemus: > > > > cat /sys/class/block/vdb/device/features > > > > (eg, here that gives: 0010101101100000000000000000100e0). > > I did that on guest VM, using both qemu-kvm 0.14.1 and 1.0. > (cat /sys/class/block/vdb/device/features) > > using qemu-kvm 0.14.1: > > 0010101101100000000000000000100000000000000000000000000000000000 > > using qemu-kvm 1.0: > > 0010101101100000000000000000110000000000000000000000000000000000 > > >From my understanding, both of them have the same virtio features. > Please correct me if I'm wrong. Well, 1.0 supports event index (feature 29), but that's the only difference. This seems very much like a qemu regression. Thanks, Rusty.