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 F288E41B9D; Wed, 1 Feb 2023 11:52:59 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9DF33406A2; Wed, 1 Feb 2023 11:52:59 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id E8DAE4021F for ; Wed, 1 Feb 2023 11:52:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675248778; x=1706784778; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=SpB8QCAyLlY7lAeIuwS9yeXUBtD1Xb+/mjhICJhw+Jo=; b=MJOrmDesmeZSyV7LgbMqmBD9JpNs28scigTDg+BXVVd9R0XchKA6aF5A tEeQR3FRKZPd44dhGjPku5NUjjLpoOFfPCeT914lr+XZnD00xH8bcGF1/ bTgMnnXCvANmf/rapEm1ZWY1nx7eDo3SPCgstz7ce0p3rIsXt8HQk5l78 LWphqSdNHKlKJiYA8iPAQIZMkjYPn6YpZCYkUvabwkvBd9Nz7BaXva8NJ +z80rqK8cxdhvCqXnvO1kzrpFoiGnX9XGJvThHFzQuOU114R7PEtQm0NS FQn9JEESoQBJCdLcL2cZ1h9xgJ3a9R1/l1wtrngmIx1Y47gA9vdZSruUX w==; X-IronPort-AV: E=McAfee;i="6500,9779,10607"; a="328124688" X-IronPort-AV: E=Sophos;i="5.97,263,1669104000"; d="scan'208";a="328124688" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Feb 2023 02:52:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10607"; a="728354351" X-IronPort-AV: E=Sophos;i="5.97,263,1669104000"; d="scan'208";a="728354351" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga008.fm.intel.com with ESMTP; 01 Feb 2023 02:52:57 -0800 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) 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.16; Wed, 1 Feb 2023 02:52:56 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Wed, 1 Feb 2023 02:52:56 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) 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.16 via Frontend Transport; Wed, 1 Feb 2023 02:52:56 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.168) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Wed, 1 Feb 2023 02:52:55 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YMdiejTuzV5AVcn/Yab/FPcdeHLHM292moWlyvXgpTjmKMOdrnAjFy9UEe98vuPk6TlQ9R4qPNzKXyYApsQeLhw0NV7Q7aDN9KQdbyzaeeypik76diJh/wTRt4uZGdyaFk9KbAw2o+cSTjceUdabzysQqfS/LB1xe0daP5Ivjo0Wu4jKi7LkPCuxc57yfgNv8dPTlGmXvuofS49JIaCCy4ySmZbuFcj2bAa642pxaWfrPYvQ3TP2uYWhTYeptPsvv7/Krew1soBdii6X+GuslXBNeScGPQNhVhGD8HPrtEK/IQh4BPf/rapSVZgV0l+y0qPmZEYda3pzon72O6KUdA== 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=SpB8QCAyLlY7lAeIuwS9yeXUBtD1Xb+/mjhICJhw+Jo=; b=bcwy1dAc3J1xt8zQwlpSE5q29ewwj35arEq2C3L+hvymtfqxNSBK2FeFUZWs7SVQ3JYCYfCQqAcZfnuQYyyL7DeDphPEsY8Nv8PwFvuYyMQ/L+4KMS3YjVFEN5SORSdgjuOUZXDmsR7zePEwdfq4m/jm4jK2u1IobKV6qbBMuufMZG3UwnvQAfl4ANNZvGylwSGkfwjZYSaMhyy6M3PvHk0X8LCEMySnRJFTYN5sHHFq4XekhAfPalTkQHhxmvpzzl2t9vmkfysniO+LiJwuPn+ughegVhisnZ7Iw7PHlga2busc9rkZimwGgDRmNtQytsPdbGhyHrN/UpBWVkwDmg== 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 Received: from BN0PR11MB5743.namprd11.prod.outlook.com (2603:10b6:408:165::5) by CH0PR11MB5409.namprd11.prod.outlook.com (2603:10b6:610:d0::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.38; Wed, 1 Feb 2023 10:52:48 +0000 Received: from BN0PR11MB5743.namprd11.prod.outlook.com ([fe80::49b2:bafd:2c90:9819]) by BN0PR11MB5743.namprd11.prod.outlook.com ([fe80::49b2:bafd:2c90:9819%4]) with mapi id 15.20.6064.024; Wed, 1 Feb 2023 10:52:48 +0000 From: "Jiale, SongX" To: "You, KaisenX" , "dev@dpdk.org" Subject: RE: [PATCH v5] enhance NUMA affinity heuristic Thread-Topic: [PATCH v5] enhance NUMA affinity heuristic Thread-Index: AQHZNgBqQ9KOVaVhAEaKxwa55WxoCa656mJw Date: Wed, 1 Feb 2023 10:52:48 +0000 Message-ID: References: <20221221104858.296530-1-david.marchand@redhat.com> <20230201122048.1283392-1-kaisenx.you@intel.com> In-Reply-To: <20230201122048.1283392-1-kaisenx.you@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BN0PR11MB5743:EE_|CH0PR11MB5409:EE_ x-ms-office365-filtering-correlation-id: 843a7781-6b12-4683-a382-08db04427518 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: c/lVN//0T+o+6QnVFlrEmsyOpAw7FkfqQnDjc9JbvmizDguF1SivHv1CsDjKzPbZoldVrjZpf7MeP1H2zfD1E2H9X3ywkxB7XttczQC2kM/i7rxr5mNsPaHLG3pkaIHanq8V+d4sczuloiMoAf+1BHn11zbtBH4YkAvYPABXI3iU2ACKqSdmCC0wym+fvirSANcbscar03dbAIvXbOXpgofWW5QDm0o03ojXUKIzTZggmLw26liO6ZKsIhx1Irz3aGSW69ge5sotu/yehzEkyQMQZcTfvizR3HHFB9GuUwLHU61wolO0PWOPGoGVVYLBlCt2DeKhe31SzxJggqbGSHtsX7zihoX5/M7Q56OiIwnsixSJwL9m5+PKqtf5zdjt/zKDRqz7l32ZEfITP4UIw5x3j6UO+NhikaaWiIbC6oYA1QyCVsqM1k46XQ/hSuybzuIxSoUnejH9OQlkdB1qeyan3FasCO5lLt0ufmYDKNdkX9lQQ2awEyprKMPdjPsdbKU41hIF/ou8l06OeUBuVuUVVbLbLDgpn4xD2EVxgn/Kszpfovez3sA7zzvC/5j0Fh3w6Yei+NI3jZNifj59InKFCBGxYDHJ8sK+NunKqtXXGmWfdXMqhFGtKhu7n8rvsTTT2jkhTMoJeFLOLmad6PH/H6ltOjhPpaTlKkAjvaZMZ3gz7GjvAYRvTc0f5lDXDiGhE3QTptDKxhF3ICD9ZA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN0PR11MB5743.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(366004)(376002)(346002)(39860400002)(396003)(136003)(451199018)(33656002)(110136005)(6506007)(5660300002)(7696005)(38070700005)(82960400001)(316002)(71200400001)(38100700002)(41300700001)(186003)(9686003)(26005)(52536014)(83380400001)(8936002)(66946007)(122000001)(478600001)(8676002)(55016003)(53546011)(86362001)(64756008)(66446008)(66556008)(66476007)(76116006)(2906002)(4744005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ak7BvPd15sM6RkWoxKp0TWcNtN4uQ4voMFvRx4WmKSlporWgjnEsgXfneI5v?= =?us-ascii?Q?xHOH7ack6SSkKN9QFgVWl4GyezhS1lniZvPUb2tOxXQZR7E/wojY8F2yLuQz?= =?us-ascii?Q?QR4JW9omOzEGFgmOucWbXqrpGSJ8jDyOuQP0a0j6Qu/iz/FCCSqGqnIEOVI8?= =?us-ascii?Q?vgcILc4uX14pb4cRCv1uwGC+djMHp7JtmlWlHj1H3IOy5pMqULlxpygztoAk?= =?us-ascii?Q?Gry4QaXK1WDK9n7tkWPU2vVe+9rklHclNQChv7WWjEeDA4RWavlgkCA5AQki?= =?us-ascii?Q?2mccCCaNla91p9RkK6aczSDJynRGhIpLvRgG9QwnumGkhkHoAz8p8qWqWO+Z?= =?us-ascii?Q?AMrh915TNEMhH80GAKPKAoq7OIz2UayPZctP+ZWGbYOCG1WwkjCq5SJ9XyIu?= =?us-ascii?Q?n4yahxAqD9obf6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vrz?= =?us-ascii?Q?wtrc1S3xz4GH4Vz13hKtMz5m+gyuumxbhf4hxWLo2nCRfVen4ZmbLWAAvrmu?= =?us-ascii?Q?skOsWFUkI9o96szvuu9SSOYeMKLST9DHlewOhFIt82GerOiyU8u6wCm0bc77?= =?us-ascii?Q?L06MLba5V6Pcl0VEwfbk9grDDWfP5bQtCTF4Lli8KSIUiGDO31WzqTvzInEy?= =?us-ascii?Q?1jFvuzfshMc9mq3pIYyYc3ly9U2p32A9wdsknOIosxjqnibhsTvryD76PGnC?= =?us-ascii?Q?KYcgI06TifDbNnRFnzy1hztndszulSn2Ck9FU9on?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN0PR11MB5743.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 843a7781-6b12-4683-a382-08db04427518 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Feb 2023 10:52:48.1489 (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: qDvtgBiyBckWNvgckQ8o1ng9w6eTqDRbrEehGA7zAkn1vWPYjMM5H1Om6WxWTdAVlxQpDWuSTt9sNHmJOIOOSQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR11MB5409 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 > -----Original Message----- > From: Kaisen You > Sent: Wednesday, February 1, 2023 8:21 PM > To: dev@dpdk.org > Cc: Zhou, YidingX ; thomas@monjalon.net; > david.marchand@redhat.com; Matz, Olivier ; > ferruh.yigit@amd.com; You, KaisenX ; > zhoumin@loongson.cn; Burakov, Anatoly ; > stable@dpdk.org > Subject: [PATCH v5] enhance NUMA affinity heuristic >=20 > Trying to allocate memory on the first detected numa node has less chance > to find some memory actually available rather than on the main lcore numa > node (especially when the DPDK application is started only on one numa > node). >=20 > Fixes: 705356f0811f ("eal: simplify control thread creation") > Fixes: bb0bd346d5c1 ("eal: suggest using --lcores option") > Cc: stable@dpdk.org >=20 > Signed-off-by: David Marchand > Signed-off-by: Kaisen You > --- Tested-by: Song Jiale