From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [Qemu-devel] Re: [PATCH 2/3] virtio-pci: Use ioeventfd for virtqueue notify Date: Wed, 01 Dec 2010 14:30:21 +0200 Message-ID: <4CF63FDD.7040901@redhat.com> References: <1289483242-6069-1-git-send-email-stefanha@linux.vnet.ibm.com> <1289483242-6069-3-git-send-email-stefanha@linux.vnet.ibm.com> <20101111164518.GA28773@infradead.org> <4CDFBB19.7010702@redhat.com> <4CDFC288.9050800@redhat.com> <4CDFD3BE.8090702@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Christoph Hellwig , Stefan Hajnoczi , qemu-devel@nongnu.org, kvm@vger.kernel.org, "Michael S. Tsirkin" , Khoa Huynh To: Stefan Hajnoczi Return-path: Received: from mx1.redhat.com ([209.132.183.28]:49490 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751308Ab0LAMag (ORCPT ); Wed, 1 Dec 2010 07:30:36 -0500 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 12/01/2010 01:44 PM, Stefan Hajnoczi wrote: > >> > >> And, what about efficiency? As in bits/cycle? > > > > We are running benchmarks with this latest patch and will report results. > > Full results here (thanks to Khoa Huynh): > > http://wiki.qemu.org/Features/VirtioIoeventfd > > The host CPU utilization is scaled to 16 CPUs so a 2-3% reduction is > actually in the 32-48% range for a single CPU. > > The guest CPU utilization numbers include an efficiency metric: %vcpu > per MB/sec. Here we see significant improvements too. Guests that > previously couldn't get more CPU work done now have regained some > breathing space. Thanks for those numbers. The guest improvements were expected, but the host numbers surprised me. Do you have an explanation as to why total host load should decrease? Seems to me the host is doing more work, and doing it less efficiently (by ping-ponging requests to another thread). In any case, looks like good improvement with no downsides. -- error compiling committee.c: too many arguments to function