From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753462Ab1HAJh6 (ORCPT ); Mon, 1 Aug 2011 05:37:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:6426 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753282Ab1HAJhw (ORCPT ); Mon, 1 Aug 2011 05:37:52 -0400 Message-ID: <4E3673E3.6020100@redhat.com> Date: Mon, 01 Aug 2011 12:37:39 +0300 From: Avi Kivity User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc15 Thunderbird/3.1.11 MIME-Version: 1.0 To: Liu Yuan CC: Sasha Levin , Stefan Hajnoczi , "Michael S. Tsirkin" , Rusty Russell , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Khoa Huynh , Badari Pulavarty , Christoph Hellwig Subject: Re: [RFC PATCH]vhost-blk: In-kernel accelerator for virtio block device References: <1311863346-4338-1-git-send-email-namei.unix@gmail.com> <4E325F98.5090308@gmail.com> <4E32A105.6080509@gmail.com> <1311953104.30835.15.camel@lappy> <4E36612F.6040809@redhat.com> <4E366F4A.1030704@gmail.com> In-Reply-To: <4E366F4A.1030704@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/01/2011 12:18 PM, Liu Yuan wrote: >> Agree. vhost-net works around the lack of async zero copy networking >> interface. Block I/O on the other hand does have such an interface, >> and in addition transaction rates are usually lower. All we're >> saving is the syscall overhead. >> > > Personally I too agree with Sasha Levin. But vhost-blk is the first > fast prototype that is supposed to act as a code base to do further > optimisation, which I plan to utilize kernel's internal stuff like > BIO layer, that can not be accessed from user space, to maximize the > performance for raw disk based block IO. Is there anything in the bio layer which is not exposed by linux-aio? Or is linux-aio slow in translating from vfs ops to bio ops? -- error compiling committee.c: too many arguments to function