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 EB16D423A2; Tue, 10 Jan 2023 12:08:31 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 948DC40A8B; Tue, 10 Jan 2023 12:08:31 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2084.outbound.protection.outlook.com [40.107.93.84]) by mails.dpdk.org (Postfix) with ESMTP id 45E0C40687 for ; Tue, 10 Jan 2023 12:08:28 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VMUCXQ+AHYwV9a8+0URxoY2kOEwv+yVqN8CtGI4ot8WKcMYJTeFJ9iuuoidFRNJvKeyl1NzjxGuXNd6sc0y3tK8KzoRNBcIVnHBsEQ11ZTnTicWMlXtxLrK1NafEiPA04PB7nq9z0DDQ1mSosIifVAGkDSU4Fl8XnxwuNk2bhoUWxJLac+vp5eEf98Nc4PYqt/0o/3FjFpwR9Opa46SnyoAbsYsIYzE75S+o6031wP3L2RJCEP9S+4yPKYl77EEc2VY1wb7Ms7X311G3lVGYpOKHPg4fCydvsu51tM8JnS9y/xCQmRRXa9f0jZwGM+cJg7rPVWfyxLSnava95OhjXQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=1GS1mgZOLK3ZhAu3QHXAL5KyMuYWBImSGQ/I0/U5uhg=; b=oSgdvE9M6btvgqkqitHG4JDzPf61oouxwTCz7QkOLr8PDufsnVvib4nP9K8qQEbq0kc1M0POxeqgzAHqDHLIuC2sEordu7i36zHvpk+aiDeTqx255GBShxKcE2qFxPh/P4b/Mr2VNOhEVfzpkt2DiISXlmUsrZx4MYxE+cjT7a6QP3NRGNsi8mPBLhGWq5LF6JJ7xgUNrFJ8kTCabeAU4ujQXxfqrHja6J4DAZOKHF9rWpT7J+36uqR2SMWysXPfNdxpna2c3/wNLV1sxWeGRLNchEv2q6iBIf4IaSoC+iX56SfVw57Mq+fZypM3EExSA/Nrm9n/I2nSpMZnpGcBtg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1GS1mgZOLK3ZhAu3QHXAL5KyMuYWBImSGQ/I0/U5uhg=; b=RYuj+vUpoIgdI0atPlk0El2RTqw8I/ePnH9Y1U/RMkNjM+wEVAsnfs3ZI6vDPj1rp4DXZLqz2ZnYwY1LURGonTAEfAkhqlMwq/Z9ninCteq1KngJXXMfCx7OBcvlW77oUXMT4Af+4JgDjk9vtXGXeMI+4gubN0yz1kIYJKaNurk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by MN2PR12MB4126.namprd12.prod.outlook.com (2603:10b6:208:199::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Tue, 10 Jan 2023 11:08:26 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::4807:1f44:5e04:e05a]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::4807:1f44:5e04:e05a%9]) with mapi id 15.20.5986.018; Tue, 10 Jan 2023 11:08:25 +0000 Message-ID: Date: Tue, 10 Jan 2023 11:08:20 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Content-Language: en-US To: Thomas Monjalon , David Marchand Cc: dev@dpdk.org References: <20230107133953.306784-1-thomas@monjalon.net> <20230109093428.358903-1-thomas@monjalon.net> From: Ferruh Yigit Subject: Re: [PATCH v2] devtools: parallelize ABI check In-Reply-To: <20230109093428.358903-1-thomas@monjalon.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0073.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:190::6) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|MN2PR12MB4126:EE_ X-MS-Office365-Filtering-Correlation-Id: 4f55a432-4cc1-4203-5327-08daf2fafea0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 90omF7A1UGGzhbsvbYVUEf7Sd36gyLUzam8XTi9BllrRKnLGyDiYn95U0rg1nGoYTU6gubPuBDlDhJFLQAaWaVoyNdO4v0y/8UzZpSHCobjHFRjZIK+1aqIC/SKxnYWn9+LPRXYOKzbDIgZZJo9N3xP818NNFLOIMBUK2KywQDf/Rf7YuLnD9RPoXXgePJLrFIDBIaR55FuXDSktshoxO1d/iZiBGvUbeY3RAeNtLPvuFg1GFRwrxJU0OUQUDJf14RoFirNcEsB8bKRN/SY557vGz8uRadSfyYb9j9OV1b2PnmsLw9IKXWCPWmAVy5ct6ixtRH8fkqXPd1oagbODSQms2sZOqrPc2eb4+xy2VT7J+V5KIHq8p/jkr6p9Ctm/mrtXipM4lVwL/FxM/LwZEcbx0EAhbpUnpz4J0BOaKpgUuU0kFKtY+PMSvguEJ03kBa8GSzGc7IN1gJyuNLwRnbb/GRNNSW9tlpKOSM2OQSicCEG4TV7u+XH2ZxFacPEfZk18db8oSeU1k+FHO2igshkdAW4Wc4BzOtaNGIdWf8o+M8CBJcRAcCCChyBso6upZdA7CLrluJPf7g2K5kGnYo297iki9AF5X1+y0EWO+zUOZYBfS5ARb0YVvzCXC1T37pjBhz5A1ymhqRuRGuCODfk299TrKXNj93a5ZzK+xWqx4/Mzvc6tnmYBNqu1suRjAdVWy+yr0I3WzWGIwv8LgMOl5ThHOEVwICHIczgGoOs= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(346002)(366004)(39860400002)(396003)(376002)(136003)(451199015)(31686004)(36756003)(86362001)(31696002)(110136005)(66946007)(41300700001)(8676002)(4326008)(66476007)(66556008)(38100700002)(6666004)(53546011)(6486002)(186003)(6506007)(478600001)(316002)(26005)(44832011)(2906002)(5660300002)(4744005)(8936002)(6512007)(2616005)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VUgrcGRkK3M2eWVYbVZ6VUxqZGJMRW9GK3BOdG9yRGMzWEdzQlA3a3RINCtE?= =?utf-8?B?Z2JzaUFCTUR0NGFBbE5GSFVzNEJTaFBadkdrTUJTelZGRmE0Sm5WQVh0TVFE?= =?utf-8?B?YXJ1MW13cGdPQ2RxT0RRaXlubUloWXdkM3ZGbVBVS2hXTFVFbmVaNlBLc2pL?= =?utf-8?B?MXV4UVFZaTVrelYrRlhXQ3RLL2RHT0RVNERRcWZoZUoyQ2hhK01WOVBlSmRV?= =?utf-8?B?dVZBdGJKV1dkOG8rVS9uaVlxUVhtNnBLTHpBckZhaVdUT2lHek15b21UeVRG?= =?utf-8?B?NkdzTnFiRFA5UVdVKytkdzFFWjVQL2M2bU9HNUZ4a0d0WmQ1SjVjY1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U5IGbYMXBUYcRle?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4f55a432-4cc1-4203-5327-08daf2fafea0 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2023 11:08:25.7148 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: iXLu4IUWpleBO60YKH2syX3j7l2TZGFGZFwdGTAeavTGrmyMGX6LIhRG6obrdLpw X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4126 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 On 1/9/2023 9:34 AM, Thomas Monjalon wrote: > Generation and comparison of ABI dumps are done on multiple cores > thanks to xargs -P0. > It can accelerate this long step by 5 in my tests. > > xargs reports a global error if one of the process has an error. > > Running a shell function with xargs requires to export it with -f, > and that is a specific capability of bash. > > Signed-off-by: Thomas Monjalon > --- > v2: > - find dump2 inside the function > - force bash because of export -f It reduces script runtime ~2mins in my test. Tested-by: Ferruh Yigit