Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4F1DEC4727C for ; Wed, 30 Sep 2020 01:21:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F1D0F2145D for ; Wed, 30 Sep 2020 01:21:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729448AbgI3BVo (ORCPT ); Tue, 29 Sep 2020 21:21:44 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:14784 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729179AbgI3BVn (ORCPT ); Tue, 29 Sep 2020 21:21:43 -0400 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 1D670E2F40661DD61525; Wed, 30 Sep 2020 09:21:41 +0800 (CST) Received: from [10.174.187.69] (10.174.187.69) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.487.0; Wed, 30 Sep 2020 09:21:31 +0800 Subject: Re: [RFC PATCH 0/4] Add support for ARMv8.6 TWED feature To: Marc Zyngier CC: , , , , , , , , , , , , References: <20200929091727.8692-1-wangjingyi11@huawei.com> <913250ae919fb9453feadd0527827d55@kernel.org> From: Jingyi Wang Message-ID: <21241889-7fca-5cd3-a5d3-41eb34f9c960@huawei.com> Date: Wed, 30 Sep 2020 09:21:30 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <913250ae919fb9453feadd0527827d55@kernel.org> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [10.174.187.69] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Hi Marc, On 9/29/2020 6:50 PM, Marc Zyngier wrote: > On 2020-09-29 10:17, Jingyi Wang wrote: >> TWE Delay is an optional feature in ARMv8.6 Extentions. There is a >> performance benefit in waiting for a period of time for an event to >> arrive before taking the trap as it is common that event will arrive >> “quite soon” after executing the WFE instruction. > > Define "quite soon". Quantify "performance benefits". Which are the > workloads that actually benefit from this imitation of the x86 PLE? > > I was opposed to this when the spec was drafted, and I still am given > that there is zero supporting evidence that it bring any gain over > immediate trapping in an oversubscribed environment (which is the only > case where it matters). > > Thanks, > >         M. Sure, I will do more performance tests and post the results as soon as possible. Thanks, Jingyi