From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53077) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2NYc-00047h-Km for qemu-devel@nongnu.org; Wed, 02 Jul 2014 12:39:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X2NYV-0003rT-5V for qemu-devel@nongnu.org; Wed, 02 Jul 2014 12:38:54 -0400 Received: from mx4-phx2.redhat.com ([209.132.183.25]:49367) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2NYU-0003rM-Td for qemu-devel@nongnu.org; Wed, 02 Jul 2014 12:38:47 -0400 Date: Wed, 2 Jul 2014 12:38:45 -0400 (EDT) From: Paolo Bonzini Message-ID: <454159199.2388678.1404319125201.JavaMail.zimbra@redhat.com> In-Reply-To: References: <53B2E69A.1090707@redhat.com> <20140702085453.GI4660@stefanha-thinkpad.redhat.com> <53B43209.1080607@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [regression] dataplane: throughout -40% by commit 580b6b2aa2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ming Lei Cc: Kevin Wolf , Fam Zheng , "Michael S. Tsirkin" , Stefan Hajnoczi , qemu-devel , Stefan Hajnoczi > On Thu, Jul 3, 2014 at 12:23 AM, Paolo Bonzini wrote: > > Il 02/07/2014 18:13, Ming Lei ha scritto: > > > >> That must be for generating guest irq, which should have been > >> processed as batch easily. > > > > > > No, guest irqs are generated (with notify_guest) on every I/O completion > > even in 2.0. > > In 2.0, only notify_guest() is called after event batch is completed, Ah, you're right. > I wrote one patch days ago for fixing the problem, and today > it is just verified that writes can be decreased to 10K from 120K. Great. Can you test/review my aio_notify patch and submit both then? Bonus points, but not a requirement IMO, if it also helps non-dataplane. This would only leave rt_sigprocmask. > BTW, what do you think about the patch v4 for submitting I/O as batch? I was waiting for Kevin to review it. Paolo