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 BDF7145634; Wed, 17 Jul 2024 12:40:21 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A833040608; Wed, 17 Jul 2024 12:40:21 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) by mails.dpdk.org (Postfix) with ESMTP id 463BD4042C for ; Wed, 17 Jul 2024 12:40:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1721212821; x=1752748821; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=cMTylGiHTWgAyVzt6Zs9RF2onDB/Senf8/vztnW1/AQ=; b=SMcB0v1jXaipktq9GixolVQD1CuoJ+RwHhbi+TC1TrTo1RfMrpNeyBTu mUXliUWzqqU3tneA4+U/UHAgDOX22tSDC0FiHrqEyA5hJs32zpjwIUzxn oOOVjDfobvNsSxCtjsUjfW/AgUqTCaJcO1pGPM5KeqFWz7e3aTQ3YN3F6 MAJCydf+nNEDLf4L91jtJD2MjF9G32PJyZ/uy+M8BBsC7rQqqt6EvA8Zl Yj54R3CK45kubtptsp8q0xPLTSRNQw6vItq9dr0d/8ZfjPYETlcZ0UG02 wdhANjJYZiwqJHmePzd5S4a12xU1X+B6SEivGQ8LHcIwMc/BwYsNTb1Iw w==; X-CSE-ConnectionGUID: XmyqJy5XQjuNM6pPjAFPYQ== X-CSE-MsgGUID: l204IuuLT2S+drNNtLTMYA== X-IronPort-AV: E=McAfee;i="6700,10204,11135"; a="22520591" X-IronPort-AV: E=Sophos;i="6.09,214,1716274800"; d="scan'208";a="22520591" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jul 2024 03:40:20 -0700 X-CSE-ConnectionGUID: YX4JalXFSd+NPzIDieKSFw== X-CSE-MsgGUID: l3GWVYkASOKzyQs6oduGgQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,214,1716274800"; d="scan'208";a="50955754" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orviesa007.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 17 Jul 2024 03:40:19 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Wed, 17 Jul 2024 03:40:18 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Wed, 17 Jul 2024 03:40:18 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.176) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Wed, 17 Jul 2024 03:40:18 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Q/KY6jqDVURKZXp/tHWX1LwIOIyBq1MUL+KJehBkyUYGRfj32LxkBuwCVwsxtHs0meTu50EEyiVl3YUFJJyfL56y6/AZg9LB8BmQJN7EASl8yhgq5pus78uJWl+QPa7mLdO8qg3LreD3VqhgakaUz8pUx/q4oLyj1m0mOKyeCk0VniAHq3NYsPC/Ycn9WJdiCWGmmGdYBU/PZQM+A9VuP3+leoupXQOcRR0KEyWIVHHmVFLoQP9Lf2y8xl3ctsIziF0WTO3bYJv8bRdf6f/PXV+WPbo4DJ0dxMc8K7yxI4diXLj6wGTiFR2rn6roDxNyJuCnLFTJdJBf2pIgep2vTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=Xq6VLDmqnOKHhWeW1hcO9s2W/7nMeE2U9zFj1CGyiVE=; b=wt7sRKUwD0RCT0AFQ2nmrwgjsvqChSdMPfnsfn8hxPASJrWbh1nn2gALyrzvuWSqBfqnwfdBEWDATOzgOsILLH+dc6JaQdExMuqVHB2Gg3G6GjzoO9+zV7ADhmRTrPKyKdX1SiCNXSDk5Li8b7O7/nLnVlUA043b95gStqkBk7zGunmbJxLNvAWNsG8LaUPGloDKiZ2G4SHB6uIt8etqdOsCeAcrGZYBmxqkbxhx0+6C6hmtv4vXyrq9UE21DOiEmwQRjm26DlfL3f0VSDQsTUA8hfxh2jdZP2aiD5gPso4efb+9yC/4vzAE8Wg+2F83VHBuoqdsn5I1v9Sq1A0iBQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) by PH8PR11MB7045.namprd11.prod.outlook.com (2603:10b6:510:217::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.28; Wed, 17 Jul 2024 10:40:11 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::f120:cc1f:d78d:ae9b]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::f120:cc1f:d78d:ae9b%7]) with mapi id 15.20.7784.016; Wed, 17 Jul 2024 10:40:11 +0000 Date: Wed, 17 Jul 2024 11:40:04 +0100 From: Bruce Richardson To: Stephen Hemminger CC: Jack Bond-Preston , Andrew Rybchenko , Morten =?iso-8859-1?Q?Br=F8rup?= , , Wathsala Vithanage Subject: Re: [PATCH] doc: clarify mempool striding optimisation on Arm Message-ID: References: <20240715144420.36292-1-jack.bond-preston@foss.arm.com> <20240716192541.282e4cd6@hermes.local> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20240716192541.282e4cd6@hermes.local> X-ClientProxiedBy: DU7PR01CA0042.eurprd01.prod.exchangelabs.com (2603:10a6:10:50e::26) To CY8PR11MB7290.namprd11.prod.outlook.com (2603:10b6:930:9a::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|PH8PR11MB7045:EE_ X-MS-Office365-Filtering-Correlation-Id: 72265148-f206-4ddc-f118-08dca64cd520 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?kAXaWmh5jgxRvsfi0Zb+zWFe5CAx4sxTa9PSzBGGA8sQ2zzxhhqOfFTlzklO?= =?us-ascii?Q?BSmafiWvoCOfiWvMzLq6TDwQnNLbUbFWoZ4nvyN31h53P/TRoqxpWovL+fQc?= =?us-ascii?Q?EZ3y/HnZeZeQ/789N8f3mVlJQU2N+cTfz/ifKiGM1kf+PTzZuYBHffFX3fdG?= =?us-ascii?Q?07+JVr3r0ByZuzyjZ++W5Hk1jdJZ8xyNNi4sqzDHgdapnJ9sUk/VqzGMjiYG?= =?us-ascii?Q?htXIjh57fYyUKFsumK3snf22Vr+NBtCksbg79seJjY3sGRnH7ssua8Yu6s9B?= =?us-ascii?Q?Rv9HQlYORgo/QV46A7v2TZo9LZo5UXaxLQxhNfy4/s8lNXhbOhCvkzXoJ5wG?= =?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z3KZPBEsKMNeBYcx?= =?us-ascii?Q?27dH4fZiZaVTRqL+7htrXoPbDZNBOnEQxYHBE6Om4HwbDHkR4PPZM1Zujgaj?= =?us-ascii?Q?nXA/dyhFbPIrDkM2LhSs10OBYELc7pJPy8r232qZrIFZYg=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR11MB7309.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?eEmoMMB6DzklZ75Cc/VYkUZSbgVIfe4+Np9mx5uFC8XuzdGW/f8Gw7CBPdT5?= =?us-ascii?Q?98nLN+BRmiZviGNgHZ/A5b4knAaHAFKujaFS0LBPtD2rE4mcVpPEwncJBkgp?= =?us-ascii?Q?30u5Y/6nIrJCWvL65oBcJIMRlhFQomRAKQZNQ/ee4K0LdzCnpCDs3hNdyKq2?= =?us-ascii?Q?27f1kh4CvOUhhEi62ZNB1qiPdrjm9Fhy98Whjn9qW7trblS2EpHvrae5s98Q?= =?us-ascii?Q?zeSYWQU95Pe+w1nhEmtrGtI0w0hH3giBG3PFiWjTLAyoQB6KMBtILeUCfUN9?= =?us-ascii?Q?+gCy1jCwSeYuxa4ae8Xiz//kNt4FprQmovwmPjf53Ku8+2WfTL0uDqelL+6O?= =?us-ascii?Q?2kis+X6bWDJMn9uwDmrL+gVqy9ivIFMu196b381+Ri5nDY/31K1lVm9l3dDj?= =?us-ascii?Q?hezDzZgeq1/PxogSIO5r99SPUtOOGhYyA57efqgJzw2jfp3g9xJ0xbzXeJW1?= =?us-ascii?Q?eSV1aGIwYAkY7vZVnfrP0QCNOr2ytbEXZX8BufwWEacWfYbBdRQh7KmgFwU5?= =?us-ascii?Q?4ufnr8+WN+LDbpTch5eDhRYl+g0R52j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ixy+WtnTXyTEKsiTJs2+Hq58imrr7sAiggZkM5V1TC6I3Ltk4ncOr/qo5Iq?= =?us-ascii?Q?c1L4mNNRJfwh1tgn4MbPUyrAjjNWaFM9oWvvxaQQzMtUbw3ecQKECJPBfxrB?= =?us-ascii?Q?njI8cjrqbUl2eeRrkUU0tYK1qcTlNcR/+aRsDBB77QTOCTaslc+/caUIxeGv?= =?us-ascii?Q?sA=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 72265148-f206-4ddc-f118-08dca64cd520 X-MS-Exchange-CrossTenant-AuthSource: CY8PR11MB7290.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jul 2024 10:40:10.9854 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: sqPS0yKpjiGtNKkFFikk7+77yh7G7uMxly4qTPmm+alc6+LRVBua3zmCxfKaIml4sPPCAikm0Xef08nkzWQYisHFyMYwU2bDh6GzQWatfFg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR11MB7045 X-OriginatorOrg: intel.com 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 Tue, Jul 16, 2024 at 07:25:41PM -0700, Stephen Hemminger wrote: > On Mon, 15 Jul 2024 15:44:20 +0100 > Jack Bond-Preston wrote: > > > The mempool memory channel striding optimisation is not necessary on > > Arm platforms. > > Update the Programmer's Guide's mempool section to clarify this. > > > > Signed-off-by: Jack Bond-Preston > > Reviewed-by: Wathsala Vithanage > > --- > > The whole memory channels argument has been a problem from day 0 of DPDK. > There is no good way to find it from the OS, and it was never clear how much impact > it had anyway. It would simplify users experience if it was deprecated or at least > not required and rarely used. The default for mempools (at least on x86) is set to 4 which is a reasonable value, and so specifying memory channels is not really required for running DPDK in most cases (I never use the -n flag when running tests myself). While I don't think we should deprecate the option, I feel it should be removed from our examples and scripts. Hopefully in future a method of determining memory channels from code can be come up with that we can use, but in the meantime using a sane default I feel is good enough. /Bruce