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 72BEDA0C41; Wed, 17 Nov 2021 20:02:06 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3875E40687; Wed, 17 Nov 2021 20:02:06 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id F197140040 for ; Wed, 17 Nov 2021 20:02:03 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10171"; a="232754484" X-IronPort-AV: E=Sophos;i="5.87,241,1631602800"; d="scan'208";a="232754484" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Nov 2021 11:02:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,241,1631602800"; d="scan'208";a="454759765" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by orsmga003.jf.intel.com with ESMTP; 17 Nov 2021 11:01:56 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 17 Nov 2021 11:01:56 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 17 Nov 2021 11:01:56 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Wed, 17 Nov 2021 11:01:56 -0800 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.172) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Wed, 17 Nov 2021 11:01:55 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AhkaFdTe6NHh4KeGM4NDWfx1FyQgVI/S+qU36QScWID4R7G4ceJ1ZHhXsaJ13hsbVLRcm49U3+ZSH3Y+J+uIJNZfLnL/WdURkjPw7Afxamx5qjrIaBruG/6TKteKo2YkSe/tg+xYYrKR2szf+Q0JnZd7ITq7oiW8np+O6gBKQzP4+pr3LHxNv3lpLRIljNbpNl5EF5wKvL1g4zfOn6gQzFOBSrRkdEMsxggKf/wbEybrw9E3M2WhyHoKEJxwat8N9jKx4ANFoldtNs+fnA4L6WbzSkTAsI5Fo80shWOlkgc6lj3gzwqR9j+ufAnRKDJSYdz7R7eJP7J+zNvhaSoVXw== 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=6dDPOTeiRYhJ7md7q8KmiMQv6K1+0FYJA7U72nlrPRc=; b=Baz8Zo2OXzJgv+bCvalZzzKBJ+zElRKTBW1NP4JHhnCoUBHgZhK2AspgJ+Q7C1NHUIAG/Pmx+8QSPmEu9P/BYADVaSGNd0/nQoW7rCRO162qzrKlGaco2uVlxrcNQg5QeHXx5TuBxvhe5twI1ZnQqxtuO3nXGfsk8DJGyN0Ng0GOxCQSMDhwL+rfP3X7uSCpiNrLCc+tTgTC0z3sWDIqLagA6cRf8x+gbqlnzP8Bgqfa0VKFmi+rQAAq19aWcepWbANIyX6aybXzJHyXY8YSStrq10RSVoajEdWRicL2PU2d8xBgV0F9AdTsp6pIgE42Vn90FYE9Hfcl8knPQ6mwPA== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6dDPOTeiRYhJ7md7q8KmiMQv6K1+0FYJA7U72nlrPRc=; b=UEjDy4JnqRr0G/t/ozYNFw6PJ1AyZzbFB/6Jowzd1H5S2mtM7SJc9wWVGhoVYKmxzLCGKsHebZ4i6MXAQ1dEAl45svnhmtx8HBYrkrhDYYvuCBqK5oHWoe+yNKokTVnFh2z8a2lgTe+AQcYsF1FUGx+j/nfqV+t0N8V9Nntb4nU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5047.namprd11.prod.outlook.com (2603:10b6:510:3c::18) by PH0PR11MB4806.namprd11.prod.outlook.com (2603:10b6:510:31::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.26; Wed, 17 Nov 2021 19:01:54 +0000 Received: from PH0PR11MB5047.namprd11.prod.outlook.com ([fe80::f1a0:809a:3d2e:e13c]) by PH0PR11MB5047.namprd11.prod.outlook.com ([fe80::f1a0:809a:3d2e:e13c%9]) with mapi id 15.20.4690.027; Wed, 17 Nov 2021 19:01:53 +0000 Message-ID: <11ad7af7-7500-4348-7bfa-7a69792f8242@intel.com> Date: Wed, 17 Nov 2021 19:01:48 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.3.1 Subject: Re: [dpdk-dev] [PATCH v1 1/6] build: increase default of max lcores to 512 To: =?UTF-8?Q?Morten_Br=c3=b8rup?= CC: Thomas Monjalon , Bruce Richardson , David Marchand , dev References: <20210909134511.18871-1-david.hunt@intel.com> <5148108.61zlV0aQVf@thomas> <14b789de-9279-c2bb-6140-595606462970@intel.com> <98CBD80474FA8B44BF855DF32C47DC35D86CF0@smartserver.smartshare.dk> From: David Hunt In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35D86CF0@smartserver.smartshare.dk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: DB6PR0501CA0004.eurprd05.prod.outlook.com (2603:10a6:4:8f::14) To PH0PR11MB5047.namprd11.prod.outlook.com (2603:10b6:510:3c::18) MIME-Version: 1.0 Received: from [192.168.1.2] (86.42.124.153) by DB6PR0501CA0004.eurprd05.prod.outlook.com (2603:10a6:4:8f::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.19 via Frontend Transport; Wed, 17 Nov 2021 19:01:52 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3b54c219-b673-43fe-ccee-08d9a9fcb81f X-MS-TrafficTypeDiagnostic: PH0PR11MB4806: X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0N/tM9QtQV+HZOlOq/hoAbwvksM7AFBXzILJMtTP1XtOC0lRZpAqCrS1BQoHNF4inm3immYhBPQw3E+EQyVvZ9kKNUvH0YMHjvf9tSLrufKYqq15irSX1whqEIjrG6Ys7En5FYEJXR3dI0PAxoe+4VxU2d7eSOVdt90plMv2/bM4eJibNPOBAHGZTftxf9EtTfu2Bo8SMp9KMXDF+wW7+FDjjaGwGJ7CXTh5OzQAs18D9x2r2Yodc7j/XWujDKXzzM48AziOzzP1FWDP0yHDcELaMbmhT+wMfMaaiedrR1Dxu4lE6egfajFu/Crv6NTDdYgHetN4S8LYmkyooq/HM453ObS453T+/2t+U15pS8VWrH8ltdrWmJlG4ZAgGloWab+YYw7NBKhqH4uW+gCliGMQ4tis52RVB+sUnC+GjriRoer4SmvfuiZZWculC2vjdlMncdiogPUo/fq2IFjrzFneW2gBb20sxS9keEt028jYasu7CyUa9EdTIpskxHn5OBZ4iHvc07lrEjgn3hgqE2mLDDhMEzRQQSNA1RW8ElwIH9CdJtJ2mW5+mlCEZrYjl+tNV9zdsSrvVW+FI2CcBv1rNNhKFU4nkkyuzEFIGFnXehs54UVDObkLz+bhYviyM1T3jtxh+jaJPwHw1X4I9e+n43QQaLYeCilDiJXAKRazaSj0cfXtZ7Lnr6uUwWFF+sN9dffmk56kYKEN69SN/gkaOKjxwzn1HRbenngNp8w= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5047.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(66946007)(31696002)(316002)(956004)(2616005)(53546011)(44832011)(82960400001)(2906002)(66556008)(16576012)(66476007)(5660300002)(54906003)(8676002)(508600001)(6916009)(36756003)(38100700002)(83380400001)(6666004)(4326008)(186003)(6486002)(8936002)(26005)(31686004)(86362001)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?M0F5b05uTUFUbDJCTk5RaDB1MUR5Q1VKUHgwODdnN2hQNWJNeTR1ZWhKSVg1?= =?utf-8?B?bEwzUkt5WU5VVVNJYUx0SWdGeVludkQvYkhIR0VrQ0o4U3B2ZTgxOVpCRFdM?= =?utf-8?B?M05MNmJkTlhFUmhP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vTmw3ZnBlNWlsb0FMdHVQNmRPdGs1VEJGOGNPa0dQSk1EQ1k4UjZhSjYw?= =?utf-8?B?ZFd1Vmp3Y2p6WUxqUFlzbVRUTWg1d3lJOGJSb3RmTjhVdjFTbGlzMG9QZHpZ?= =?utf-8?B?NklpUVlPa1lJMnRMNi85SmY0dURhdzBNZlVFYVIvL0FXS2Rmbmk1NnBHdktt?= =?utf-8?B?dzhHZ3ZrUTl3MFFvNnNuRjFwaG42TXgxTUxzczU4bVNTQmJHdFlqaHJCMzhR?= =?utf-8?Q?J90x84XWepXZ2/GBEK4Wsjs=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 3b54c219-b673-43fe-ccee-08d9a9fcb81f X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5047.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2021 19:01:53.8188 (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: NSoXgviY3NzXYoeef0q8bKFx+2Sl/eXZ1DWcmZu8wLRFOePidqkoWMHWDIOiEF7/MSReVNmT+QR3H/ThkiHjZg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4806 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 17/11/2021 3:55 PM, Morten Brørup wrote: > My microphone was not working during the Techboard meeting, so here goes instead: > > Please consider if the default of max 128 assigned lcores suffices for the expected lifetime of the 21.11 LTS, or if the default should be bumped to 512 as suggested. > > @David Hunt, do you have idea about the memory cost of increasing from 128 to 512? This seems to be the primary objection. > > -Morten Hi Morten, I seem to recall that a simple increase from 128 to 512 cores would result in an increased static memory footprint of 2.5MBs per application, but there were additional patches in the opriginal patch set that switch from static allocation to dynamic allocation reducing this to a few hundred kilobytes. This was not deemed the best direction, so we went with the improvement of informing the user more clearly on how to use the command line syntax to use the physical core numbers above 128 as lcores in your application. I believe the thinking is that 128 lcores is plenty for a single application, and if there is a case where more than that is needed (for a single application), then the default can be over-ridden by changing the max_lcores setting and recompiling. Rgds, Dave.