From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8ECA4A0C49; Wed, 7 Jul 2021 14:27:43 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 64820406FF; Wed, 7 Jul 2021 14:27:43 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 68B9C406B4 for ; Wed, 7 Jul 2021 14:27:41 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10037"; a="196571057" X-IronPort-AV: E=Sophos;i="5.83,331,1616482800"; d="scan'208";a="196571057" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jul 2021 05:27:15 -0700 X-IronPort-AV: E=Sophos;i="5.83,331,1616482800"; d="scan'208";a="491697646" Received: from bricha3-mobl.ger.corp.intel.com ([10.252.4.148]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 07 Jul 2021 05:27:13 -0700 Date: Wed, 7 Jul 2021 13:27:09 +0100 From: Bruce Richardson To: Ruifeng Wang Cc: "thomas@monjalon.net" , Jan Viktorin , "jerinj@marvell.com" , "dev@dpdk.org" , "david.marchand@redhat.com" , nd , Honnappa Nagarahalli Message-ID: References: <20200424070741.16619-1-gavin.hu@arm.com> <20210707054840.1608425-1-ruifeng.wang@arm.com> <20210707054840.1608425-4-ruifeng.wang@arm.com> <2428322.vDqkmRtzSv@thomas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [dpdk-dev] [PATCH v4 3/3] build: add option to enable wait until equal X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Jul 07, 2021 at 06:46:33AM +0000, Ruifeng Wang wrote: > > -----Original Message----- > > From: Thomas Monjalon > > Sent: Wednesday, July 7, 2021 2:32 PM > > To: Ruifeng Wang > > Cc: Jan Viktorin ; jerinj@marvell.com; Bruce > > Richardson ; dev@dpdk.org; > > david.marchand@redhat.com; nd ; Honnappa Nagarahalli > > > > Subject: Re: [PATCH v4 3/3] build: add option to enable wait until equal > > > > 07/07/2021 07:48, Ruifeng Wang: > > > Introduce a meson option 'use_wfe' to select wait until equal method. > > > The default is disable. Traditional polling loop is used. > > > When enabled, architecture specific mechanism is relied on to do the > > > wait. > > > > Why do we need an option? > > Can it be automatic to enable it when supported? > > > The problem is inconsistency in performance on different Arm platforms. We had decided that each platform needs to enable it after some testing. > Can that not be done via variables in the cross-file for the builds, or via automatic detection if it's a native build? Is it likely that individual users of DPDK will be knowledgable enough to use this option correctly?