Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp107060rdb; Thu, 25 Jan 2024 09:29:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IFX9RjGoaQH9drRLOCWC6HGaP/AxORx3Dv2iXojEnIDXhMDJ1+B0g/rPsmaJwcPWJgHfO8P X-Received: by 2002:a05:6e02:531:b0:361:9671:5f62 with SMTP id h17-20020a056e02053100b0036196715f62mr34212ils.109.1706203796178; Thu, 25 Jan 2024 09:29:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706203796; cv=pass; d=google.com; s=arc-20160816; b=EZCqPRw7Yfr/9vDP32hk+YR+bSoNdX9haIzCLo/qGRmDWZl8EdqfU0PU7T+I+UyAUz 9JhxeYKIG9JliNV5mJUuZWMrmMikbc7b9sGuNXsyPJgt94GNHxHlxDe4yaIQecrjj0AB DHAFfUJE3sEM45uGsIs3SPWIYnpCM8vpHq5c9q9KIiAR0rKxMEtxIhHIh9faBUn9vaMW qeigqJ+ytetR69doymiqZ57kztCLd8kfiQzcB6Bht5U6AcjTL8CyujgY5aRKQFMJupgG 49Uc1hVYE4Tb6/qkZUcBTuwZpfqywJW7hf1C06Es/qQxe/l+K4P3jLNPJ7GrNhfkzPyL rJhg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=sSb/mAoZZvTjMayStHB09HdhuAnhP30tJxsjOjmnkdc=; fh=+g/shViA7lWCqTvT8RzTh/8tf88rRJ5VnO+t0+PoBq8=; b=BI2fALN4y3v7uL8TkE3KMowzvQQjwFw8Pud3ZAgYSFaw5eOnAGRfy+8GFFatqBfLZf JUbHGx/U1m1bPN3NfQF0+oTamxhZd9v8JErRc2YwrFAfZrfyjRtw9ppqAIzlpocw6lQV BgfiNQVW5ZCHFOS4s18T+qfLWldncrWIeTAbnXGusjIFYlkquiZ4p8TGX98Kc+QlxYwH D56mMO0tWYOP8S0it06/+6cN4M7JiRSDKLEdA8kQdRQAGXIK8FIBr67yc+lzsFI/de1E CNkyrrbsuY1e9QtZyvY1pgaPF6xM0pYjdW5/f1vDtQVQLM+tr64Z1ApSF3JAJrSJUdaH 8v0Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=QtsGlLRx; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-39038-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39038-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id ca14-20020a056a02068e00b005d760d1af1csi182851pgb.460.2024.01.25.09.29.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 09:29:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39038-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=QtsGlLRx; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-39038-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39038-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id C893A2976E1 for ; Thu, 25 Jan 2024 17:29:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4230A130E5D; Thu, 25 Jan 2024 17:29:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="QtsGlLRx" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 953CB4F611 for ; Thu, 25 Jan 2024 17:29:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706203789; cv=none; b=AFb+Z1rJR11PKPN+iKLOIR80Jki2Whr/6ghDKRm/CBdE6SsXCRJlZE125XwIyhk6VgGZiQNWEFof+LxuR852/eAeOrILRPp7uuIXzcKyaKhvLF9bHXSZiGh6By0/+1OJukg/izQP4JIE9LhzldJLDvIK7jOIWKWvwdUH4gbKAvw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706203789; c=relaxed/simple; bh=rg8k8DSz99hlQQsXagfNAy+1dYhgiafR464X4FhdLDE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=YlycNbAzQD2zVvdJ6+7TEnBi3MxAVZp8+ZRMlJ8kUHyN/USN9opx36eiLRK6/rUZkpCGm827nN0KaZR5Z608hakI4y01kRIGqSVjQ3l1ujIsBCvbcHD++MCu2RUSsH30nJl7164+o8JlrUYRx7vW+fbZp7Nmgx95CKkXSeCe5po= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=QtsGlLRx; arc=none smtp.client-ip=198.175.65.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1706203787; x=1737739787; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=rg8k8DSz99hlQQsXagfNAy+1dYhgiafR464X4FhdLDE=; b=QtsGlLRxEO77KUILpnmUbUPEBo9fuYajusHFn2O4MFZSKpATWhbUGSiD ScQZlqn0SQx6l2ies8kpiPCRCBLANlP5+iClQJEgu0tXUD51s8jXPYaPb COta2gZl2EGuBmPWA9SceaVnI4aWSAXV+mhA40uz1xMvjaEXDgK6xEMbf 7IDD8sS5n2i4wABfXQsZdkDbc6XwZewOTRqtloC8T8Fa35DCuD73pPJK0 aXOAflryp1PvUBtO61kVKj8Atwix60tl2OTPENchco++Jixb28qDwtP+a bDM02qBswi5ByqK/fHp2iSM/lb9HwGC3+eAyFRtUclensmYPl8ibWz/OY w==; X-IronPort-AV: E=McAfee;i="6600,9927,10964"; a="9613309" X-IronPort-AV: E=Sophos;i="6.05,216,1701158400"; d="scan'208";a="9613309" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jan 2024 09:29:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,216,1701158400"; d="scan'208";a="2303822" Received: from agluck-desk3.sc.intel.com (HELO agluck-desk3) ([172.25.222.74]) by fmviesa005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jan 2024 09:29:40 -0800 Date: Thu, 25 Jan 2024 09:29:39 -0800 From: Tony Luck To: James Morse , Borislav Petkov , "Chatre, Reinette" Cc: "Yu, Fenghua" , Peter Newman , "x86@kernel.org" , Jamie Iles , Babu Moger , "Shen, Xiaochen" , "linux-kernel@vger.kernel.org" , "patches@lists.linux.dev" Subject: Re: [PATCH v2] x86/resctrl: Implement new mba_MBps throttling heuristic Message-ID: References: <45d2891e-989a-45c9-a527-8b14ff5f8748@intel.com> <20240122182121.GBZa6yIYPtHQx44EU9@fat_crate.local> <11fc82e0-961f-4c8d-844f-ad4b99067eb3@intel.com> <20240122184755.GCZa64W02KXyeaVXJg@fat_crate.local> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Jan 23, 2024 at 04:29:42PM -0800, Tony Luck wrote: > On Tue, Jan 23, 2024 at 05:07:50PM +0000, Luck, Tony wrote: > > >> I need to grab an SNC system to re-check that everything still works when re-based. > > >> But right now, this looks like adding the SNC series will be easy (famous last words!). > > > > > > Once you're ready - can you point me at something I can use as a stable branch to rebase onto? > > > > I'll be running the tests this afternoon. But I'm somewhat confident that they will pass. > > > > Tree is here: git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux.git branch "hopeful_snc" > > > > Commits are: > > > > 793635f10aeb x86/resctrl: Update documentation with Sub-NUMA cluster changes > > dca7ba785d6f x86/resctrl: Sub NUMA Cluster detection and enable > > e41bd88101c8 x86/resctrl: Introduce snc_nodes_per_l3_cache > > ccbab7875197 x86/resctrl: Add node-scope to the options for feature scope > > 2f0db8c7072b x86/resctrl: Split the rdt_domain and rdt_hw_domain structures > > 22697627cc5f x86/resctrl: Prepare for different scope for control/monitor operations > > f3ff831a9042 x86/resctrl: Prepare to split rdt_domain structure > > c0679868ee78 x86/resctrl: Prepare for new domain scope > > 327b4394f309 x86/resctrl: Implement new mba_MBps throttling heuristic > > 5b14817cf87e x86/resctrl: Read supported bandwidth sources using CPUID command > > 5699cd082e1f x86/resctrl: Remove hard-coded memory bandwidth limit > > 1b908debf53f x86/resctrl: Fix unused variable warning in cache_alloc_hsw_probe() > > > > Only the last of these (1b908debf53f) had been accepted by Boris into TIP x86/cache > > when I cut this tree yesterday. > > > > Two more applied by Boris today without any changes from what is in my tree, but the > > commit IDs in TIP are obviously different from in my tree. > > > > 54e35eb8611c x86/resctrl: Read supported bandwidth sources from CPUID > > 0976783bb123 x86/resctrl: Remove hard-coded memory bandwidth limit > > > > All the others have the normal risk that Boris will find some way to make them better. > > All my SNC tests pass. So this tree is as good as I can make it. > > Boris: After you take/reject "x86/resctrl: Implement new mba_MBps throttling heuristic" > in TIP x86/cache I will post v14 of the SNC series rebased to that TIP > branch. Boris, I got the tip bot message that you have applied: c2427e70c163 ("x86/resctrl: Implement new mba_MBps throttling heuristic") I see that you also applied: fc747eebef73 ("x86/resctrl: Remove redundant variable in mbm_config_write_domain()") Does that empty your resctrl queue except for the SNC series? If it does, then I'll rebase SNC patches onto TIP x86/cache. -Tony