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 2AA53A0C48; Wed, 7 Jul 2021 08:46:59 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A1B6C41312; Wed, 7 Jul 2021 08:46:58 +0200 (CEST) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130071.outbound.protection.outlook.com [40.107.13.71]) by mails.dpdk.org (Postfix) with ESMTP id EA1BB406FF for ; Wed, 7 Jul 2021 08:46:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=565vfxRJ2oAHzb/snh8SghwAqYzy7Q7cGuuJh8mv+5s=; b=cvKV0VzkrhDxAGnBE5XPJwvR+aIPDhQrcq38VNMA4L/OfhPePV82ImFcU0yVWR5+CGoG+gXpGyEHt+uU7NDYEzC56nWnZ7Uo1Nv29ToXNKJpxLm+n1WecVAE2zNmnuiPR/lYllB5OEHB4XQYa5UFZC0i7yo0gAztzgMcS4a54B4= Received: from DB8PR04CA0029.eurprd04.prod.outlook.com (2603:10a6:10:110::39) by PAXPR08MB7122.eurprd08.prod.outlook.com (2603:10a6:102:205::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.22; Wed, 7 Jul 2021 06:46:48 +0000 Received: from DB5EUR03FT011.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:110:cafe::44) by DB8PR04CA0029.outlook.office365.com (2603:10a6:10:110::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.20 via Frontend Transport; Wed, 7 Jul 2021 06:46:48 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT011.mail.protection.outlook.com (10.152.20.95) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.20 via Frontend Transport; Wed, 7 Jul 2021 06:46:48 +0000 Received: ("Tessian outbound 80741586f868:v97"); Wed, 07 Jul 2021 06:46:48 +0000 X-CR-MTA-TID: 64aa7808 Received: from 4e3a34652fdf.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 1DFBCB8E-048E-4FD0-ADCA-ABAB27AB1187.1; Wed, 07 Jul 2021 06:46:37 +0000 Received: from EUR01-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 4e3a34652fdf.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 07 Jul 2021 06:46:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SVOPCTd1aDrmGDSClYvzNw08nmaf+Mn/ovzAtT71Geg4DTq5Gq294RehBF57GmpMONdX4OF7MJAWIk5zPjxhpbbqQBhtDjWp3+56o9nvOkltgHwKnQLId8FVDlNGYqx6IeJ4E4WEOrr5ziB07ZhB7WwyrI5JXAK+sBoltPdLZgbJBb7tk9nj+F0GzvFoBNXhEn88zg2+DsTwjgdWJRoXzoKJOR8OKs+EHgBXBa4+daZjPbraHL0AqLkEEQzIaBwLm/+Jk2ufNZPe0nIRptC+haRXnlzU2n2u5FBC5OFDKOf23aWbYBy5hNWKc32caFo33Gs+ZwvG6Pj4w1oKnMxaSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=565vfxRJ2oAHzb/snh8SghwAqYzy7Q7cGuuJh8mv+5s=; b=UoBVgzp8Cno9YsD9GSF2YCe4N2gdILNyqNICNIPOZaTA1iaEyb0EtSUwD0h0eh6cHTTYQcOp3fQ7ehmxwRzh1WhKmyixERj2SWBC24bSBPkKo+aWfnuJ1B520/ONogCdb8AbcOxYwQOgFf1TSBTJCW9N8CS1VFdV7la7l+/0s4kwQRbAOqHV1uTIIRfjcTKKiATqjyNpFfjCqcBz+Y5DtgzH2TFZQWDkLiNJe1w3lTJ/r9u1mLWI7BxFfp3CAYjrR8tJrB5+OaHghCXJ9uinjUAN9VhgLTz7GkoCLP5wzy5yk6p3fz/eWiMdCDgmiSFagS4ccs1HHUb4Uo5tmF4k3A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=565vfxRJ2oAHzb/snh8SghwAqYzy7Q7cGuuJh8mv+5s=; b=cvKV0VzkrhDxAGnBE5XPJwvR+aIPDhQrcq38VNMA4L/OfhPePV82ImFcU0yVWR5+CGoG+gXpGyEHt+uU7NDYEzC56nWnZ7Uo1Nv29ToXNKJpxLm+n1WecVAE2zNmnuiPR/lYllB5OEHB4XQYa5UFZC0i7yo0gAztzgMcS4a54B4= Received: from AM5PR0802MB2465.eurprd08.prod.outlook.com (2603:10a6:203:9f::22) by AS8PR08MB6088.eurprd08.prod.outlook.com (2603:10a6:20b:291::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.15; Wed, 7 Jul 2021 06:46:35 +0000 Received: from AM5PR0802MB2465.eurprd08.prod.outlook.com ([fe80::3d12:4220:b215:7c52]) by AM5PR0802MB2465.eurprd08.prod.outlook.com ([fe80::3d12:4220:b215:7c52%8]) with mapi id 15.20.4287.033; Wed, 7 Jul 2021 06:46:35 +0000 From: Ruifeng Wang To: "thomas@monjalon.net" CC: Jan Viktorin , "jerinj@marvell.com" , Bruce Richardson , "dev@dpdk.org" , "david.marchand@redhat.com" , nd , Honnappa Nagarahalli , nd Thread-Topic: [PATCH v4 3/3] build: add option to enable wait until equal Thread-Index: AQHXcvPXburXgDEBSEStpthyo1iRkKs3DbWAgAAC03A= Date: Wed, 7 Jul 2021 06:46:33 +0000 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> In-Reply-To: <2428322.vDqkmRtzSv@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 11D6D21D81955D4C960541B458A72CB1.0 x-checkrecipientchecked: true Authentication-Results-Original: monjalon.net; dkim=none (message not signed) header.d=none; monjalon.net; dmarc=none action=none header.from=arm.com; x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: ebbcfae9-b49e-4fec-662c-08d94112fe63 x-ms-traffictypediagnostic: AS8PR08MB6088:|PAXPR08MB7122: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:6430;OLM:6430; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: z956LK6AmSpSohRKd12whZ1RFqKt6ZLwPauJ7Ej49VjZOvkJWhgx7Zg1ySHibpC63SrPByMkQPd6c5AZVfdrgPJtoTgybOJ+OGX8oQelSOmXb24d+jUaoiAIxyyfCQJO9ZDq8ZIH2A99H4Zanp1cU9hAhnATATvd2t4b1D+eUz4Rhhqp9lq9ZgleUEr/yKEBJ6svh5RX+5BCko2CLuiUIXLkN26Lo12jhvf4rVT5MgnT3RTZF8mx52u2c8oGxM8SzDX9nx69l70e4i7LuufFvPqG4U/Dt77CCSLWIwZIH0Ka04Rp5eqo55WJRc3M8tBvcxVvn2gzHjypG+BDMGa8/Lr7XIhjjQZp8BBnpgtoqgXHhubVb0iWvxg36rW5k9Rmxt+psRaHv8gD/63SKpjGjh4TpHU7lpoiL8vU30B8vq4AzrVkbMO4Fh1DCjVtHTgbST5/cBZY2HqJU+3r74UdhXKW3s1eCqxJOW0OUxwoBnL2F1aR2k/RPn995OYzelvAJXgUbQj8Wm+4gbLE4j4UlIa1H5YHUhXiLZ7FWT5eKWK2EKaG+At4XKbMAXFzLitVqwan4siI11O5zpLJLG38Ekk1BFPGm5kTLGAFLXdqTe7wQ8nUB0en3cH3Bhz2AQRqP5vfMxK4MswgvKUytMUS/w== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM5PR0802MB2465.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(396003)(136003)(376002)(366004)(39860400002)(86362001)(6506007)(5660300002)(4326008)(2906002)(122000001)(71200400001)(53546011)(55016002)(66556008)(7696005)(64756008)(52536014)(186003)(26005)(4744005)(8676002)(8936002)(316002)(33656002)(66476007)(6916009)(66946007)(478600001)(76116006)(83380400001)(38100700002)(66446008)(54906003)(9686003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antisp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9KWV/uyKQTEhUCX6MqA2MgUv/k3zm?= =?us-ascii?Q?K4Shf6ppgcvCh93aiElDLnu0W/V6y5lidCdPL/aGVNn+8Oqi5YUMIodNQmJa?= =?us-ascii?Q?YOF+bfHfWpax2ZGvic3YDoM20TKBulQ+LPp2a9oHySPzjpROXhhRo3bOCWRq?= =?us-ascii?Q?905L9VA7X44fziYYxbB45mVFTvHJcW11LH23se/8BfWRXH//X/DNyXCeTv2W?= =?us-ascii?Q?Fwtig3/4IW2SqgnQ27bCqvTrPDL/cy4cRz/9yAphcly2wVynT6DYEjlM92av?= =?us-ascii?Q?P0JQYEY5qyQzzGtmwCP9+cLuJILKS65MumaiNSwsXh5Xt8jqB59+r05PMBdP?= =?us-ascii?Q?DKlXKcEuF+NQwgs84GUPk+eHY/fKFZcLUau77RX0JHa+RUZMPxi345Gtb4Jn?= =?us-ascii?Q?2xD0Xzm2x4jMBYaiUJUxInseox1eROYXJW6OTQC8qdTSRxz2Q2I4Yhg8FVJX?= =?us-ascii?Q?OfokYztxfENgpBYbRSTjEoHj?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6088 Original-Authentication-Results: monjalon.net; dkim=none (message not signed) header.d=none; monjalon.net; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT011.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: d1015108-7eda-4ab6-550b-08d94112f67e X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2Mku3CW1jMuqretOJMppE9UBuSbPCN7z7ZBhUgLscgmpPU8fAn3E3UH+vGbB6bIz9f9v3/yBFm93pI2mr/WlWcjasWVyVEVO8mLIG5ozxN6tD+6ymSA/M+L4oP99VHcLttJ5qrF5Nez6AFrLGowRjqEqXQQwD6mzxUsEPOOM2praEpNv1XuK/fKs9Qyaw0fxDqumPzI8DQvxhePPsZz8tKesOsP7Inko6a3x8YlbovSHhERP0GW5RG4fYP7lFv0oSZ9d2r5jTlUcHKjhnGhnqoYR9E5abjNznK1YuuyjQXMlRk+CxQwdFlzS4viRVvrNi9hf5zh7AX/nPuUvs3rbbRFIrNuQrLpA0XrfsWQLtUIiPkL/zO7GvfLbrZ4Dnf0FjOMvMzNsNP+4vZ+YzXSzUeLOJEgnpuylqFY2qgJ/xFfrAGZGSnkLTMbk5kJc4dUBza6bsRPb6oQRS/SlmRj5ERpCBZcG/Po4vGI3twMYmlt2Go7CSHkWGoDtoKyy4P0ot8CHmxuAiLflcrT9oxzKc2U/MJMZs9UlcuYfHQ7XhaWO5MErncp/lmdoPrZrzMI5VWC2WUdKxwSCRSvxtYgcSw2092Sxm8aTnUJ/VwbkELyv+wswNP+/iyKI/gJslSEzdm/vteOqHU2/+R3L+YhfKdDZzJvSZHYBSZnh5n92RgvZNMk9ilkJKjBiAoRSatFhg7gcDy3D9lK3AV60O7EU0Q== X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(376002)(396003)(39860400002)(136003)(346002)(46966006)(36840700001)(82310400003)(316002)(53546011)(336012)(33656002)(7696005)(6862004)(52536014)(6506007)(5660300002)(478600001)(2906002)(54906003)(82740400003)(86362001)(8676002)(36860700001)(55016002)(47076005)(83380400001)(9686003)(70586007)(186003)(4326008)(81166007)(26005)(4744005)(356005)(70206006)(8936002); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jul 2021 06:46:48.2699 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ebbcfae9-b49e-4fec-662c-08d94112fe63 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT011.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB7122 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" > -----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 >=20 > 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. >=20 > Why do we need an option? > Can it be automatic to enable it when supported? >=20 The problem is inconsistency in performance on different Arm platforms. We = had decided that each platform needs to enable it after some testing.