Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4775203ybp; Mon, 14 Oct 2019 09:50:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqz5p8UUh1LNUNRI0WJWfQTqMid66syjlQzWtyWQEhEv85aml0AgUMKkhQ9XnokaLhXsILrQ X-Received: by 2002:a17:907:101b:: with SMTP id ox27mr15633869ejb.130.1571071809355; Mon, 14 Oct 2019 09:50:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571071809; cv=none; d=google.com; s=arc-20160816; b=VYubVdEIPeB9J2agrmCanCxcSZGrIDxvFI4dNDweQRc0ZyONYCFygf/3afwGAs7+eF PvMdDDfbKt8gOW/3eHJ/OoYaVF5udJG/mnCl9Y3FcH6kPGtTJpNSx5DvwWrYNyZz5A/c I7mwktr0naNeqJlQMHMKkh/78+T/UFyg3GqcomhP/MoxPyXERHtmRkFf5FnoXxzX3jGS 0NXhwI3h6NdlX9YuVvvz7fVc+pis1kDXwhGlYRr+icJ6fFi0OB3QRpla7QndTTuJKpgc OICRXcQn1DDy4mfyktgB0UwZOTD8Ug+/UQy9IplFJkcybcOLZULAIrTI9P64D33/A5XW JfcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject; bh=3kKyp1e2VBsqItc2aGusu7fK3iY8YDg46eQ6MimDMvk=; b=rYzNfgPGMvOZqVQfSFJL6pRDGrTTIMLVgJ6xuB/e0IxjiV09qKvvAWSuKFt4adgOFx mmzqi6XiyEzfWIKzJz9Bz+Hv7a+yN+jhzITWL72hBqL9Sh04Hqa58DVowha+lOeRrM4X XPaaeD2uCPk7GvdSQexsk3XYKYdWUEou03WnsdgA+BnnV0okXyo31yOowT+Hz9uEGeA4 EhGNaOexgSffbXQqmz2qbiw1B+/olR4LmwtCdxI15CmKCF4B1zkC0K8JQnvsBUttDK7F d6K965LaRRZ7sFL5euJvpkukFvtg3kMzR/wUe1kTTP6vkm47nOwsIsygwGnzxB4+LCwd MEAw== ARC-Authentication-Results: i=1; mx.google.com; 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 p15si12183549eda.294.2019.10.14.09.49.46; Mon, 14 Oct 2019 09:50:09 -0700 (PDT) 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; 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 S2387524AbfJNQQG (ORCPT + 99 others); Mon, 14 Oct 2019 12:16:06 -0400 Received: from foss.arm.com ([217.140.110.172]:48102 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729977AbfJNQQF (ORCPT ); Mon, 14 Oct 2019 12:16:05 -0400 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 35BAD28; Mon, 14 Oct 2019 09:16:05 -0700 (PDT) Received: from [10.1.195.43] (e107049-lin.cambridge.arm.com [10.1.195.43]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D1FF73F718; Mon, 14 Oct 2019 09:16:03 -0700 (PDT) Subject: Re: [PATCH] sched/fair: util_est: fast ramp-up EWMA on utilization increases To: Peter Zijlstra , Patrick Bellasi Cc: Vincent Guittot , linux-kernel , Ingo Molnar , "Rafael J . Wysocki" , Viresh Kumar , Quentin Perret , Dietmar Eggemann , Morten Rasmussen , Juri Lelli References: <20190620150555.15717-1-patrick.bellasi@arm.com> <20190628100751.lpcwsouacsi2swkm@e110439-lin> <20190628123800.GS3419@hirez.programming.kicks-ass.net> <20190628140057.7aujh2wsk7wtqib3@e110439-lin> <20190802094725.ploqfarz7fj7vrtp@e110439-lin> <20191014145218.GI2328@hirez.programming.kicks-ass.net> From: Douglas Raillard Organization: ARM Message-ID: <48adc956-77a4-e293-29d9-cd8b82a40ae8@arm.com> Date: Mon, 14 Oct 2019 17:16:02 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0 MIME-Version: 1.0 In-Reply-To: <20191014145218.GI2328@hirez.programming.kicks-ass.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB-large Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Peter, On 10/14/19 3:52 PM, Peter Zijlstra wrote: > > The energy aware schedutil patches remimded me this was still pending. > > On Fri, Aug 02, 2019 at 10:47:25AM +0100, Patrick Bellasi wrote: >> Hi Peter, Vincent, >> is there anything different I can do on this? > > I think both Vincent and me are basically fine with the patch, it was > the Changelog/explanation for it that sat uneasy. > > Specifically I think the 'confusion' around the PELT invariance stuff > doesn't help. > > I think that if you present it simply as making util_est directly follow > upward motion and only decay on downward -- and the rationale for it -- > then it should be fine. random idea: Since these things are much easier to understand by looking at a graph of util over time, we may agree on some mailing-list-friendly way to convey graphs. For example, a simple CSV with: * before/after delimiters (line of # or =) * graph title * one point per signal transition, so that it can be plotted with gnuplot style "steps" or matplotlib drawstyle='steps-post' * consistent column names: - time: in seconds (scientific notation for nanoseconds) - activation: 1 when the task is actually running, 0 otherwise (so it can be turned into transparent coloured bands like using gnuplot filledcurves, like in [1]) - util: util_avg of the task being talked about The delimiters allow writing a scripts to render graphs directly out of an mbox file or ML archive URL. This won't solve the issue for the commit message itself, but that may ease the ML discussions. [1] https://lisa-linux-integrated-system-analysis.readthedocs.io/en/master/trace_analysis.html#lisa.analysis.tasks.TasksAnalysis.plot_task_activation Cheers, Douglas