From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 68504C43334 for ; Mon, 25 Jul 2022 18:20:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235245AbiGYSUs (ORCPT ); Mon, 25 Jul 2022 14:20:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233651AbiGYSUq (ORCPT ); Mon, 25 Jul 2022 14:20:46 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BCF913F07 for ; Mon, 25 Jul 2022 11:20:45 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 4C9EAB810AF for ; Mon, 25 Jul 2022 18:20:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 99E0AC341C6; Mon, 25 Jul 2022 18:20:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658773243; bh=1RtMlzoGuJ0QrtrVBSs2qZYDTPuLz/5DP/cFx09AW/s=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=jzUYAI+oCx/LCH6Ub+gkcriGg4avIN2NbXwVyfLLuoTBf+pY7QHK28XK6guiAp89r mGLaCDMz4U7cnijdwRGlppdm9TzkPFqnXzBN0+cjP8ZcrI8jy96RKGpk1YIHwfyWY5 cLQqBCZQeRZuEg72C/LyF1WQX7X2CCTEEQb93P9HiF9HZtRJeDcxsGQKvo0r9qrByP yJGestH3g4XtlOkhS95NtK8p/5j3ZghoaWJX8Cdsakn70/6KZZ2K133hlE22xakskY PMA+Ngifn0MOj3yF2vrT7i+JopNPZeRt6xVDxq7qCjYSaPwjuacPhTtt3/L8/clEjK HvMxqjhxrKCzw== Date: Mon, 25 Jul 2022 11:20:41 -0700 From: Jakub Kicinski To: Tariq Toukan , Peter Zijlstra Cc: Tariq Toukan , "David S. Miller" , Saeed Mahameed , Ingo Molnar , Juri Lelli , Eric Dumazet , Paolo Abeni , netdev@vger.kernel.org, Gal Pressman , Vincent Guittot Subject: Re: [PATCH net-next V3 0/3] Introduce and use NUMA distance metrics Message-ID: <20220725112041.79ffe702@kernel.org> In-Reply-To: <09038324-65ed-8529-2f6c-671a15a8fb84@gmail.com> References: <20220719162339.23865-1-tariqt@nvidia.com> <09038324-65ed-8529-2f6c-671a15a8fb84@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Sun, 24 Jul 2022 15:09:11 +0300 Tariq Toukan wrote: > On 7/19/2022 7:23 PM, Tariq Toukan wrote: > > Hi, > > > > Implement and expose CPU spread API based on the scheduler's > > sched_numa_find_closest(). Use it in mlx5 and enic device drivers. This > > replaces the binary NUMA preference (local / remote) with an improved one > > that minds the actual distances, so that remote NUMAs with short distance > > are preferred over farther ones. > > > > This has significant performance implications when using NUMA-aware > > memory allocations, improving the throughput and CPU utilization. > > Comments on V2 were addressed. > Please let me now of any other comments on this V3. Good enough from my POV, just waiting for PeterZ's re-ack since patch 1 has changed.