Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp270251imm; Tue, 15 May 2018 01:12:02 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoOE1O4f+yvPIJvj+ROy+oAG6qdtUQIdknu2QMyFDaaEnr1Sz73/rKV2e0OmZ2qy/Gt1UiU X-Received: by 2002:a65:5509:: with SMTP id f9-v6mr11430363pgr.317.1526371922070; Tue, 15 May 2018 01:12:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526371922; cv=none; d=google.com; s=arc-20160816; b=U4htMaF+oiCHm1NwSsxLQ1uM4vL6Zq/Wj5ZTpQuVT16eASvbNaMNiKOmSypsFQTI6z vxj7v71Cwcn6ykIRy9wAszCqs7QVErH8QS80IxKKLQYEe6IPtpzusTevLzD4xCBtA44p VCaQKAXtThCCWQZFV8SdmrHupWIVExPEKe2nbAbX2qSyG1+VCCwrFvRwTI8Zy+GEHaYe Qkx6rAsR+oxIAmFAXcsa5kympGH79F+AVQF9/NdaAM8Q3ZuSh0O9/IhpbDjsTtbTVI2l 2BB3+m9tHX59MAjAJvgJKPz9f6NCuJuupaALQQMUYj3BOMZWGK0YNx7Vu+Tw5vfn0rCY 05yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=xMdJRvATm1ZGFSgaxRuVKPJUvM80Aj6UPt3s/bqNp3c=; b=r7kp/avY4RZ9b2u3ayM/jLCCvh5bywtahvUMI1IYx/21QuW8mTST7XsLbPxIMQXlCE 0I8qXvqDdvFxDlCV/sSCs8qU6l/uYP8J+twjkgRoqueinKC6ze/BpvzCB+WVGQaQKVQN SNTJBWEE29kNgCux9SGWFH0LxxsenQw5c+lurdjAV+IQKe7HdLyX1IBl64CQ4bW4xLHE YiTfvAbjO2VoBNXnakcHZuxpzqyRrziBQ2PbportbyDZXwUTTLtMMC0XejambjA8G2hG HUhjOMT7+8wjcNw02xrTXpKFT3gVPq0b4NqUDw8/nmdv3jUW7vtkinQ4fomwmIqcXmJS wgeA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 70-v6si11691559pfu.274.2018.05.15.01.11.48; Tue, 15 May 2018 01:12:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752722AbeEOIKv (ORCPT + 99 others); Tue, 15 May 2018 04:10:51 -0400 Received: from smtp03.citrix.com ([162.221.156.55]:23956 "EHLO SMTP03.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752421AbeEOIJf (ORCPT ); Tue, 15 May 2018 04:09:35 -0400 X-IronPort-AV: E=Sophos;i="5.49,403,1520899200"; d="scan'208";a="54652593" Date: Tue, 15 May 2018 09:09:29 +0100 From: Wei Liu To: Weiwei Jia CC: , , Weiwei Jia , , , , Wei Liu Subject: Re: [Xen-devel] [RFC][PATCH] KVM: APPLES can improve the performance of applications and virtualized systems by up to 49% Message-ID: <20180515080929.rkqmmumjoxtlqctd@citrix.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 12, 2018 at 04:27:04PM +0800, Weiwei Jia wrote: > Dear all, > > Recently, we made a few improvements on effectively utilizing Pause > Loop Exiting (PLE) support for higher throughput on virtualized > systems. Basically, it solves two problems: 1) how to adjust > PLE_Window; 2) how to select virtual CPUs to schedule on VM_EXITs > caused by PLE. Our tests with standard benchmarks show that the > approach can improve performance by up to 49%. The approach shows > promising performance and is easy to implement. We think that it would > be wonderful if Linux/KVM and XEN can consider the approach. > > We already have a prototype implementation based on KVM (Linux Kernel > 3.19.8). Our patch for Linux Kernel 3.19.8 and the paper describing > our idea are available in Github repository [1][2][3]. We are pleased > to revise our patch in order to merge it into Linux/KVM and XEN. We > hope that you can test and adopt our approach/techniques. We are > pleased to get some comments/suggestions on the approach and on how > the idea can be adopted/tested by Linux/KVM and XEN. Thank you. > > [1] APPLES paper: https://github.com/sysmen/apples/tree/master/paper > [2] APPLES patch: > https://github.com/sysmen/apples/blob/master/patches/3.19.8-APPLES.patch > [3] APPLES patch README: > https://github.com/sysmen/apples/blob/master/patches/README.txt > Is PV spinlock involved in your test? There is no mention of it in your paper. Wei. > Best Regards, > Sysmen Research Group > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xenproject.org > https://lists.xenproject.org/mailman/listinfo/xen-devel