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 89C8342C96; Mon, 12 Jun 2023 11:37:12 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1E70B40689; Mon, 12 Jun 2023 11:37:12 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id D99C14014F; Mon, 12 Jun 2023 11:37:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686562630; x=1718098630; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=sj9hIUARrsz8oqMbDMo/t+/qyR0N0BsdCoydSxG4+Ew=; b=OxtKQ306VNYrxGi5SsmviIZL9m4tbezgSBZ2quBc4F5JEifYUYd6cijH SVIfqtHgow2hpv+pEiz7t7E3vkuyz3LLf7CuMD4gp8BOeZjxdnsLLqSsG DS8sTwN6NeGdZ8a7/ZxkF+Ds2wERZqw0aeRIkRF9+NIljLFKulsnkmVKI 9gohmDnm3qhIBH+prhenYt3eM0JbhbMwiPXzgwRsQFlsY27YrjMtV0LiL WrnrcHGShiJH36p6KEy7ZW/Zti1Yg+I2VRyxKDfrPlSJCIdCpQlAE+4f6 ILcEM7YoIcsEYYgGPBze9VuYVqVI6+lzKfB65NFWwT0Z2MzmgeRqAae+P Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10738"; a="342680568" X-IronPort-AV: E=Sophos;i="6.00,236,1681196400"; d="scan'208";a="342680568" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jun 2023 02:36:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10738"; a="855551382" X-IronPort-AV: E=Sophos;i="6.00,236,1681196400"; d="scan'208";a="855551382" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga001.fm.intel.com with ESMTP; 12 Jun 2023 02:36:45 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Mon, 12 Jun 2023 02:36:45 -0700 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.2507.23 via Frontend Transport; Mon, 12 Jun 2023 02:36:45 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.168) 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.2507.23; Mon, 12 Jun 2023 02:36:45 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KjXeQE52hFpjKz+eqkKyNjR9la18U7T2HzUBd/OalMrvHeByMwN5Nr3+c7gFB+NAKlI+led2Dln37FAR/uxiR3WREBiU58fJ8yYfYF1PSq294xU51vvfc19+kYHOtnGG9jmrqMauON02NYMxPkDaSvzleMZJ7KDYuyvs5EVaAdOqKh2mnIe7HkSb8Zs6AeEEaqcl7vmShkevpn9aa42oYSVCwEfc7Ffj77DZ8U/pt5g3vyfh7ZaEQDJg7+jJE6NSHMEjnDHUw9EfDQqgxrEBdsTWrsMckXfjiKhq77EckiPsMn4YMJZU1GAmApGRjs0sXUhwdnjP9crlEJweCPyF2w== 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=F7lwxk7QATAO9zaWu4p33RHo6Zt7pceh5zeaDIli7rw=; b=g57It/U+NHEDDl4EQ1UQXozWnjrLWGh9fCSaIQpsEkiOB0tLc0C2nGSK2e7jvIuDL3nv776Ic8sMsEETQCGA3fRC/5lrOP5KX3GsHMLQBy4+9kgC5S9rBMBHt3ZArS2A3Ugr1wz7VQrhklDfQXLAZqIfjoA7DxC8ia8FMEw4q/y/oeU57FUTBDZwUnklbnTtCAxOIi04HLvcQFOebSDiyzRr7Mri26rUmxCWLvm5L+XDe+82zdhgSSw1ssrR9gKYxLS8i8daYW7sLr1gVg7+k5lOHO8ydLu4IRDrVal+qlqXTwqPslTFM3GWdRpGFMmWAz4xPUGp+BjDnL8hdtdSVg== 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 DM4PR11MB6502.namprd11.prod.outlook.com (2603:10b6:8:89::7) by CH0PR11MB5690.namprd11.prod.outlook.com (2603:10b6:610:ed::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.29; Mon, 12 Jun 2023 09:36:43 +0000 Received: from DM4PR11MB6502.namprd11.prod.outlook.com ([fe80::49c0:aa4c:e5b4:e718]) by DM4PR11MB6502.namprd11.prod.outlook.com ([fe80::49c0:aa4c:e5b4:e718%7]) with mapi id 15.20.6455.030; Mon, 12 Jun 2023 09:36:43 +0000 Message-ID: Date: Mon, 12 Jun 2023 10:36:36 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.11.1 Subject: Re: [PATCH v8] enhance NUMA affinity heuristic Content-Language: en-US To: David Marchand , Kevin Traynor , Luca Boccassi , "Xueming(Steven) Li" CC: , , , , , , , Kaisen You References: <20230523025004.192071-1-kaisenx.you@intel.com> <20230526084535.374803-1-kaisenx.you@intel.com> From: "Burakov, Anatoly" In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P265CA0019.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2ae::21) To DM4PR11MB6502.namprd11.prod.outlook.com (2603:10b6:8:89::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM4PR11MB6502:EE_|CH0PR11MB5690:EE_ X-MS-Office365-Filtering-Correlation-Id: 2954d75a-84a8-4007-ee6a-08db6b2887ee X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Q6JCodYF6xU3qjXVh+s/GiRObEjQaAdfG/11nNTsVmBXnYo20QT60RUppmSF1/E2vw3gTelFQcjusMKnZIOGF867JdcuHuCUYIVeyBjkIt5pT+9G1oztnt+9hNhdCZ/s2ekpWhsScHc7kpjtMefBgxlLKYxucVHRtkRnmEk/sSl3CIrwEUezctJVc5qjdXkforkouweiyZenefNZypSsYDeD7QIrpYPUTZmt5PzT8Z4zB0aOGYT946fNkXZ0IdQxa4wwFLD5vqUu7EcN0FDkyFyCDCWMLhTypqXITRoigEahiWP9OgOibC285lYeS600j/ScYnxOhIjdJKNoydeP6de5/0BlobX6Z3yXaLT7Di034BTt1Ig0fHMulNUbq03fOvO0agJ9kd8VM0EgvRvlh/94owZs2DRkEjSyUy2wiHhkHKxF5XMXDtOIAb67/P/NwBYCeMKkozoPKbTitF+Gxs9HeUGdxNn+WXw1Z9b31ALbK4JXDRKoXzRHFyv6z9bSH1MgWkmqQX9bRcEdvPKzOuVLfRkVzZK92H7ZhisiUPCIqwfebNAestmBh0eJJ69bty1bF/wPwPv7RWQ5BkbubS4xtZmnBlkYFzO4+AGMkrgiwY2Q4W3FVRkRrUvlJsE85pUkhsD7ChHcviLw4NGGYQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB6502.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(346002)(366004)(376002)(396003)(136003)(39860400002)(451199021)(86362001)(31696002)(107886003)(7416002)(6486002)(316002)(8676002)(41300700001)(82960400001)(83380400001)(5660300002)(26005)(6512007)(38100700002)(53546011)(6506007)(6666004)(8936002)(66476007)(36756003)(66556008)(4326008)(66946007)(478600001)(186003)(31686004)(4744005)(2906002)(2616005)(110136005)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Q3ZpbXBYLzc0L0N3L3RPTUN1SXJCOGNRbFNHOVIxWFNWQ0hPam56YkFVQWMz?= =?utf-8?B?Q2tJVm9HU2NPYVphUG10WGNYSVYydk93YVZxeFhMQzE1ZUdLUEVpZkExSXJT?= =?utf-8?B?ZWd5N2NxZllQSGw1YnpQSnhacUl2UWluV1AyTzhIOHg4bEpoVlVCd2hncHNy?= =?utf-8?B?TzBmYi8wdFFMbTBMUk1MRU50QjQrM2VOeER5OXpTN0hrVndLY2dSU1N2U0dJ?= =?utf-8?B?cXFUcTNqbk1qOHc5QXo0RGxhVVBNV3IrMFRXQkVCOUV1NnNCRVJRNWpEK0Qr?= =?utf-8?B?L2hSY2xQSWVvVG5hYktuMkc1S1FOZkhwU0dhZVJEaTF4NUUwRGpVRkNwWk1q?= =?utf-8?B?ZzZRcEJic200T3ZCaG9PUFhoV2VDd1ZvM3BMU2h2MkdLTjJJVjRrOHVxTEZj?= =?utf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-MS-Exchange-CrossTenant-Network-Message-Id: 2954d75a-84a8-4007-ee6a-08db6b2887ee X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB6502.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jun 2023 09:36:43.0076 (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: BRb9aTHvwtwda/9BauT2jX+C55o4c0hTx0ikhyLA0eIJLevR3/o313sx4KAotcQnUTsUWM49/KbwOK4ROQrKHYpAzUUjqlv2RtTBfkvukPQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR11MB5690 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 6/1/2023 3:42 PM, David Marchand wrote: > On Fri, May 26, 2023 at 11:03 AM Kaisen You wrote: >> >> When a DPDK application is started on only one numa node, memory is >> allocated for only one socket. When interrupt threads use memory, >> memory may not be found on the socket where the interrupt thread >> is currently located, and memory has to be reallocated on the hugepage, >> this operation will lead to performance degradation. >> >> Fixes: 705356f0811f ("eal: simplify control thread creation") >> Fixes: 770d41bf3309 ("malloc: fix allocation with unknown socket ID") >> Cc: stable@dpdk.org > > Backporting this kind of change seems risky for a LTS. > Heads up for LTS maintainers. > > Anatoly, are we sure we want it backported? > > Yeah, apologies, I was away on leave. Yeah I'd err on the side of not backporting anything unless this comes up independently. -- Thanks, Anatoly