From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O9qsK-0004Wi-Ss for qemu-devel@nongnu.org; Wed, 05 May 2010 22:31:44 -0400 Received: from [140.186.70.92] (port=36279 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9qsJ-0004UT-LR for qemu-devel@nongnu.org; Wed, 05 May 2010 22:31:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O9qsI-0007ZN-1s for qemu-devel@nongnu.org; Wed, 05 May 2010 22:31:43 -0400 Received: from ozlabs.org ([203.10.76.45]:44598) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9qsH-0007ZD-Np for qemu-devel@nongnu.org; Wed, 05 May 2010 22:31:42 -0400 From: Rusty Russell Date: Thu, 6 May 2010 12:01:34 +0930 References: <20100505205814.GA7090@redhat.com> In-Reply-To: <20100505205814.GA7090@redhat.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201005061201.35223.rusty@rustcorp.com.au> Subject: [Qemu-devel] Re: [PATCH RFC] virtio: put last seen used index into ring itself List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: qemu-devel@nongnu.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org On Thu, 6 May 2010 06:28:14 am Michael S. Tsirkin wrote: > Rusty, > this is a simplified form of a patch you posted in the past. > I have a vhost patch that, using this feature, shows external > to host bandwidth grow from 5 to 7 GB/s, by avoiding > an interrupt in the window after previous interrupt > was sent and before interrupts were disabled for the vq. > With vhost under some external to host loads I see > this window being hit about 30% sometimes. Fascinating. So you use this to guess if the guest is still processing? I haven't thought about it hard, but is that racy? Obviously happy to apply this when you finalize it. Thanks! Rusty.