Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp620801ybv; Thu, 13 Feb 2020 06:43:03 -0800 (PST) X-Google-Smtp-Source: APXvYqyp3PRWKWANXJYgj5pvl0pNVChe8CQTfw/NISqmuwqPNcLO9HBPXM0fqBprMMcHixGqdhIm X-Received: by 2002:aca:5746:: with SMTP id l67mr3216662oib.60.1581604982924; Thu, 13 Feb 2020 06:43:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581604982; cv=none; d=google.com; s=arc-20160816; b=Ip2qMTmXnFQxRQ5qPpg2MPRqP9nhYjQwBsG9lKzU6JfB3KXe5uUonML23FwyOpM/Qn GFGKMrQpbLH+wNI2LCF+XRQ0HE9wCr8CzRKgQGJkPSYO6bcYbDulyb+tWwVraAmNusPq XlnjfO3LDP6GWZdUDS0JEqGuF5373IycN8gT0CAOWkEXe47o6B51XSuXts7dH5jcqD+Q +FwiSdDQgKYs+e0JQ26rI+owtz0EAIF4aaTSlnvha3xUpqAgIaDqEVjF7vBr5DgZwtUe BWjzrmdMwoDXZvaXBnrGqPEh2xcirAcLzaFCfgneF757bINdTi2D5nkaRA0yUvyEPI6E dpqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=J779YON9uXVRro7BGK0tXhP/Oo0gi4GUYBiuHQyaVyQ=; b=xdUPCwY5oN3PT813uHYjgPm7yYKgKuWoTsp6Ta8qbB7r52dpBg/I3d35oqeS3DGARh sTgezweoHYHPD76RdDuqgN5/6kS0W3R6mcWBy4sEzX2PmIVPVbhJ/MHGFZZBTgK8Zi2U WBt7mS/H6DGE0YW5c76nGDUpq6OTVit5RsFIEP1ppsRKxcGYZmpgKin5El0uj02AXdtg a0q9GuDptcvRgHP6XsaubfuRJHHr3p1C2MWmDPLNcXwIIjKL/ckj3rzeg37UtQytoKHh oSYp5IR56IqZmolVRYk9FX76TXn+nVZ8wq45Q9tdzqwv7ydkcsw1DLwgIQWCKm/dmxSe 4Wag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@verdurent-com.20150623.gappssmtp.com header.s=20150623 header.b="0Jqzg/8j"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v5si1171143oix.197.2020.02.13.06.42.49; Thu, 13 Feb 2020 06:43:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@verdurent-com.20150623.gappssmtp.com header.s=20150623 header.b="0Jqzg/8j"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727519AbgBMOld (ORCPT + 99 others); Thu, 13 Feb 2020 09:41:33 -0500 Received: from mail-ua1-f65.google.com ([209.85.222.65]:37077 "EHLO mail-ua1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727347AbgBMOld (ORCPT ); Thu, 13 Feb 2020 09:41:33 -0500 Received: by mail-ua1-f65.google.com with SMTP id h32so2339182uah.4 for ; Thu, 13 Feb 2020 06:41:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=verdurent-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=J779YON9uXVRro7BGK0tXhP/Oo0gi4GUYBiuHQyaVyQ=; b=0Jqzg/8jS7q/m+anLQFA3dl6edVyzN8qWuUewX72bM3z20R7TvJQccuuP6dpk8Ll+7 RLSq3uIaZYp/aZtHiIa2pBmUHjLXDYxV7IzZClCGjGtDkiAXXMDaPM9GfFXAUrj8cGxj 2rcr2dFDr+SudUCQY4fBdWwwmsmkf/15Lj5TemSVZw/LXxakLqC6zlogUK+LOajAkOX/ p8XgRKJPcuW5YbuYvBgeUR4toRCNm32JtHeKyRsFhbiFJQspnejUe4LAUTwnGWnmQlXV lxV4Mq2nu1HfGwXRqV2tPy6zjyeM4pv0epldQyNBAAA9yRNfWZoUNLaJTGe5mEVZtZQY uzkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=J779YON9uXVRro7BGK0tXhP/Oo0gi4GUYBiuHQyaVyQ=; b=U25Y4zYMKFFE3GJMD8rCbyxQoHLAubXe2IcpXM6z6yZ2haMy45uNtqySfPlOxNSp+R f7AScer0rUBijZjp80Yp6Bt8cXdRut07b9DsdwUQPhQgQJfvYf5T9NehPphau1Zum+nr k6pTzun1M5tUzoLB62JYu8BTtcA5kW8/Xm5aQnJxp+Q1iVtbAsIaSzVghpDrD7R75lm9 EyvXRMW+T0dySbTUmE3W3Wk1mj5+sJNERrg3jI7G51FxyQs0hE8WXXqEfdQnZEN8honw rh669PIYLPzW5gSLHC8fCLoylQWu0+VyLghxBiRafl4RnRm08FxZOqKanrMcDFUmkkvA MTmA== X-Gm-Message-State: APjAAAUjfQhCC73+pruEsEM7Fxc7qy4LiERDvvDrC1eq25GBASo+zJaT YLD0QMoJ+ugCUlBRkI+dLWIPFatCDA6lYlJHNY1A4Q== X-Received: by 2002:ab0:7653:: with SMTP id s19mr7502074uaq.94.1581604890615; Thu, 13 Feb 2020 06:41:30 -0800 (PST) MIME-Version: 1.0 References: <1580250967-4386-1-git-send-email-thara.gopinath@linaro.org> <1580250967-4386-2-git-send-email-thara.gopinath@linaro.org> <5E455919.5090506@linaro.org> In-Reply-To: <5E455919.5090506@linaro.org> From: Amit Kucheria Date: Thu, 13 Feb 2020 20:11:19 +0530 Message-ID: Subject: Re: [Patch v9 1/8] sched/pelt: Add support to track thermal pressure To: Thara Gopinath Cc: Ingo Molnar , Peter Zijlstra , ionela.voinescu@arm.com, Vincent Guittot , Dietmar Eggemann , Zhang Rui , qperret@google.com, Daniel Lezcano , Viresh Kumar , Steven Rostedt , Will Deacon , Catalin Marinas , Sudeep Holla , Juri Lelli , corbet@lwn.net, LKML , Amit Daniel Kachhap , Javi Merino Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 13, 2020 at 7:41 PM Thara Gopinath wrote: > > On 02/13/2020 07:29 AM, Amit Kucheria wrote: > > On Wed, Jan 29, 2020 at 4:06 AM Thara Gopinath > > wrote: > >> > >> + * Unlike rt/dl utilization tracking that track time spent by a cpu > >> + * running a rt/dl task through util_avg, the average thermal pressure is > >> + * tracked through load_avg. This is because thermal pressure signal is > >> + * weighted "delta" capacity and is not binary(util_avg is binary). "delta > > > > May I suggest a slight rewording here and in the commit description, > > > > This is because the thermal pressure signal is weighted "delta" > > capacity unlike util_avg which is binary. > > Sure! Will fix it. > > > > > It would also help, if you expanded on what you mean by binary in the > > commit description and how the delta capacity is weighted. > > I don't understand this. Binary means 0 or 1. So the value returned by util_avg is literally 0 or 1? In which case ignore my comment. I'll read the math again later. > delta capacity is time > weighted, i will update this. Thanks.