Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2030695pxb; Wed, 9 Feb 2022 09:25:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJwozsOLc1lVjlVpob4KRb6uuTGP3+mXQt5Fq19I4fk0Kk/ds6hGyFVy2eLO0jyMLMMSRyf8 X-Received: by 2002:a05:6402:42d4:: with SMTP id i20mr3714399edc.306.1644427547698; Wed, 09 Feb 2022 09:25:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644427547; cv=none; d=google.com; s=arc-20160816; b=w++2TPbWqK9K6gnb73JJZFDjg5OjKrxvrVXh0pWW7TykClqk/sT5D8TTQzxx3OgfNr Bmqe4RPvRnFBJ5RLb+E5EjX4g+EXeteT6VZz9SQUw4bHvv27VI6p2t+bR/2oQMa0SVNH ahFlIYir47Jght9Fcg/5rF1nsUTkQaBx73CevbDr/2JbAMMdeFUhQuB/H0p8WEuB3MTj vMLx15JeSuFDzidLo6EynF3Gdi0BVkyvzi48uzClnJS407Hm7LXEsVAcDV+4BZ9sVkd5 q6U3kXFVjD9CfXd8umiN8gX9pct6kItJoaY0+OKfdqGrzcimmKi+LzHbnPyjOWt8NaGy /cJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=x1X3FTuSVUcFvgRZ0OU8phylFC2Mu51rICaELBAjm9k=; b=OYm3upamNw4hb60IteF+2zswE3q/SVlmbeW7L1BTsOdjSpfkM1vWLNPA+dUsmLhni9 2678BksMyNXU533wP9fV+Ou+aeWZxCP5Dpzhrn3ym0xmuSX6NEGY9XKeGxgkqt1mtJgC V1Ie5Xq49YDiQLcxy0HkAMzpUT28tfllA6JiuH0r/9y+3keIdBIuhBLx6OfDeoxYQJnQ wnR+HNrCwp1dBmcqbGbX5yYG2EkiJzs84tL7r8cqzfaYguzYyPj3ZLcHYXhjn4IK9iqp qbVzbW1kr8eYIScUGjU72LIuWsgJj1oepDyxAWP2gw7TksJHLY2j/+QNd9vV+CqY5jfN Xrnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=kpRt0GF2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hd30si6882129ejc.198.2022.02.09.09.25.20; Wed, 09 Feb 2022 09:25:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=kpRt0GF2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238073AbiBIRUn (ORCPT + 99 others); Wed, 9 Feb 2022 12:20:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237948AbiBIRUm (ORCPT ); Wed, 9 Feb 2022 12:20:42 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0169C05CB82 for ; Wed, 9 Feb 2022 09:20:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=x1X3FTuSVUcFvgRZ0OU8phylFC2Mu51rICaELBAjm9k=; b=kpRt0GF2c01nPJfTN5hfVoqK1R IQ2StJwlrC3g4xcNYFTjF2XLMmHUCXHDVV5JCibebqwQvrz7/2P/nV6SlQAm+fbYEECtKh/4ftbTm KZgGNdDNhG6laaLnsHIHjqVvVDlZs+JaRDZeZCd7yVfFGLCin+4UqeQyJhPXP9zxdeXh7joOmwsFc 5CpibkVYtSTU99xuFU8trIxlV1OV2Clvrdg0VUivrxjgDXE259W1j6RGDYUAAamWfM65/Ha+kRt8n cPvY28SC3+SvLwFBLFulW91g7+JKmcAoio/JV16w0IQgoX5zFcM1utlVR3P51ZyNQir2clgJV38Wm nl8nSjTg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHqdh-008EMU-Af; Wed, 09 Feb 2022 17:20:21 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 8474430022C; Wed, 9 Feb 2022 18:20:18 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 6C2C5201BECDB; Wed, 9 Feb 2022 18:20:18 +0100 (CET) Date: Wed, 9 Feb 2022 18:20:18 +0100 From: Peter Zijlstra To: "Nayak, K Prateek" Cc: "aubrey.li@linux.intel.com" , "efault@gmx.de" , "Shenoy, Gautham Ranjal" , "linux-kernel@vger.kernel.org" , "mgorman@techsingularity.net" , "mingo@kernel.org" , "song.bao.hua@hisilicon.com" , "srikar@linux.vnet.ibm.com" , "valentin.schneider@arm.com" , "vincent.guittot@linaro.org" Subject: Re: [PATCH] sched/fair: Consider cpu affinity when allowing NUMA imbalance in find_idlest_group Message-ID: References: <20220207155921.21321-1-kprateek.nayak@amd.com> <20220209104625.GM23216@worktop.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SORTED_RECIPS, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 09, 2022 at 03:14:32PM +0000, Nayak, K Prateek wrote: > [AMD Official Use Only] I think you need to invest in a new mail setup. > > Where does this affinity come from? > > The affinity comes from limiting the process to a certain subset of > available cpus by modifying the cpus_ptr member of task_struck > via taskset or numactl. That's obviously not an answer. Why is that done?