From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932726AbcLSObJ (ORCPT ); Mon, 19 Dec 2016 09:31:09 -0500 Received: from mx1.redhat.com ([209.132.183.28]:54408 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755440AbcLSOaU (ORCPT ); Mon, 19 Dec 2016 09:30:20 -0500 Subject: Re: [RFC PATCH v3 0/6] KVM: x86: avoid redundant REQ_EVENT To: Denis Plotnikov , linux-kernel@vger.kernel.org, kvm@vger.kernel.org References: <1482140838-6303-1-git-send-email-pbonzini@redhat.com> Cc: rkrcmar@redhat.com, rkagan@virtuozzo.com From: Paolo Bonzini Message-ID: <672a23fe-3df7-dd1b-27ee-4b453ca33236@redhat.com> Date: Mon, 19 Dec 2016 15:30:17 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Mon, 19 Dec 2016 14:30:20 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19/12/2016 14:05, Denis Plotnikov wrote: >> > This new patch-set does avoid unnecessary interrupt re-injections - > checked. > > The test (MS Windows, sending messages between multiple windows using > windows-specific interface), > which showed performance growth with "[PATCH v2] KVM: x86: avoid > redundant REQ_EVENT" showed pretty much the same performance level with > this new patch-set. > The test score difference (+2.4% to [PATCH v2]) is within the tolerance > range(5%). > > The test score on mainstream v4.9 kernel CPU Intel i5-2400, guest > Windows Server 2012 2VCPU, 2GB: > > without patch: 31510 (+/- 4%) > with patch: 36270 (+/- 5%) > > difference = (36270-31510)/31510 * 100 = +15% -- looks good! Awesome! I hope it also qualifies as less ugly. :) Paolo