Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2473150lqt; Mon, 22 Apr 2024 11:39:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXfODfk3e+46Ztx+b+yevskS/5UPeWN0EAeixnp5BKIz1TvBmN1Rr9kmCOMIGYrVypyvG2EpuC6Igvbqhxb9Q02hjrEx4b5hKRuAMWYXw== X-Google-Smtp-Source: AGHT+IHRs+PBVAvKkbADajiZ2npD3wbgLteyQL6KoHRJx9O+t+QBA4QejPVvnJW2e+B4qJw1jVPL X-Received: by 2002:ad4:4085:0:b0:699:36ec:f30d with SMTP id l5-20020ad44085000000b0069936ecf30dmr10277331qvp.64.1713811158112; Mon, 22 Apr 2024 11:39:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713811158; cv=pass; d=google.com; s=arc-20160816; b=Hh93JSYaMUY7dJQfrTlEojsdoEDjDvg1Jp5N8vDQFsI5OleFPouLZ3Cmhm9dLIs8zN 53AxsLc2xRb2Cd+XH6au5BbeLdE/83CH33/bfynncX4tccMi7IPVR0LZianSkdEGxDQe lctQwRSsG0ZsmmKo7cgaukeuz2a1ii0r9CAGEZvEwc8VmsdA0k3DZJ+bOFHsk0PQHMVR 4EtUDa2wSl3lzC+6hV2Q4L8s3fb1G8rqTVCO/H/o836kqTPGYSScT3IJwECpZ9s3rSwI 8BRkTH+3EO8YK+BOnmqocbNtWUAYibvmw1mBiJ4TCSkZUQGnNWe/jiV+N3Zh492tG7nn YlAw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=nBrxHq3iXKjXVxAiTEH3avv4YKJ6lj757YoguXkdy5k=; fh=M0WwEey37nJ/SYOOxkDtiFbSjPkJ5IIPULWoP4Cx9VI=; b=eHXPYFcYWuvwNwjxs6fPvoBTPmDtbDZmoGPoXTuwUtdvN6PtikhPTXHFv1GoiHiy75 LJN0+75hrbZXlGGWWe6SgLnkcNAMogTs0RA4PUeA21gSzPQmH+xlAfaH1BK40Mub95AZ FwuX2Zc/GvYPcv0IsyV4Vf3c08bkYhLzHqSx+iYQZ4gvE312Y1KPZa5/EUXboMblV6f4 DeXVzgsG8fqFKiS8gPNWRbPwYXbYPAa4vkHnnO2GZ7zO+deL9mFAeZ5mSIX1URSyXEDh 1ZJbodgUfjDnvKKdnFKGId9KtO4tUWj5NPvKLXc/8KBil75KrESEi7eWT7W3pdUPMzRs gYkQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=Icr2fym4; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-153846-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153846-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id gf7-20020a056214250700b0069b242d5754si11088315qvb.99.2024.04.22.11.39.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 11:39:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-153846-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=Icr2fym4; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-153846-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153846-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id BF4061C20D35 for ; Mon, 22 Apr 2024 18:39:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A5A1A154430; Mon, 22 Apr 2024 18:39:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="Icr2fym4" Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 814B31DFFB for ; Mon, 22 Apr 2024 18:39:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713811153; cv=none; b=Pfjj1MnvOLT4SnQIvlrziVx7smaUGwWXmMnFLBHpNhDYbUAfhO1/f/swur6zV873n9i7qns9ujtHUezyEV9+mTQO/KJPBdzPlz+lwacV8p8QluzxltJTqTX/F5OCgt4umghC/xaNIW9U8Lf6RQz9ny1cGKfHbK8wCXf9gz4PPu4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713811153; c=relaxed/simple; bh=nBrxHq3iXKjXVxAiTEH3avv4YKJ6lj757YoguXkdy5k=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=HossSsLAsNGJ1YJcaSRh9djMEmZ4mtzKStMloLRgF3rViGhyE9Yv2Onqxhq6SRHwxxziQTMmK9lwvHxaj40mMnyNKQpqYT6b+ILD7sVjWoVZdMPp6U0kFS00KgJRjGUgxwink7YCTqquU836GSmM8ga7RfmpXSWNevt0GZ1Ice8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=Icr2fym4; arc=none smtp.client-ip=209.85.214.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-pl1-f174.google.com with SMTP id d9443c01a7336-1e44f82ff9cso17475ad.1 for ; Mon, 22 Apr 2024 11:39:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1713811152; x=1714415952; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=nBrxHq3iXKjXVxAiTEH3avv4YKJ6lj757YoguXkdy5k=; b=Icr2fym4OEI1uR0UhTZDD4NhP6FdSSBy1haTNiclJ1DUekgd1Jaj1cxHWzIeEnR1oI JxC8EQRsMflITxu7/wVYqjmQiZU3rrXjwg93QbLOEU8DyZGTCDV/vyaRtKVrRdpy20DD N390qt+n94CaYadjcUPwcPeBo+le9uxik7yaAtgXJE88n+/Xd4SvAeuwCL0tLvDuqqrn BFZWAGFcc6z1ccRFqOJgo5xI6Cb+S0z/T9Xgsl+xoubiUKjMLaKEYtUxuo+gcdXIavzV 9tkEXu+LQf82f1yRhEAq+EtryYkr/6ze33LGmRjJhvtomj60g27oisKKYdIvESDO/Yf+ Zvng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713811152; x=1714415952; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nBrxHq3iXKjXVxAiTEH3avv4YKJ6lj757YoguXkdy5k=; b=Rl5uAfhHBp0yHAnBmuHEoXebomVWjzGgFHn0NvLcoLS5ZJSSKYe1yY64lBRqgJ0qdC +d+XZmBC5eeS++Ha083jyKvd2+sfabNl+o1qLRZauHSRRxDSJlXX8uI8T5aUi9IP85SN sR++4cXjYix32ALrEH23ZvapvgsmUA/aLA7U9NS6mblPbvQpNkTcGNXNLESXRV4i+y3Y KJyktK0udNoC0yuKXDEy4YqrrxLBCo1oeyCEEDlOXCSrGJVxo2qSxhAXYtWbDMpJhHMt JaOsFi4I56keltVOeatH0vOqGF24GNjMK2AUy/otRWRJ46ItloJvTdlS/BIznQhcVar7 Exlg== X-Forwarded-Encrypted: i=1; AJvYcCVcEUaFk062DxPRYchim8b8zDAiwvqUjJzKGEONIQGTMpPOfjGLdeNoSBGaNe8e077Ttiq7MEHPZ7YxOTkb5IIu0QAKOKsUbzKX0nJK X-Gm-Message-State: AOJu0Yx2VvhHVqDMqkeebq5upBue2Wdu/59zqi+btVqIigxNfzo6fqX9 MKl7Iw8pybW1QilxFpKcOuHnU8SumrsLUIvf+LPbLZSxd2Zu++2XNQi8z7qWhtAp0P2Ed0sNtuA iHD+4GqbM2Gi8M9AEkfaAzXr0XUD19J62260y X-Received: by 2002:a17:902:fc4f:b0:1e8:88b2:17cd with SMTP id me15-20020a170902fc4f00b001e888b217cdmr29412plb.12.1713811151575; Mon, 22 Apr 2024 11:39:11 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240321165106.31602-1-james.morse@arm.com> <94c3bfd0-e221-46c7-86c4-f0545e66f17d@amd.com> <4cf859be-294f-4db3-948c-a96b5457a10d@intel.com> In-Reply-To: <4cf859be-294f-4db3-948c-a96b5457a10d@intel.com> From: Peter Newman Date: Mon, 22 Apr 2024 11:39:00 -0700 Message-ID: Subject: Re: [PATCH v1 00/31] x86/resctrl: Move the resctrl filesystem code to /fs/resctrl To: Reinette Chatre Cc: babu.moger@amd.com, Dave Martin , James Morse , x86@kernel.org, linux-kernel@vger.kernel.org, Fenghua Yu , Thomas Gleixner , Ingo Molnar , Borislav Petkov , H Peter Anvin , shameerali.kolothum.thodi@huawei.com, D Scott Phillips OS , carl@os.amperecomputing.com, lcherian@marvell.com, bobo.shaobowang@huawei.com, tan.shaopeng@fujitsu.com, baolin.wang@linux.alibaba.com, Jamie Iles , Xin Hao , dfustini@baylibre.com, amitsinght@marvell.com, David Hildenbrand , Rex Nie Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Dave, On Mon, Apr 22, 2024 at 9:01=E2=80=AFAM Reinette Chatre wrote: > > Hi Babu and Dave, > > On 4/22/2024 6:51 AM, Moger, Babu wrote: > > On 4/19/24 23:06, Reinette Chatre wrote: > >> > >> [1] https://lore.kernel.org/lkml/cover.1711674410.git.babu.moger@amd.c= om/ > > > > Do you have any more feedback on this series. I have few feedbacks from > > Peter. I was planning to work on v4 of this series. > > > > Babu: It is difficult to start drilling into the implementation before th= ere > is agreement on the interface. One reason you went through the effort of > the first few iterations was to accommodate Arm's use cases as we underst= and > it, but we need to hear from Arm if we are on the right track here. > I do hope that we will hear something in the next couple of weeks. > > Dave: Could you please check in if the interface introduced [1] is someth= ing > of interest to Arm? If it is not, we can proceed with the implementation = without > trying to consider how Arm may use/need such an interface. If it is, coul= d you > please let us know when we can expect feedback from Arm? Because MPAM implementations typically expose an MSC for each DRAM channel, there is an alternate strategy we can use for the monitor scalability problem: When a single DRAM MSC does not provide enough monitors to track all of the supported PARTID x PMG combinations simultaneously, the DRAM MSCs collectively may provide a sufficient number of monitors. Therefore, as long as the distribution of traffic among the DRAM channels is uniform (or predictably non-uniform), it's possible to estimate the total bandwidth with sufficient accuracy. -Peter