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 D734644042; Thu, 16 May 2024 10:26:04 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BE4B5402E5; Thu, 16 May 2024 10:26:04 +0200 (CEST) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on2089.outbound.protection.outlook.com [40.107.14.89]) by mails.dpdk.org (Postfix) with ESMTP id 8414B4025C for ; Thu, 16 May 2024 10:26:03 +0200 (CEST) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=KUl6u5KbxC4BF3oUsTEEwHzlbw8vShZ87wdVKY42lJdJjGNeTfXWqTZQZR9OOebIas6q306XxsBYMfuMErkPzE90c1QgVsjH8Sv6A+Ew/GF3gDH+sG2xQmDw4G3ZF517QiTvItYSPkTRm5FX5WcPC7LIDbQlmtsIN+RiQ//EvWbm6glXg2m/LIREctw0dBWKdao3SH+Og8nHaQuk4rQyrBFnPwN+h7i+ZA19HJg5dASWLwYr+uwaQo+1EsVOQg6xnaZ54bVx89ZhEypOMakFOnYXtPK5sEio/ELKIE4Rbk1MZRSdQpNY2yC8uj7euNoZJcgONKEMUgbE5sFhYAgfuQ== ARC-Message-Signature: i=2; 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=o7hhpI376WXA/AdlS8/Hd/22X12wZfKV2wepl90N2PI=; b=jhCvTi556N/yxarwGibai08j1n6ys0HLnRaNP8vo4zfQsZL63liZhfjDIYlra/goQgcPLhWAP+IddlF8mYSYLwseXSKQ4sJkDV2LpltFHw4uV2tizBuPj9jDS4g5SSt4AJ2WDujEfQpcwKX7rYStPHcLurjusH8+or4i5c7hrNZdVbdDqTJbfYer6Yf8wK124jJSLBWVUO9mO+M9ocCcgPUqGRCeH9uOoqbU4NAmt6rlQ1VYJXlIObADxOsf4joh7w4HUSE19eRx92jQTMRnCIAAFmui1lVqmJ5JYSXLD+SOOr+YmSAj4L/E7VD+YpdvJ8dTrejkGqM/6tduMZBQxg== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=dpdk.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=arm.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=o7hhpI376WXA/AdlS8/Hd/22X12wZfKV2wepl90N2PI=; b=BbWkVQUHzEfZgUu4EnYiWG2O52XmRIlQqvhyEXtBoSVzea4FaTbrvMoYWke9/bixah2dpaspdrMWrhCvd1dz4DMYiiFNpMPI4b0/EKPJwHSl0Taxir3y5QdFLR/OETg05PEl9oee/rmk4b2GJAddBzlGOoNEpOKDryaHc2fIqjg= Received: from AM0PR02CA0167.eurprd02.prod.outlook.com (2603:10a6:20b:28d::34) by AS8PR08MB9717.eurprd08.prod.outlook.com (2603:10a6:20b:617::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.27; Thu, 16 May 2024 08:25:53 +0000 Received: from AMS0EPF000001AD.eurprd05.prod.outlook.com (2603:10a6:20b:28d:cafe::7c) by AM0PR02CA0167.outlook.office365.com (2603:10a6:20b:28d::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.28 via Frontend Transport; Thu, 16 May 2024 08:25:53 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=arm.com;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; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AMS0EPF000001AD.mail.protection.outlook.com (10.167.16.153) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.7587.21 via Frontend Transport; Thu, 16 May 2024 08:25:53 +0000 Received: ("Tessian outbound daa456608199:v315"); Thu, 16 May 2024 08:25:53 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 8be99f29fc468815 X-CR-MTA-TID: 64aa7808 Received: from 30bf823c4b36.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id E5EAA826-3298-4FDE-A6E5-1922B835EC5C.1; Thu, 16 May 2024 08:25:46 +0000 Received: from EUR03-DBA-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 30bf823c4b36.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 16 May 2024 08:25:46 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=St/X4uS/HxiSNcQivxVoWFB0Q8bR/PH3eijv2W9gxIeuX7io/ZIJPowPZ4UORG/kr6owX52RIw7Qil6wzZfRGvk9MD24vE7aSpRo6dAluXhT+r1YnvFNuNRR4Dfw9VPRpeYw5drfsW38PALzk6pTFMnohtIgcvflbl3yOqYSppRGL1MsN1F0myuDojv4HQbzLLt5ilpRCgFqZ023wZu8LPFgf9m+NQYQjhsTlMJLKT2tt7O89qsxaCF2KqLtnpAgdnkehX52+Nw5jWJQfhxKwz5CTMc4SSksNAMxTKI1htb0XLdm+7OszcpHcHO1aswQfKAZqG2Uc3efVO5Wq3fniA== 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=o7hhpI376WXA/AdlS8/Hd/22X12wZfKV2wepl90N2PI=; b=DjCnqZhFQ+eW5+y0bRwbcXGK4CwsI2JvdjeQrkUQKf51jMNRvkJmG55RbxrP6qavMHYaANiwW+9fNFAUXBrTVUrxaZIWc/2YvmERo8uWI6pmDEm70363E1Dou4D7C9wGPTpmjrEwDlAQo72Tu0HYcklZj52GMaAEislChNHSPPhCMmxLFrEa7RAq6uX1hiGY5MkfqvvfMv/cJnzKCFvLHgO9ly0jDqDfgpFgdL8affKt5TBhu/Tf6xDOVRhGATp8pf4PvrYVeaTV520FC+Mpes0Bgp5rDrrWAmRaII3BGkbBj2hQLSoxZvsqAXNmwAvUy11MR72zeR+VAT6P9A7qAg== 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=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=o7hhpI376WXA/AdlS8/Hd/22X12wZfKV2wepl90N2PI=; b=BbWkVQUHzEfZgUu4EnYiWG2O52XmRIlQqvhyEXtBoSVzea4FaTbrvMoYWke9/bixah2dpaspdrMWrhCvd1dz4DMYiiFNpMPI4b0/EKPJwHSl0Taxir3y5QdFLR/OETg05PEl9oee/rmk4b2GJAddBzlGOoNEpOKDryaHc2fIqjg= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from DB4PR08MB8151.eurprd08.prod.outlook.com (2603:10a6:10:381::16) by DU4PR08MB10959.eurprd08.prod.outlook.com (2603:10a6:10:573::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.28; Thu, 16 May 2024 08:25:44 +0000 Received: from DB4PR08MB8151.eurprd08.prod.outlook.com ([fe80::79fc:e321:c17d:31f2]) by DB4PR08MB8151.eurprd08.prod.outlook.com ([fe80::79fc:e321:c17d:31f2%5]) with mapi id 15.20.7587.026; Thu, 16 May 2024 08:25:44 +0000 Message-ID: <404a07c5-982e-4b0b-9925-d2811e102c0d@arm.com> Date: Thu, 16 May 2024 09:25:43 +0100 User-Agent: Mozilla Thunderbird Cc: nd@arm.com, dev@dpdk.org, Honnappa Nagarahalli Subject: Re: [PATCH v5 0/4] add pointer compression API Content-Language: en-US To: =?UTF-8?Q?Morten_Br=C3=B8rup?= , Konstantin Ananyev , konstantin.v.ananyev@yandex.ru References: <20230927150854.3670391-2-paul.szczepanek@arm.com> <20231101181301.2449804-1-paul.szczepanek@arm.com> <7058331a-d829-4f0e-8634-726ca3be1ef2@arm.com> <98CBD80474FA8B44BF855DF32C47DC35E9F290@smartserver.smartshare.dk> <7D23A333-9846-4A34-A8B5-FDC11F042025@arm.com> <18e97877c4a64521a02317a329572866@huawei.com> <039e71aa-f798-4f64-8c66-a9427a77b821@arm.com> <98CBD80474FA8B44BF855DF32C47DC35E9F45C@smartserver.smartshare.dk> From: Paul Szczepanek In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35E9F45C@smartserver.smartshare.dk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P265CA0287.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:38f::15) To DB4PR08MB8151.eurprd08.prod.outlook.com (2603:10a6:10:381::16) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: DB4PR08MB8151:EE_|DU4PR08MB10959:EE_|AMS0EPF000001AD:EE_|AS8PR08MB9717:EE_ X-MS-Office365-Filtering-Correlation-Id: 6d5f587a-c32c-4dce-0750-08dc7581cd41 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0;ARA:13230031|376005|1800799015|366007; X-Microsoft-Antispam-Message-Info-Original: =?utf-8?B?aUs3dEQzUTdPV2RBQ2RiWXl5QzJuZ2ZPL2JEck83UW81QjdsTmFOcEc3eXFZ?= =?utf-8?B?bnNIOS9MMjdJU2djVStjd2prSjhDNEJzbk4zSGxEVUJxdVFhZmc4QzZTWUhp?= =?utf-8?B?RjQ4NlB4RVdsa3BBSlpSRjVrRElBZ3BNZkkxUHB6bzlqaTdzSllHYU9QeVNS?= =?utf-8?B?MHFrcFBodThmR3hmSFZ3dVVSRHZGeXpRaTJSU2tvK1F5NVBCU1dIM29jZFBV?= =?utf-8?B?WVhKRWRqcGlTRVRlUmNKZmRTczhSR2oyZ3cwYndlM1VUNnhEck02OC9vTG9T?= =?utf-8?B?N2Z4Wm1VYkN4SUsraDl0YlAxVllZRlhWMmJ3UG5Hdmk3SUhCSHY0eUs3RlA3?= =?utf-8?B?THRvSjBTa3AvK2RZU2lWV1c2cCs3d0tZa0puNjdnQVZmZ0l1WmdCZmJJYjUw?= =?utf-8?B?SGtXalNDS3d1eVhRSzhLWlNzVkhoczRUQUtiUFhjdGROMkVMemsxeFBMNExo?= =?utf-8?B?UTg3OEx3YlRMSzNOSHIyWHpIMC8xNHhqdzRZM0p3SEEvNFBIZGhaazJFZ3NV?= =?utf-8?B?Y3B0UUJINnBkVEZ2WVNxdSthMk45L1ZtR2Npc0RUSWRLc0J2dFRIYVFTYTVi?= =?utf-8?B?ejR0YUQyN1ZDQnJVcm13TlNzTEkvZ2FKc2VucG9JbitpTFlGYTBWZ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yUjIveUdVNTlqN0pFdTdXU2o4VjNhNzUw?= =?utf-8?B?dGUwenN4R0YxczRIdUdINUQwTm1RTlptVUpraWQrbWw1bHpadVJXZnY0dnZP?= =?utf-8?B?QlZlb0NXazZJamVjVnVYWlpaU1Y3L2djaEpLaHJ6L0RUbC9jVHpRQkY5alRs?= =?utf-8?B?YWl4YmUyeUxQcURTQ0d6RXh4elJoeDdBaTZtUFp0aUNLVzBkVVg0eTVRPT0=?= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB4PR08MB8151.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376005)(1800799015)(366007); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU4PR08MB10959 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AMS0EPF000001AD.eurprd05.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 36666ed5-0035-4130-4fc6-08dc7581c7ef X-Microsoft-Antispam: BCL:0; ARA:13230031|1800799015|36860700004|35042699013|82310400017|376005; X-Microsoft-Antispam-Message-Info: =?utf-8?B?MkRmS3lMb1RpOEIwZU5Fem84WXlSeVl0YUpoMFNpdm1yOGpSenBmOUxTbWlS?= =?utf-8?B?Vng0cHc0QmxxbjVrVGFEenVJcTFIVEEzaGVDT3kvVXd5Sm1pSiszbmVjVlB2?= =?utf-8?B?dkkxNjVIS2diVUdPR1lHM1FYRjlmNWtXQ1Vsd2U3NXFtUU0zU3VYOGpBMkZC?= =?utf-8?B?VTU3MkNaRUQzREFEVHBqaS9kNHFralFSVXgvdXRFT0FTekduS2hwNGtlRlpj?= =?utf-8?B?MWFVZ3F2Z2RTZlFyQzNFUDdvN3p0NFZvejgwQWFiYzNWalpYdWhlWV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bmprWiszeWFQYXNJalFX?= =?utf-8?B?M09QYmJicEFWZjNPK1U2TVRJZlpTaHJqMzFRaUxzTE8xT0szTnBjbDFxdGlT?= =?utf-8?B?Z2RtaUd5SWVQOGVJNlJwMllSWWhNY2ZXeEROVExoVXg1Zm1SbUxDcGdOaHZv?= =?utf-8?B?SXdVWm8zeFlIR3pURkJaUnBTSXBnbXBwSmNmVUxGT01CbHUwYU5JbEpOTG9y?= =?utf-8?B?VXljV082ak9rcHRtS3pRc2RhZUtSMW5VcWEzdkY3V0RxM3pkSk5UeFlSaXZ2?= =?utf-8?B?bDBPSmJwb1NpMmZDV3lJdVNrOVRZN1BBNFJ1V0VKSkQzSThQa2hPNnlKbDd2?= =?utf-8?B?dWVNbmFFWEdEaDZFcGNNSkZkR3lBeFBUVDM4Zk11OHZYeXZaR1JicWpFNUMv?= =?utf-8?B?R3h3WGxhWE12bXhwR0hPaE93eG5RalBaZU9DT0ltWkUrNHhwVVVWUXJSNFNv?= =?utf-8?B?TkRoYkVSeGFFdHBnVnJ2ZVVsZzZUaDVHeTR0TUNaTDFCQVhHb29MdmUwTGxh?= =?utf-8?B?NkZkdlN3TDc5cXZIWElkaElmbkYxVW5iYXdxdDFCRXYzSWlBdnhPZGhHcHAx?= =?utf-8?B?SDFiNGNQRHdpNDQyVjQ5NDNEMEJjVGhmeDlpNHcxR05SVVI2VlJqS2NqcjBP?= =?utf-8?Q?EGe5HbZ0zkCzL5rwasL4WxY5eGlvU8OjlM8CE=3D?= 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:(13230031)(1800799015)(36860700004)(35042699013)(82310400017)(376005); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 May 2024 08:25:53.3964 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6d5f587a-c32c-4dce-0750-08dc7581cd41 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: AMS0EPF000001AD.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB9717 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 15/05/2024 23:34, Morten Brørup wrote: >> From: Paul Szczepanek [mailto:paul.szczepanek@arm.com] >> >> AFAIK DPDK rte_mempool does require the addresses to be virtually >> contiguous as the memory reservation is done during creation of the >> mempool and a single memzone is reserved. > > No, it does not. > rte_pktmbuf_pool_create() first creates an empty mempool using rte_mempool_create_empty(), and then populates it using rte_mempool_populate_default(), which may use multiple memzones. > > As one possible solution to this, the application can call rte_pktmbuf_pool_create() as usual, and then check that mp->nb_mem_chunks == 1 to confirm that all objects in the created mempool reside in one contiguous chunk of memory and thus compression can be used. > > Or even better, add a new mempool flag to the mempool library, e.g. RTE_MEMPOOL_F_COMPRESSIBLE, specifying that the mempool objects must be allocated as one chunk of memory with contiguous addresses. > Unfortunately, rte_pktmbuf_pool_create() is missing the memzone flags parameter, so a new rte_pktmbuf_pool_create() API with the flags parameter added would also need to be added. > You're right, my misunderstanding stemmed from only one mz being stored in the rte_mempool struct, but nb_mem_chunks is in fact the variable to check in mempool to verify contiguous VAs. I'll look into the possibility of adding a mempool contiguous option to mempool. > > For future proofing, please rename the compression functions to include the compression algorithm, i.e. "shift" or similar, in the function names. > > Specifically I'm thinking about an alternative "multiply" compression algorithm based on division/multiplication by a constant "multiplier" parameter (instead of the "bit_shift" parameter). > This "multiplier" would typically be the object size of the packet mbuf mempool. > The "multiplier" could be constant at built time, e.g. 2368, or determined at runtime. > I don't know the performance of division/multiplication compared to bit shifting for various CPUs, but it would make compression to 16 bit compressed pointers viable for more applications. > > The perf test in this series could be used to determine compression/decompression performance of such an algorithm, and the application developer can determine which algorithm to use; "shift" with 32 bit compressed pointers, or "multiply" with 16 bit compressed pointers. > Will add shift to name.