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 8075BA0547; Wed, 21 Dec 2022 14:50:12 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 72367410D3; Wed, 21 Dec 2022 14:50:12 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2053.outbound.protection.outlook.com [40.107.94.53]) by mails.dpdk.org (Postfix) with ESMTP id 0B40840A7F for ; Wed, 21 Dec 2022 14:50:11 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fak6fVOuku1/K/z/2k+JGTQzcl1HjJlVVtT+YRQp6riDfLBm33Oom7Cg1K37FWRfiZjJpLxkaEhIehufOWobg7U4igOcz9M+akiL1OtjXvFkGGx7+KEGIOf0kvA4iZzTHS4C+eIB3k/lku9DndQNHYAFpP9pgVKPvS0/nQdoMUqGZEdJoKqMna563qu7uU9ULgHvSGUsVnxlCy1CfRO4ywVIpsPBaWhn0RZmYYhKkwTsiQMfiGUAPS2HJje5Ut96wG079w/awSFkbAxf7+Q3cA5gmOskvmOukvRYrhvKAGh83p8mSEKXSwo5tHSiWJzfExUJvbAk4mc9fPT0rmq5jw== 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=X/ZKYmUErqFIu0YZzyWPp6V//eKmI/40JF9icGHFxHs=; b=DCHbjurfaQVBvcHfvaXLpjL/a1kqDsiRr1tabiMUr1q6RFgrcEuVoQGMyGeqsdKMQ2qP8iysgn/fg1xdbroDhVX44RQl+YKAqkdgzRqzsddS1xmknmK4VfOoS5r5s2RS4ZLm4s7cusagkN5kVElzi0INTi6B53TGabzySM4hZM3WBhFPMf45IW3Oz3WXFM4JNQZ7jsOUq2JrdOuaZxLXIoY71dZqKDuG4qPAUhpyBYyPivDRA7hLwNyyzxdepWfSy42rV+248icELMJC2XXO5l0O3XYzkyBQiVkfDBRXEbO4LRWVzRiifRz0wPC53bI/SJEMUQUUKYSSGX2e0W3qvw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=X/ZKYmUErqFIu0YZzyWPp6V//eKmI/40JF9icGHFxHs=; b=WKb0fJt1TiXvhCg4vNshdVB8v3QtkPKte1xTLkPQ5QAfSeaz8UAvxQW81JM3RwZYEpFGwrpuxp/EEetPI1aAmjSrQSBVpBpln6Qz/RHAi/Grjs5672NToQ7BvZ7P/wGTGKds7nN3xA6PDKlXT+qK1yL7Dodn7weJcCuJoj0uMK4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by SJ0PR12MB6853.namprd12.prod.outlook.com (2603:10b6:a03:47b::17) 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 13:50:08 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::4807:1f44:5e04:e05a]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::4807:1f44:5e04:e05a%8]) with mapi id 15.20.5924.016; Wed, 21 Dec 2022 13:50:08 +0000 Message-ID: <2abd0563-b264-19a6-57b9-ffb92ace27f0@amd.com> Date: Wed, 21 Dec 2022 13:50:03 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH] malloc: enhance NUMA affinity heuristic Content-Language: en-US To: Bruce Richardson , David Marchand Cc: dev@dpdk.org, olivier.matz@6wind.com, kaisenx.you@intel.com, Anatoly Burakov References: <20221221104858.296530-1-david.marchand@redhat.com> From: Ferruh Yigit In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0008.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:150::13) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|SJ0PR12MB6853:EE_ X-MS-Office365-Filtering-Correlation-Id: 5b640631-0ca0-4f33-a4d6-08dae35a45c9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: syZe/2BnTh9GwDu7wCEf0NlOvYKbf8dRCLvyUd93jOZdlSqQJOG5oRio+KT2gIZPJo8iM7zKbpqtG1AkoCUpLMK92e9vJ150lNE+aVoLdW8TP5xpl7Lzg3gKnjQ8Jg2KAte3ST8MqyiAtXpfYKRTVhq1ZY0ikwbuNzxaFTP1U4K6/j1BmFAKy0wrh9skthhPTcWT5Rj3xDtRriE/Ty/JaukYYCYNoLPeobgMVCxalV9idVK/hiMvn42XZJHsFkCaJ+xGzVRpt8+SzgsUzTV0OwbiDhi8ZtoIIFUkh+tGzSzKBu38U4HXX9OqQBYFEsqrHxOy83wRmNTQj98ozoa1/8WbUX8yo6OscGaoYyoXs7kH17DVm2a5+/g2epm9VdZIVPlpENUOzmRsVD7qemNGD4OkPFw3GZW3hHrmpM4C9Sb5myB7tZKE4cGS6GeY5mtybnR1v1WgilY2mOh0lDdimGaleix0wgXaKU7cqQeV/r4lwAfcedfRWhGHlXoEIaaLN4BmVWjK5SHaTnEOlYfR4NWM2+7Zvg7qdnRTCbr13YzkGCDCEClB0Kwy3hbYYgsgO2DhyqA/SrUws/8rY8ybmDp21JcLYlge11TzBYFmQjTO2za/2kc+5ETA/AMoeJ+SHzXhxIZk4VRsznbbhc7lQudJF649pZXDgn6bm2cIFBIa78NrI3CAbr7UDsZhWTqMFebCEFhYu7HICI2DOyJM0i16fHtmyztOpNPo0Rek5zA= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(346002)(396003)(39860400002)(376002)(366004)(136003)(451199015)(36756003)(86362001)(66556008)(8676002)(8936002)(66476007)(2616005)(4744005)(66946007)(83380400001)(44832011)(53546011)(6486002)(6506007)(6666004)(5660300002)(110136005)(478600001)(316002)(6512007)(4326008)(186003)(26005)(31696002)(38100700002)(2906002)(41300700001)(31686004)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?N25CcVpKWVVTdGE2bDJWYWhQdGFkQlcydFhtUVZ5ZU1kc1RGOEpDUzl0azFD?= =?utf-8?B?ZTlBRDcvSnMzSFVmTkNteHFBb1FiVXEyUGNGdjhCSGZQb1NMajJ2SDNGd1Bx?= =?utf-8?B?SDBtanpreVY2eTlPYUFTMjJVNE9IQWlEWGFiNWhFQ09QOElnbVp6K1F4WHNL?= =?utf-8?B?VkorVU5XbFZUWFFwWCtUNzRnUFhtd2pjWHNISmpkNmlDUUhOQVZ5Q3B3THpC?= =?utf-8?B?Z2xuV2NOMUc2bUJWeTIyb3A5clJaWk56MS9nb1lEeXBCclk1SDBGT2FERmxS?= =?utf-8?B?U2MzOGFmM0N4L3J2c3YvWTVIbW14Tkl5eD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F3?= =?utf-8?Q?9N7Cq1Th4fVag3RrPzJEj1PdQ?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5b640631-0ca0-4f33-a4d6-08dae35a45c9 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Dec 2022 13:50:08.6406 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: QvDXwenAx/zHiONRzkfxOR/d4Dx1p+RF+zJ/0HJ/g3E5OyUqrKw7Q9KUFoXY3MJZ X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB6853 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 12/21/2022 11:16 AM, Bruce Richardson wrote: > 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 Acked-by: Ferruh Yigit