Received: by 2002:ac8:6d01:0:b0:423:7e07:f8e4 with SMTP id o1csp6907315qtt; Mon, 18 Dec 2023 09:58:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IGS6PFAr3hhd0pik8+Rx+ySJwwJIoQuT4YPVwmJ9QA9wZIstNLUU9CojxGRHVnCBG4w/UQT X-Received: by 2002:a17:902:ecc4:b0:1d3:7707:8fb with SMTP id a4-20020a170902ecc400b001d3770708fbmr4821686plh.116.1702922288507; Mon, 18 Dec 2023 09:58:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702922288; cv=none; d=google.com; s=arc-20160816; b=bubbYNdh0aV7NtkZnsb4NBmMy8ZpNS1nBE9UEpz66XKC3V0siAeRUHFUBEPKsXEaYQ w6hkW2pCTh0f5WjPQKxXv6qa3k2cPrqeT/rhEV1sesFzoxC2qBLLQV0+Wdxdq+ISJJZ7 e8hwM5BLqZOCTkoUNzj/d39sTdStahD3gZTO64No1rUiLih8AFDttTm10IzksZBtfmkC xkCclPBWtqEJ1ttSxZuznQwoCU/2FvZq62TuA4nNSHwgvFSAP1+P7Mttfax3WAl1SVo2 wwIkCUEWfEvv3IvWvHB5reo67GcvpqeW18Irfl54Ykjm8WWlavv+rW1gUyibSwiz859T pIvA== ARC-Message-Signature: i=1; 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=Si/lj7TYrj1EQV7uvuIQU+/15baXlgXTB02ptVQd3Dw=; fh=ftBIC9a98D0C/MYFpAEArfJ3uS0oNQhRoYgw6pjJHpA=; b=sWnXerkQRsC7wSL9OxpQVwkUX3X081oS8aCO9G3aP/lPlNyL0hB/GAjBZOB2PJ4Gox ba4Hb/lN7QDKfMk4iGp6+vmCH5ZcTFCDa63ExB6b/9qWHT+DxtqzGTUn2cN9WazGtUDU i3IR9ME+OFpXUKqSL9grW2YKTvog4uTFLh1HTL1HInI/Z1Wz+Nsu8fIsuEg/PsDupm3N GY9corzp9DX4M28026gjSP91eZPjLaJ2jI2DUsTvqFrt8sOIprCCcJxMI2IfE4iF002x cfrfqfMZy8nXrleHwjU6uuwKCJ0RizFkViA1nJzc7+BA8UcG1oB2SY49S9uaV2JGbiUK qeXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@layalina-io.20230601.gappssmtp.com header.s=20230601 header.b=u2X8kVf5; spf=pass (google.com: domain of linux-kernel+bounces-4223-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4223-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d4-20020a170902b70400b001d052b098a3si18179885pls.537.2023.12.18.09.58.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 09:58:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4223-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@layalina-io.20230601.gappssmtp.com header.s=20230601 header.b=u2X8kVf5; spf=pass (google.com: domain of linux-kernel+bounces-4223-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4223-linux.lists.archive=gmail.com@vger.kernel.org" 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 5A16AB20E58 for ; Mon, 18 Dec 2023 17:58:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 598D35D72D; Mon, 18 Dec 2023 17:57:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=layalina-io.20230601.gappssmtp.com header.i=@layalina-io.20230601.gappssmtp.com header.b="u2X8kVf5" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (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 1B73143154 for ; Mon, 18 Dec 2023 17:57:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=layalina.io Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=layalina.io Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-40d1bcd93b0so8414275e9.0 for ; Mon, 18 Dec 2023 09:57:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=layalina-io.20230601.gappssmtp.com; s=20230601; t=1702922273; x=1703527073; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Si/lj7TYrj1EQV7uvuIQU+/15baXlgXTB02ptVQd3Dw=; b=u2X8kVf5CILKV+Hg//cH5KNrenUc983jedgAD5cvNLCH2nQrzwqh9SpCKYQk4IpWn0 +CkVA1mmwAZwL0oeCg2hEbI2BXXioxeKjd/g6L58dWopCrF17x8sH1+QTBOz++ElMj0A ApNdaP+J7XBem2qFdQjOyIkwXyUWyPEPQU0J1/f6BKaD39PpSg1/EDqCa9jmKjVlsVqD OqLjx3bG2LByu+Ek/RjoBUmb9i3G+mwyjYVn9R3hLvO6pFvnhDKg0R5Nyef+LwVxjZkX 208FaGlTeVX0XeuAoVR/yj202anBXnivkE8thD1ebXtl5Ihxg5uN0eh78uoOFR1AP/fY rgPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702922273; x=1703527073; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Si/lj7TYrj1EQV7uvuIQU+/15baXlgXTB02ptVQd3Dw=; b=IOHQddlKFU3vRnJE7e86gyGXQTa8VUzAgjjD5f+cx/X6G9lyOTVRqNnXMw83W1W3K5 TK1xinFitfrVw7pL4mrYAGbNl6RnGhUS006uMF7wc5hGKWIkpWLE6FMJc8IihvizR4j/ QmkNV0sjCeSw5OLxiZSrdkfrB4HfnQLET71VfgiQg9ZoBNTE/PNOg2JiX514jXdVwAEw 8u7oV/3xsAO+pE6gAbxCoGnXelNYqY5gzSeNyAWcKagE/2U3+k0W/nwS3okp6yH4DhTF ax6BsilmE5yFdE8kt+MTj34KLoYK4XS+u+rhfWG06yca3rhQV4woIbxOgSY+lFbaKKkg CZRw== X-Gm-Message-State: AOJu0Yylq+NP+1dr2nLYdHTonCFVHJBtLwXTB0v1Nb3R9v4vxO9tvMji szRHnv8dd+NC4ka40yfTRp7k6w== X-Received: by 2002:a05:600c:c1b:b0:40c:27af:2ac8 with SMTP id fm27-20020a05600c0c1b00b0040c27af2ac8mr9182228wmb.6.1702922273209; Mon, 18 Dec 2023 09:57:53 -0800 (PST) Received: from airbuntu (host86-135-101-43.range86-135.btcentralplus.com. [86.135.101.43]) by smtp.gmail.com with ESMTPSA id fl9-20020a05600c0b8900b0040b43da0bbasm43547595wmb.30.2023.12.18.09.57.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 09:57:52 -0800 (PST) Date: Sun, 17 Dec 2023 21:23:12 +0000 From: Qais Yousef To: Dietmar Eggemann Cc: Ingo Molnar , Peter Zijlstra , "Rafael J. Wysocki" , Viresh Kumar , Vincent Guittot , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Lukasz Luba , Wei Wang , Rick Yiu , Chung-Kai Mei , Hongyan Xia Subject: Re: [PATCH 0/4] sched: cpufreq: Remove uclamp max-aggregation Message-ID: <20231217212312.igyy5ydjwywmk5x3@airbuntu> References: <20231208015242.385103-1-qyousef@layalina.io> 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=utf-8 Content-Disposition: inline In-Reply-To: On 12/18/23 09:19, Dietmar Eggemann wrote: > On 08/12/2023 02:52, Qais Yousef wrote: > > [...] > > > === > > > > This patch is based on remove margins series [1] and data is collected it > > against it as a baseline. > > > > Testing on pixel 6 with mainline(ish) kernel > > How is the Pixel6 configured in terms of per-policy rate_limit_us and > response_time_ms ? Is this the now default 2ms and whatever the systems > calculates for response_time_ms ? Yes. > > Pixel6 is still a slow switching device, rigth? > > root 297 2 1 08:58:01 ? 00:00:13 [sugov:0] > root 298 2 0 08:58:01 ? 00:00:03 [sugov:4] > root 299 2 1 08:58:01 ? 00:00:05 [sugov:6] Yes. > > > == > > > > Speedometer browser benchmark > > > > | baseline | 1.25 headroom | patch | patch + 1.25 headroom > > -------+-----------+---------------+-----------+--------------------- > > score | 108.03 | 135.72 | 108.09 | 137.47 > > -------+-----------+---------------+-----------+--------------------- > > power | 1204.75 | 1451.79 | 1216.17 | 1484.73 > > -------+-----------+---------------+-----------+--------------------- > > What's the difference between baseline & 1.25 headroom. IMHO, we have: Baseline is the remove-margins patches as specified in the quoted text above > > This patch is based on remove margins series [1] and data is collected it > > against it as a baseline. The series were stacked on top of each others. Results from this run should be compared to remove-margins[1] tables too. > > static inline unsigned long map_util_perf(unsigned long util) > { > return util + (util >> 2); > } > > on baseline? This is not baseline. See above. > > By patch you refer to the whole patch-set + [1]? > > And I assume 'patch + 1.25 headroom' is 'response_time_ms' tuned to > reach 1.25 ? Yes. Which is done by multiplying the response_time_ms with 0.8. Cheers -- Qais Yousef