From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHXmm-0002bO-F4 for qemu-devel@nongnu.org; Wed, 13 Aug 2014 08:36:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XHXmd-0001TA-EF for qemu-devel@nongnu.org; Wed, 13 Aug 2014 08:36:12 -0400 Received: from mail-wg0-x22b.google.com ([2a00:1450:400c:c00::22b]:37789) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHXmd-0001T6-70 for qemu-devel@nongnu.org; Wed, 13 Aug 2014 08:36:03 -0400 Received: by mail-wg0-f43.google.com with SMTP id l18so10987372wgh.2 for ; Wed, 13 Aug 2014 05:36:02 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <53EB5BA8.7080908@redhat.com> Date: Wed, 13 Aug 2014 14:35:52 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1407209598-2572-1-git-send-email-ming.lei@canonical.com> <20140805094844.GF4391@noname.str.redhat.com> <20140805134815.GD12251@stefanha-thinkpad.redhat.com> <20140805144728.GH4391@noname.str.redhat.com> <20140806084855.GA4090@noname.str.redhat.com> <20140810114624.0305b7af@tom-ThinkPad-T410> <53E91B5D.4090009@redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v1 00/17] dataplane: optimization and multi virtqueue support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ming Lei Cc: Kevin Wolf , Fam Zheng , qemu-devel , Stefan Hajnoczi Il 13/08/2014 13:43, Ming Lei ha scritto: >> > The below patch is basically the minimal change to bypass coroutines. Of course >> > the block.c part is not acceptable as is (the change to refresh_total_sectors >> > is broken, the others are just ugly), but it is a start. Please run it with >> > your fio workloads, or write an aio-based version of a qemu-img/qemu-io *I/O* >> > benchmark. > I have to say this approach is much cleaver, and better than mine, and > I just run a quick fio randread test in VM, and IOPS can improve > 10% > than bypass coroutine patch. Great, do you have a profile without and with the patch? Paolo