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 1254AA0C49; Wed, 7 Jul 2021 14:37:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EEF6D406FF; Wed, 7 Jul 2021 14:37:09 +0200 (CEST) Received: from mail-il1-f172.google.com (mail-il1-f172.google.com [209.85.166.172]) by mails.dpdk.org (Postfix) with ESMTP id 9FADB406B4 for ; Wed, 7 Jul 2021 14:37:08 +0200 (CEST) Received: by mail-il1-f172.google.com with SMTP id w1so467420ilg.10 for ; Wed, 07 Jul 2021 05:37:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=U9ZOI5Ptp3R1I+RSfLwYJkEcBXPEtmp0IKOU2kYBOY8=; b=UPcGgt7I4ZNHEogzLZhjYJFw3/LXGaHO9QoDxvmWZO6htfNZyEbz2apCbhxY8UKyzD oYmz7VGYaWbBOTQkPVEfro4F/5BiZ/+y2nZhf10mKpU5qumwOgCVo/ReRIWAjldOL2kt HJnpjgnd/46rQU/urI2Y6UreLlqy7ABK+CFoCoxkevsIlKh0ZnuXvVBEJaMtmBAqZXZc 3XUBzV1iS8r5+ul0Txx0ZCCKs8cevi/w47eEaaaRtmIN6PQNdArGwwo/RrL3DMDtJfEF 6g27kQFT9v4rCMtFAxJ+uM362EaOCu1krx11OfHGINj0mtIUu1FHDp/3yWIJ4+dXAbSy ZLJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=U9ZOI5Ptp3R1I+RSfLwYJkEcBXPEtmp0IKOU2kYBOY8=; b=LcDAgvVv1+eV2iLTD1V8UJUf3z6kWYhvB4CtmloFgxL6zqozjnLtKBD5VCUB6nkqjs u8Q5REuij0fEK50kc1fXO8V3CLAqEzCWyrzvvLdR3e/C2t8Y7LiDwb4/3RpntopvxrXZ N6IgxmYAAA3V6/lPVLeU5OnW7fVQ3+LhprkakjlAB1UsITdXW2I95PljhzCv+og7YKBZ JT2CP+aRWV1uic+hzev3/Bx0BakDV5Kx4nl90ZAjZeSk6BWA317Kua/P2u292xYfympi vssJt7Z9evr3FCkNEVKasLtsBmZhd4yXh5UMDf3aplDg1UiGqsbMnq1WOspiOAmTrZLB IYGw== X-Gm-Message-State: AOAM531sPKB67oGiCZPWOfy0s/S1UhzqlXA59SwMh39ncm9cx1ECwz0x HoEhF111dM621rdb6Xwd/xYxJxVq0ei3wmGN0+0= X-Google-Smtp-Source: ABdhPJzLEBO9PpIfNtF1YuqwBkNC5VOpgZRBbgzNSoBkdegER5S4jXrgPgTEvzIYjEWu1rFz/v91kzeIHNx1Bf87a5Y= X-Received: by 2002:a92:bf0b:: with SMTP id z11mr18827026ilh.60.1625661428090; Wed, 07 Jul 2021 05:37:08 -0700 (PDT) MIME-Version: 1.0 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> In-Reply-To: From: Jerin Jacob Date: Wed, 7 Jul 2021 18:06:42 +0530 Message-ID: To: Bruce Richardson Cc: Ruifeng Wang , "thomas@monjalon.net" , Jan Viktorin , "jerinj@marvell.com" , "dev@dpdk.org" , "david.marchand@redhat.com" , nd , Honnappa Nagarahalli Content-Type: text/plain; charset="UTF-8" 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 7, 2021 at 5:57 PM Bruce Richardson wrote: > > 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? +1 to add this in cross-file instead of the top of config option as scope if is only for arm64 builds.