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 0E5AEA034C; Wed, 21 Dec 2022 12:16:41 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A6D4C40A7F; Wed, 21 Dec 2022 12:16:40 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 4D99540A7A for ; Wed, 21 Dec 2022 12:16:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671621398; x=1703157398; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=bcUyHPuSC3obOGJW60PluDsCFkQfw+w5z1IxRZynbkU=; b=Bo5Q7mgWYHdHmDn/Tf7K1R5fuZbTG8wpVzd7fZCIEOC/t7c75sCbz9Vm dqLzhVZ7IIGFA2oRDwVePo5zgDH/Xv6382L3wAlxtYFwUGJMtL+1Vw4Y3 0Ne3+FLf7GjfUdLI0oL+BJwvcs86x+nNtAgHuwL2us6xVuhcznoa2WQUt qRBtZDxvGLdvC4VTF7ZXIwS396e1gyzQNsYDxhO1es5dnMwYSCkIibMuF KEUtpL+y4Q+84rvQnsoyRelUGxYqj9hrNzbkzLyy2WBXpVHyYWznJ4AIv mYgOLGis8QXkhSu/oTrN0AGAJPVenKTvf5z+tOU0dg03o3CqvvXpzvz6m g==; X-IronPort-AV: E=McAfee;i="6500,9779,10567"; a="384194931" X-IronPort-AV: E=Sophos;i="5.96,262,1665471600"; d="scan'208";a="384194931" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Dec 2022 03:16:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10567"; a="719908535" X-IronPort-AV: E=Sophos;i="5.96,262,1665471600"; d="scan'208";a="719908535" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga004.fm.intel.com with ESMTP; 21 Dec 2022 03:16:37 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Wed, 21 Dec 2022 03:16:36 -0800 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Wed, 21 Dec 2022 03:16:36 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx601.amr.corp.intel.com (10.18.126.81) 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, 21 Dec 2022 03:16:36 -0800 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (104.47.73.175) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Wed, 21 Dec 2022 03:16:36 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZN6OOnhZ69PlkGgLwzPzLLsuAJ5ri1qXGknBeK63SQGLhrCDyROtei8pAz9iiE1iaDuyzwxQ8rS+iHjOzXysDlDVEB5IKiBggeeeUT2JpmxYBsDSCfEJ5KPNqt8izWLFgcL2fETqKR459k/uvfzIfVFBcp/xdvz5OrZ2WoyBSlF0ROwDwxlYPFYyYWG72iYyJSXfYrmkmpWDVC6YLg8COl3UEEZSePjHSgfLySoYfpUZu7/0yOpuR3YRqKmUDtsAgF1pBszvK0ENtcUIPjzqz1Z7vbBBcmhrXIcLfFCs+fAvGmI08QyP1+S4NkrAxjT5pqBUP9v90JwX7dTI38sZLQ== 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=fJquH4BxqWzN0pxO4GD3NTbPmg8ojdhV7L1g/3Py3m8=; b=SpT1yE9EsGuf9ITi8YYH2VrpbVIsYLXLsY866gU8uDOpzD4jadLqbeG9fRCnHZyPqjoKviFg0faYso1rbFxyUnuyHDPcKre3e0ltzFWyg//qrBPtt05d7YlJ6eYqk9jxlozGr60F5iamAYfNGUXrPGOBI8YFmfMN2LLyqGfLuMJWRFmM/dezTVDakNLBF0C7CXufb3teoQVmmMsj4Xek7VuBjyO2Z02qRms7jH2fCH7GW4sPZoQp1Bd8AxtGYR5V3UwteEJFwm5pRQZwlxCu09ias0qm+gSgt57YuS186Ytkb/x6uLzFZz/l9MODGh9hnBL6Y+/jHCuwWx5R2vj0eQ== 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 MWHPR11MB1629.namprd11.prod.outlook.com (2603:10b6:301:d::21) by SJ2PR11MB7646.namprd11.prod.outlook.com (2603:10b6:a03:4c3::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.16; Wed, 21 Dec 2022 11:16:34 +0000 Received: from MWHPR11MB1629.namprd11.prod.outlook.com ([fe80::5ce5:e8ac:70b0:6908]) by MWHPR11MB1629.namprd11.prod.outlook.com ([fe80::5ce5:e8ac:70b0:6908%9]) with mapi id 15.20.5924.016; Wed, 21 Dec 2022 11:16:34 +0000 Date: Wed, 21 Dec 2022 11:16:28 +0000 From: Bruce Richardson To: David Marchand CC: , , , , Anatoly Burakov Subject: Re: [PATCH] malloc: enhance NUMA affinity heuristic Message-ID: References: <20221221104858.296530-1-david.marchand@redhat.com> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20221221104858.296530-1-david.marchand@redhat.com> X-ClientProxiedBy: LO4P123CA0434.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a9::7) To MWHPR11MB1629.namprd11.prod.outlook.com (2603:10b6:301:d::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR11MB1629:EE_|SJ2PR11MB7646:EE_ X-MS-Office365-Filtering-Correlation-Id: ca2b1c39-3f52-459c-e91f-08dae344d1b7 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: Xq69/l2dta7dq+pAyj4kTQaGtQ8TO0lCtnErHeZNf9t/R7K89n459hnV5V20sB3F7kUeTotWqKoxE2ArBKxnKx2m7/4ucsCVRyCpYtRs27KY2YCRPO8N6wZBu+6/dCifglfnjSltGN4IiM9CbaLOnbzo96CsBJkg4dSIk4gxEItM1Yd4JiTlHNblybWytFn0ijyA2Vn4cThFDiMgvghr8N9K/rIWZBSP1bgClDOWv7mzzWOSFJn2geRW8JQnZGn0wPhzKhDUo8Yf/zmfa5/SkD5tyO35gkO6rgaXtDOGWrWwYg4ohZlx8hWypGG2tq4SP2UTU79gLp4MppQtUyA4EaHFmgojCkPSVZ54G7AsivjqCRW6fC3U0y14b9JRYTPevrFIesNT0toPXVv0yKWWH03b//qRRxqrtmJ9KZR+DZtYjkrQ8i8OQCpnj7kOnfdGmPXomf89Rx9H+bxkSLDaUpfGBYnqJo48ZKBJOoaO8gZITQtfF36Z5EMFhG8DjRpFHEaJCmlimYszgTbSYhqrUTPyBiTWezhTXC54+0z9LwbGMI01Fgrh+5Buwi3ic8FjIR0ugREUKTvw7gIr2+KWh/Oy7AaMsdplivnc0ad3xXoMu+CAkvlBmfzYPF19sQar8k+qZxibvvg+BPs7PFxn+g== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR11MB1629.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(376002)(366004)(396003)(39860400002)(136003)(346002)(451199015)(6666004)(8936002)(5660300002)(83380400001)(4744005)(107886003)(41300700001)(186003)(44832011)(6512007)(26005)(2906002)(478600001)(316002)(6506007)(82960400001)(6486002)(6916009)(86362001)(4326008)(66476007)(66556008)(66946007)(38100700002)(8676002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?GGacGnr1Km8o1NKUhVVPc9JcKs3I7TxHatrNGwW4eJeyw36BAoctIlkfSdIt?= =?us-ascii?Q?povCEevoJq2In8Amzvo++g5Tk1uJO344TAPrCOsIOqGb5qgEf60UYlJkDiqE?= =?us-ascii?Q?b30tX/kZZxtRGhfVpjJ1hFAYPHn/CjMR/HtJ/pPv3yWzUS62LJ2p2IGM7pdy?= =?us-ascii?Q?rTPWiB40jl1kuuR5KD62D5ayB23DPiOObqJ70jfuvAx8OVkzlfL7xwNenpVu?= =?us-ascii?Q?mTFQCAXVDvldU7rzIkgIKj+1wYjubFp+alAUhtfj+c3AnDMeHFNYleTIMTd3?= =?us-ascii?Q?iVRSRxioV2UAdySX07JciKvzIBf8Gse/cDKSR9s9ts9y7+p91vzDVVynpG0l?= =?us-ascii?Q?vxtwrZGheSNo1YW8bZj+gPWFHIuKeWR7NS+Bo+zizOq04RPKQSlN2Com/6Kw?= =?us-ascii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4z3HOjSk0f6OmI38/gSj9I0?= =?us-ascii?Q?fQePptXl/guQBwRVH7Yl69lsjgzNnDDKMbHMzK+TPLgdZ1ngXPRblFrYKaxe?= =?us-ascii?Q?9l61lZ/MwiSj9hrZZvziNddUERm+za/MWTNjwB1ibRyCzp5MItR48m4L7I8L?= =?us-ascii?Q?y43hVXg0+y30FK8aL1nlfBuwj2XIZrcQuJaHuiRcWliWDPruX1Rt8YpKIIHL?= =?us-ascii?Q?P7nbCHme685kb9ZKFX76/K3rb2Szg1oexoVBc9rQq+NUQCq8abpRyvDkS0GS?= =?us-ascii?Q?52R/cfm4w/O0kj2IQLdvbuqYzqeYbhw0j3MgGtaMxivRwIq8jUSZnAomWUvx?= =?us-ascii?Q?nA=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: ca2b1c39-3f52-459c-e91f-08dae344d1b7 X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB1629.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Dec 2022 11:16:34.3681 (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: gt6fNJ57l1qHBtkk65gXO7RDlxlok5cWMKiw84wyW0A93RUQ7HGOB4m8Pu8bA2ZLwoRaIMZqRT8i8yUxES84JY8ARcVq6HIXvflCjzyIMMM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR11MB7646 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 Wed, Dec 21, 2022 at 11:48:57AM +0100, David Marchand wrote: > 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). > > Signed-off-by: David Marchand > --- Acked-by: Bruce Richardson