Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp613164lqp; Fri, 5 Apr 2024 03:59:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXkcSV/HLIsWckaL+GHYGRqdrWYu4jJXl4lSS+b7VD7JpdEcz11LsdVOoFHPIQ9zNxY/zHWV/TL9cz0OVx5nPzo/pF16zZ6HWbRHTRDhg== X-Google-Smtp-Source: AGHT+IHT+Wh5xF74VpOkzKttTv/zsvIWZMumSHJ/Egb9qySgGviv8xgMMA16ffQWaV3og1LqQNq/ X-Received: by 2002:a05:6a21:86af:b0:1a7:337a:1d51 with SMTP id ox47-20020a056a2186af00b001a7337a1d51mr921277pzb.56.1712314782902; Fri, 05 Apr 2024 03:59:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712314782; cv=pass; d=google.com; s=arc-20160816; b=pzrrbaVVR53/KMeon7PY4pr+fmB9wBmyHvXtpaPGlGVTZYtP6RNYxnWafh/0Vz8ysX mQAlD/tl8SB1Uh5jPlWqCiXEf/4Zs5C2GNMgzkfTpI2l6Cuvi1pap1H0DNPt5+51BnvN VNipWexUDKHIyeF4eQzKALTNdSWCbLrt5dTUqt0MqNOPlOpbBK0ghWee7+NFErAsnmg6 Exj0Qos86h9vjI8YOkb5Rwbvec7RgolLPVGleO+fypO4f7nESFe9TvZJGWYoOTwAYUvs 1NQ0FFw7h9WxrEr0wO/fYVGVoDBMIfun06jTUK6nfjvspykeePdrdSnXkcZ6vMUhNGRz Jx0Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=LAni3tcFQ6UX0HGx9uGEJwAXeK4J+gwfvjtSFhB+g6g=; fh=8deo2pGrNZC+CBmQJTLJO7nfdpnrI+945JnkiKCPHaY=; b=E2Buyfems5+uCkbjR76iysLHhX7OQ7CNNCMiBtsToLlpiKfHJO9BsY/K/uYMhDUYP+ 7bMbW4XSbpdouJvNQiqq9EcMNJ0P4TNJCp/18ubJ13mxGQKFyyg+ox69ZLtMZw8T3GUg /Xh50W9ddkV9LBYrztQgH6CzI+QCEZm22CA5YR+jo/Gn8wSKUFGYJg/Iud2DbC9YJuBJ J/JzrCiuk9N1bCl/Yj2hcC+AbNrnfcUS1lf6/cT6NxliszkfrvW5v0cSXrld1x0KhW57 3g5JY51tao2yVWiGB21CJDeIKpdt7s4tQ8CbuBNA186a5HhhwxAQDzlXjheR+rBrjEO5 oapQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-132868-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132868-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id p23-20020a1709027ed700b001e215883ff4si1131770plb.516.2024.04.05.03.59.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 03:59:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-132868-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-132868-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132868-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 482DEB22A47 for ; Fri, 5 Apr 2024 10:59:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4BF7816ABED; Fri, 5 Apr 2024 10:59:09 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3F89416ABE0 for ; Fri, 5 Apr 2024 10:59:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712314748; cv=none; b=gSQeHlyOYYjYfiy1kFRkisBYYkY1+/kQeCDAD/Mcmq5JUmzzjBabeb0TBtnOmzIkfWPXBAyLVRvlrcgYTDhoY4NVfMx9KtNOSd9tcyOlNmH4GRxXHSMIhfPEvJDZM5H1zB0KXDfbOsR61dtJzKPnRVQtpEX7nWo4wlhQ8tY1zZg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712314748; c=relaxed/simple; bh=1079wHou7MlgPZHBmpYDnM+oXgcgUBU2LPo1/2MD9ho=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=JCBt/ONFCLOKqk9jpsoMdcKmbXFxOnvYv4WiMSKjiPsETqUZxlsZYyANrLBd5e37HDZBA42KY9121lPxMvth2dh+9dWprH4bQ1qyBX8nBKDUXD4o7MYBdSH455QqZ3L5PxbBdg9r7M2nagSRbT6wZ0Xs5436MR1En8u+Fy2uOao= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E9D3DFEC; Fri, 5 Apr 2024 03:59:35 -0700 (PDT) Received: from [192.168.178.6] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 644B73F7B4; Fri, 5 Apr 2024 03:59:03 -0700 (PDT) Message-ID: <3e2558cf-6b25-4e1b-92ab-a248cdf7b271@arm.com> Date: Fri, 5 Apr 2024 12:59:02 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 0/3] sched/fair: allow disabling sched_balance_newidle with sched_relax_domain_level Content-Language: en-US To: Vitalii Bursov , Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider , linux-kernel@vger.kernel.org, Shrikanth Hegde References: <3bf726af-e519-4cc2-a692-19a0cf99fca7@arm.com> <87543226-1edd-4692-84b5-31bac9cb0c5d@bursov.com> From: Dietmar Eggemann In-Reply-To: <87543226-1edd-4692-84b5-31bac9cb0c5d@bursov.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 05/04/2024 12:25, Vitalii Bursov wrote: > > > On 05.04.24 12:17, Dietmar Eggemann wrote: >> On 03/04/2024 15:28, Vitalii Bursov wrote: [...] >>>> ====== =========================================================== >>>> -1 no request. use system default or follow request of others. >>>> 0 no search. >>>> 1 search siblings (hyperthreads in a core). >>>> 2 search cores in a package. >>>> 3 search cpus in a node [= system wide on non-NUMA system] >>>> 4 search nodes in a chunk of node [on NUMA system] >>>> 5 search system wide [on NUMA system] >>>> ====== =========================================================== >> >> IMHO, this list misses: >> >> 2 search cores in a cluster. >> >> Related to CONFIG_SCHED_CLUSTER. >> Like you mentioned, if CONFIG_SCHED_CLUSTER is not configured MC becomes >> level=1. > > Previous discussion in v2 on this topic: > https://lore.kernel.org/linux-kernel/78c60269-5aee-45d7-8014-2c0188f972da@bursov.com/T/#maf4ad0ef3b8c18c8bb3e3524c683b6459c6f7f64 Sorry, I missed this discussion. I thought that SCHED_CLUSTER is based on shared L3 tags (Arm64 kunpeng920) or L2 cache (X86 Jacobsville) so it's similar to SCHED_MC just one level down? > The table certainly depends on the kernel configuraion and describing this > dependency in detail probably isn't worth it, so how the table should look > like in the documentation is debatable... [...]