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 6062043F5F; Wed, 1 May 2024 12:06:56 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E0CFD402A7; Wed, 1 May 2024 12:06:55 +0200 (CEST) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2048.outbound.protection.outlook.com [40.107.95.48]) by mails.dpdk.org (Postfix) with ESMTP id 35C0F4021E for ; Wed, 1 May 2024 12:06:54 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LJ1+5Xw3aG9FckdXcvRW/L8p74OPsZLml1zo7AXNBTYtq3WmKnGeDFFjm7udbZn/Ho8DOK2maNrhtbH0x52cTDiW/E3tGBi1CsKGTJ92Ygc2EN/GYJRPgno2q2MoGln9E4tdy+zsLfQU6L/Ztmz9UBcZt2zP5A98V46SVzK6ThL1glM+PraOaXeN0HRsn6egkCL09tJaXmoBNM8g9XLy3A8hJRZVqExHpJWRIPTVSLah72fhPZd3BHlql0NwWzCuVQkHqq6X2D0qCv9iOX2A/XQHficfUESlwiZ90Xb2IkhI0N+H8tDsOXGBnwG3P7XF5NlUAusgP3RtE1mYW6hbLg== 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=Nn3ZQxVd17XWgg1mcODGIjLTr+iKrhc1xm24F2PABU4=; b=eHFYlIStndSJA2/bhQtcBCvWEx8wLKLQpdYZFTg3NMO8Q9B0G9K7J0lkRzL587n3tCR2eNXZPukoWq7iKer6Dz6Sy7mPdukuSKErnEcTS5P2FVl+yjFbYDpxyMsCsDUJgXaz0LH1xfV9VOHidIH44d7NLWqxyQdrJGR5HguJp9D6BheL1E0d1B9u/PB1MM7bXG90x7XN0HlnTi0yjE66otHgmg4hzxtRLwt0B7kw91rI3vr+IROHEqPBceUlyR1xmuoWs6PXiAniJ2zHsXbcbIxLHVVjfPKFx5JB148cItADPOZXNeALanVfZBk/9esx9D0ev74AugS60InZiwtaCA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Nn3ZQxVd17XWgg1mcODGIjLTr+iKrhc1xm24F2PABU4=; b=bOZBpG3EHqab0DVDqm88R59l0tUDhUNYl1W/PBSjWRFkDoIZKchkqy0NXgj1tFjvGJ3VRjSAxDpVadwnkGi5k6T0lVQwTn52rwxp87UOp0r5RsurVKFauDpyjRljXEspHjk98M6v65JpQ4Hxds3YinvfL3OygS+l2ppB/eWkN0y4vDMrf39rw8DUUhDg/quLjQ2gOYtcBiWFohn7MI8wpWqYf2htQsld7LTlRrLOV9RG/C6BF7FLWezh6H2RXMjJi/MZH9n7nzX8kuM0OGPrc0ApptxUmjdP53KPWApcn/cSrlaWKb4TO/6u5Nm2FSLpETjN4hbBzyxY857okKyHiA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from IA1PR12MB6332.namprd12.prod.outlook.com (2603:10b6:208:3e2::13) by IA1PR12MB6210.namprd12.prod.outlook.com (2603:10b6:208:3e6::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.34; Wed, 1 May 2024 10:06:51 +0000 Received: from IA1PR12MB6332.namprd12.prod.outlook.com ([fe80::abca:c0e2:1a95:d6ab]) by IA1PR12MB6332.namprd12.prod.outlook.com ([fe80::abca:c0e2:1a95:d6ab%5]) with mapi id 15.20.7472.045; Wed, 1 May 2024 10:06:51 +0000 Date: Wed, 1 May 2024 13:06:47 +0300 (IDT) From: "Etelson, Gregory" To: Bruce Richardson cc: dev@dpdk.org, =?ISO-8859-15?B?oA==?= , rasland@nvidia.com, alialnu@nvidia.com Subject: Re: [PATCH] cmdline: configure input buffer size In-Reply-To: Message-ID: <96d1ac1-b2cf-f6db-1e24-aead628a9d16@nvidia.com> References: <20240501052659.231457-1-getelson@nvidia.com> Content-Type: text/plain; charset=US-ASCII; format=flowed X-ClientProxiedBy: TLZP290CA0005.ISRP290.PROD.OUTLOOK.COM (2603:1096:950:9::12) To IA1PR12MB6332.namprd12.prod.outlook.com (2603:10b6:208:3e2::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR12MB6332:EE_|IA1PR12MB6210:EE_ X-MS-Office365-Filtering-Correlation-Id: 970f5139-cd33-4cce-ad62-08dc69c66bf7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|366007|1800799015|376005; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?0tKDzeHzeV+HA7Syyc+8GnQFXXEg4AgC35rMfTMvSLwBXiGhLULET/3oYucz?= =?us-ascii?Q?Q3a/6eLEnH2QfGT7SPeRLwHkBjhzTo6hS5LZYa7xGWHKtCCtQ5HX5dTnIIrT?= =?us-ascii?Q?L1S2PD5W9lJYLhUiLq0brrG7GXi/88JAmOPZgziATXnwdJegcvUEBpKq4ZBS?= =?us-ascii?Q?Nf81msj+0KMkkPqC5WSw3+wXRcjHR1MlpFeymxVjl7Kb5mBI3tgMoKtjXn43?= =?us-ascii?Q?LZI7TtLgUmZgKu/25F0/p4l9d/8rjxQefbRIbZM/s24FIXCxEQ+Rp4JktTMu?= =?us-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9rglSmeubW9D/pidiwjplu0Vs?= =?us-ascii?Q?efm/oWCSpAVIiEexB+72loIFrsOoIox/puxmF2pLMp38gbUobQ7EU18ZSYO2?= =?us-ascii?Q?NXlCNB7UNuva1PoGYIKG7NvsZ3L4K7pq6GnCl9alXA=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:IA1PR12MB6332.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366007)(1800799015)(376005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?YKK6R/2lZ6tg5WBev1spRtmhlCod2c/VcRboJWS4RWMJkT7w8GN5tcXjx6eX?= =?us-ascii?Q?wIJWptULB+MvphBRHJqBZ1nYoj+myd/Q2E9Zxq7E1gXKQOqwr5PvMj8rmFeI?= =?us-ascii?Q?cRxaevFzmzNV6Hsymy5wAXalkv6nNnlOH2WIkvBEUuuHbQfR5gFjO1KIbEv/?= =?us-ascii?Q?Atwg5ZtZ0i2EfGzY8nvI4hXvvNkweqdJMrr8G2WCvZooo0hSaDfV6goDX5SP?= =?us-ascii?Q?feeCEH+lzbf14BMkLj221PQMGPsbbc1i66kXdx9LONK5TWMEY02wI35vdVsZ?= =?us-ascii?Q?nBCo4LITOk8/THeSLHhea++6l3TG1gbyss946JrZsXnEEDFk/d7kycgi70x6?= =?us-ascii?Q?u9TnDBfyIIlAQ+wCzYez0Fiz7fMu8dfvXlQPegCum9+H7TpoGQFW/SeNfaEH?= =?us-ascii?Q?NIMgWvZ/o6Jf7PqvfDBP+RRos0xeiboGa/x4g/f0hqnqrYuVZn4I87wxt6Ct?= =?us-ascii?Q?A32p12oqnHJL2xQDfQoZZUX2ntKFcQFwpYSqGe/UBxe/8G20ToHs9JYDtPyz?= =?us-ascii?Q?mrDj5b8ye2U53KySVPGShDvxCDxWL5ZVPJ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6lYOKEOFzic69MO1PBY5SdmhvRB9gCk7Rae2COtz8kiWUdvT/6l?= =?us-ascii?Q?1/0tNtaZvMfNUthSt8YL1iGQT85etLedubeSS+si/sZlb5g4KaCKR0TzQawD?= =?us-ascii?Q?SLKcVXfhqtCJBdJ6wieET3BCWs63qF7/3EZ3tV79?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 970f5139-cd33-4cce-ad62-08dc69c66bf7 X-MS-Exchange-CrossTenant-AuthSource: IA1PR12MB6332.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 May 2024 10:06:51.6806 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 19sWnmsxueFPwEOFyKkf/79hxViHgocOJoTICicmmSOswKZU2M1MddBrGmPEw7jyagh4hnRexSN6BaGqtzBRww== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB6210 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 Hello Bruce, >> Application can set custom cmdline size during DPDK configuration: >> >> `meson setup ... -Dc_args='-DRDLINE_CUSTOM_BUF_SIZE=4096' ...` >> >> Signed-off-by: Gregory Etelson >> --- > Basic question, what would be the impact of increasing the default from 512 > to 1k or 2k? Do we get a large memory footprint increase, or is it just an > extra 1 or 2k of memory used? > > /Bruce > Increasing the RDLINE_BUF_SIZE size will also increase application memory usage. However, that memory increase was required, because application could not fit it's command line into the default buffer. Applications that can run with the default RDLINE_BUF_SIZE are not affected by that patch. Regards, Gregory