From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NujqA-0006Nu-8s for qemu-devel@nongnu.org; Thu, 25 Mar 2010 05:59:02 -0400 Received: from [140.186.70.92] (port=53986 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nujq8-0006NL-O4 for qemu-devel@nongnu.org; Thu, 25 Mar 2010 05:59:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nujq6-00048t-VD for qemu-devel@nongnu.org; Thu, 25 Mar 2010 05:59:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:22829) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nujq6-00048e-NA for qemu-devel@nongnu.org; Thu, 25 Mar 2010 05:58:58 -0400 Message-ID: <4BAB33C6.3060504@redhat.com> Date: Thu, 25 Mar 2010 11:58:30 +0200 From: Avi Kivity MIME-Version: 1.0 References: <1269497376-21903-1-git-send-email-cam@cs.ualberta.ca> <20100325091552.GB11153@redhat.com> <4BAB2F79.7030706@redhat.com> <20100325094448.GA15306@redhat.com> In-Reply-To: <20100325094448.GA15306@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH v3 1/1] Shared memory uio_pci driver List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: Cam Macdonell , qemu-devel@nongnu.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org On 03/25/2010 11:44 AM, Michael S. Tsirkin wrote: > On Thu, Mar 25, 2010 at 11:40:09AM +0200, Avi Kivity wrote: > >> On 03/25/2010 11:15 AM, Michael S. Tsirkin wrote: >> >>> - Why are you using 32 bit long memory accesses for interrupts? >>> 16 bit IO eould be enough and it's faster. This what virtio-pci does. >>> >>> >>> >> Why is 16 bit io faster? >> > Something to do with need for emulation to get address/data > for pci memory accesses? > pio is definitely faster than mmio (all that is needed is to set one bit on the BAR). But 32 vs. 16 makes no difference. -- error compiling committee.c: too many arguments to function