Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2887031rwd; Wed, 14 Jun 2023 08:30:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ViY+lq8eNses5Zj5M/Jp7dZc7djPIT2l3iisbjUapzh0uwXKdwWwEqiUB+GRzG75CW0en X-Received: by 2002:a17:90a:9106:b0:25c:1cf4:2be6 with SMTP id k6-20020a17090a910600b0025c1cf42be6mr1435566pjo.35.1686756620534; Wed, 14 Jun 2023 08:30:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686756620; cv=none; d=google.com; s=arc-20160816; b=XOQD8u/JdhJyLsUESlilS7swpoeIZAWlDNN8Q7Bo/E+MAbANrf7zHf2IlHAyInrqrm RF0u0rjqKewv/CYwqBq+xcXfOT+l2KwIKtG6MONs9SJfPgeMsgwhpAz7qNCuaEP81mdy s+kG9adqzfI5GLT3wwCK1A0lp0tcLDeuQ2lL2f0mROYpSFxJLUAquL4JIxWpDBYARv58 2vs9j1FdDvqW2LcyOT8pSg3oW8B0uettANlgZkGBAz9XKu16qwxpWbhmJQU/sdXpRFTs KP+EFvQIi5PwsJDCHqaISXaVeLUk1rQZ2TZ3+p2+hiA3xEuP6JYSLxGkQGB7923+7C9Y 37UQ== 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=UbFlhjvrs4yVUIifiHFAt8+Ke12wfSm4l9j/zsHycX4=; b=yk3hYQV31DMqXZG++3ToPxU9mHBPjrHkwCtm3Vn+hSyXAXhd2iKib1v+lVQOtuvuRm MqHKBsYZGIvYs2iDrDt10G7OX7sOJwQnBKsbCH3v9ig2dR5ZnF8fcJrRgKisrTwPOrSa X+IouGFUWWjH47AwNEVVHb+AiTcfs3Q4fcAE9oC1JISbAgHsl45jHvLK76gUqGjUXU2V W6JIOi51agWi/0jTC2qRkcq8IXBeE/NyGwmMuZCcDvGP08jb09bPU44MVy2iQyzTM44w X980TJMn63bvFNxKHtXuVylfwgWB0qXUHqYSrQvRdfNR+7Olf8ecGqBE5BAUiNjLNDD3 8ZZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=sg4IjbsC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t9-20020a17090a510900b0025bbe3f01ffsi3554353pjh.21.2023.06.14.08.30.05; Wed, 14 Jun 2023 08:30:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=sg4IjbsC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343624AbjFNPOC (ORCPT + 99 others); Wed, 14 Jun 2023 11:14:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343608AbjFNPOA (ORCPT ); Wed, 14 Jun 2023 11:14:00 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 821AE2101; Wed, 14 Jun 2023 08:13:58 -0700 (PDT) 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=UbFlhjvrs4yVUIifiHFAt8+Ke12wfSm4l9j/zsHycX4=; b=sg4IjbsCmgg1KldkL37VIqOk/v 0iaB3rRbD/ol+9WGiDHXY+cwG0257Tu8u3myIJlRD8+quu0f3VaibDaaxuID31a36RN+6mFlI0OMC JMmWXn7qZ8B/2Qmy6lIvU1bkREP+KcKZ3REG8NGt4hpY+RJ7mVRveS8D9Atz5/n84luLJHzfeZqYa iKpX9EtfJKKsTB6cNbve0WKvuqwRiGq43/fAysVvAOzXGJfWFSO2nkZYEnciOJTdUXHvBbhzBgplb Zg383lL3VMhUfDtn6ZxbPXK9t3d9fTAjsxunAtjdXNg+jtNRvgFqJLZU+cHfeQFt02PDubwFtCXuE 9GaNedfA==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1q9SBx-006SiF-U1; Wed, 14 Jun 2023 15:13:50 +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 E179D300195; Wed, 14 Jun 2023 17:13:48 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id CAC31240FDF97; Wed, 14 Jun 2023 17:13:48 +0200 (CEST) Date: Wed, 14 Jun 2023 17:13:48 +0200 From: Peter Zijlstra To: Chen Yu Cc: K Prateek Nayak , linux-kernel@vger.kernel.org, linux-tip-commits@vger.kernel.org, Tejun Heo , x86@kernel.org, Gautham Shenoy , Tim Chen Subject: Re: [tip: sched/core] sched/fair: Multi-LLC select_idle_sibling() Message-ID: <20230614151348.GM1639749@hirez.programming.kicks-ass.net> References: <20230601115643.GX4253@hirez.programming.kicks-ass.net> <20230601120001.GJ38236@hirez.programming.kicks-ass.net> <20230601144706.GA559454@hirez.programming.kicks-ass.net> <7bee9860-2d2a-067b-adea-04012516095c@amd.com> <20230602065438.GB620383@hirez.programming.kicks-ass.net> <20230613082536.GI83892@hirez.programming.kicks-ass.net> <3402dcc4-d52f-d99f-e6ce-b435478a5a59@amd.com> <20230614081757.GA1639749@hirez.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=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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, Jun 14, 2023 at 10:58:20PM +0800, Chen Yu wrote: > On 2023-06-14 at 10:17:57 +0200, Peter Zijlstra wrote: > > On Tue, Jun 13, 2023 at 04:00:39PM +0530, K Prateek Nayak wrote: > > > > > >> - SIS_NODE_TOPOEXT - tip:sched/core + this patch > > > >> + new sched domain (Multi-Multi-Core or MMC) > > > >> (https://lore.kernel.org/all/20230601153522.GB559993@hirez.programming.kicks-ass.net/) > > > >> MMC domain groups 2 nearby CCX. > > > > > > > > OK, so you managed to get the NPS4 topology in NPS1 mode? > > > > > > Yup! But it is a hack. I'll leave the patch at the end. > > > > Chen Yu, could we do the reverse? Instead of building a bigger LLC > > domain, can we split our LLC based on SNC (sub-numa-cluster) topologies? > > > Hi Peter, > Do you mean with SNC enabled, if the LLC domain gets smaller? > According to the test, the answer seems to be yes. No, I mean to build smaller LLC domains even with SNC disabled, as-if SNC were active.