From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEbMW-0000dU-Nd for qemu-devel@nongnu.org; Tue, 05 Aug 2014 05:49:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XEbMQ-0006Kj-IK for qemu-devel@nongnu.org; Tue, 05 Aug 2014 05:48:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:64904) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEbMQ-0006KW-9o for qemu-devel@nongnu.org; Tue, 05 Aug 2014 05:48:50 -0400 Date: Tue, 5 Aug 2014 11:48:44 +0200 From: Kevin Wolf Message-ID: <20140805094844.GF4391@noname.str.redhat.com> References: <1407209598-2572-1-git-send-email-ming.lei@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1407209598-2572-1-git-send-email-ming.lei@canonical.com> 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: Peter Maydell , Fam Zheng , "Michael S. Tsirkin" , qemu-devel@nongnu.org, Stefan Hajnoczi , Paolo Bonzini Am 05.08.2014 um 05:33 hat Ming Lei geschrieben: > Hi, > > These patches bring up below 4 changes: > - introduce object allocation pool and apply it to > virtio-blk dataplane for improving its performance > > - introduce selective coroutine bypass mechanism > for improving performance of virtio-blk dataplane with > raw format image Before applying any bypassing patches, I think we should understand in detail where we are losing performance with coroutines enabled. I also think that the device emulation has no business in deciding whether the bypass is used (it depends solely on conditions outside of the device) and that leaking the fd number out of raw-posix is wrong. Both of them are layering violations that shouldn't be reintroduced. > - linux-aio changes: fixing for cases of -EAGAIN and partial > completion, increase max events to 256, and remove one unuseful > fields in 'struct qemu_laiocb' > > - support multi virtqueue for virtio-blk Like Stefan said, the series should be split in four, one for each item in your list, so that each optimisation can be evaluated on its own. Kevin