Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1872828ybi; Mon, 1 Jul 2019 01:54:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqzf3VJOKQRMvgqqq8IgL5LlRLe7cPHY1VxfGMCwV7bamJgUf+0Lfj/s/Q5QMT+nTxtp9w2B X-Received: by 2002:a17:902:2d01:: with SMTP id o1mr28424196plb.105.1561971279550; Mon, 01 Jul 2019 01:54:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561971279; cv=none; d=google.com; s=arc-20160816; b=DLn+ZfY3Rur1W+iWc1FFDud6nK1k9LLAJPQPYN0rchTjr07b4/1ub+wj5NMDqyThuK XaDgKy7gDMa4UBsvzHc8BAVx2ozw0NF0l9UC+6LLx3W/XOiVZOO9qB8OzVAGnCK6qyQB l7Uhu1Q6sdnEcSThs2XZHh4L1Cb/87Tj3J+In2vn9/L6hFpBzrKdeloBjBOoh3CAfWgD ba1YZEJ0RW9eYVYX8rtrDPk5HqwI8SiaYJXMmy+H65ZVA54cXbMX8cO52D5v3VtgqAmT 1CbSC2RXTgKlwzkgf8i1BwyTPLtrkQUJD16urpC1Z01C+5wAuSCCcx0gFJB+taHD8ONX fjhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=n0KdPtXdjwgYnnZj6dy9FGFDaj5DgHa5ZR6SuCr9dr0=; b=huxnLN/5m6M3/p/QcCLn0Gu37OyXJniGO5AezMAbF9WKy/pouCw4TzuEz32HtlHPng sbQynw/SicZ6z2sN4Nfi9hWzZSxbXv+4CODM+AcmTPYcOTuROZ+soLkX9FejyS0A17vh 959zgqxDrhzRz3DXpKeM6LbkHRaBVQd06Hee06WNz3FZJSXcP5hJGtSg84IGnDu0mQP9 hrKMTeBadPYXYLiw8G9ig/AaTl6d+Okmj3kKDUdKLsdzXV1jQ3M+OmcLmPabbrGqEfvj V/3OOLPze5O/BH7+rhv9E9TMh87E+KKNrOTszwvWQe4WXqP+seI6QFVzN9XKCdubNlUo QADw== 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 65si9993142pff.220.2019.07.01.01.54.23; Mon, 01 Jul 2019 01:54:39 -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 S1728173AbfGAIxz (ORCPT + 99 others); Mon, 1 Jul 2019 04:53:55 -0400 Received: from foss.arm.com ([217.140.110.172]:57808 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726442AbfGAIxy (ORCPT ); Mon, 1 Jul 2019 04:53:54 -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 025172B; Mon, 1 Jul 2019 01:53:54 -0700 (PDT) Received: from e110439-lin (e110439-lin.cambridge.arm.com [10.1.194.43]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 84D1C3F718; Mon, 1 Jul 2019 01:53:52 -0700 (PDT) Date: Mon, 1 Jul 2019 09:53:50 +0100 From: Patrick Bellasi To: Vincent Guittot Cc: Peter Zijlstra , linux-kernel , Ingo Molnar , "Rafael J . Wysocki" , Viresh Kumar , Douglas Raillard , Quentin Perret , Dietmar Eggemann , Morten Rasmussen , Juri Lelli Subject: Re: [PATCH] sched/fair: util_est: fast ramp-up EWMA on utilization increases Message-ID: <20190701085350.y5wrnatm3tscifkn@e110439-lin> References: <20190620150555.15717-1-patrick.bellasi@arm.com> <20190628100751.lpcwsouacsi2swkm@e110439-lin> <20190628123800.GS3419@hirez.programming.kicks-ass.net> <20190628141011.d4oo5ezp4kxgrfnn@e110439-lin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 30-Jun 10:43, Vincent Guittot wrote: > On Fri, 28 Jun 2019 at 16:10, Patrick Bellasi wrote: > > On 28-Jun 15:51, Vincent Guittot wrote: > > > On Fri, 28 Jun 2019 at 14:38, Peter Zijlstra wrote: > > > > On Fri, Jun 28, 2019 at 11:08:14AM +0100, Patrick Bellasi wrote: > > > > > On 26-Jun 13:40, Vincent Guittot wrote: Hi Vincent, [...] > > > AFAICT, it's not related to the time-scaling > > > > > > In fact the big 1st activation happens because task runs at low OPP > > > and hasn't enough time to finish its running phase before the time to > > > begin the next one happens. This means that the task will run several > > > computations phase in one go which is no more a 75% task. > > > > But in that case, running multiple activations back to back, should we > > not expect the util_avg to exceed the 75% mark? > > But task starts with a very low value and Pelt needs time to ramp up. Of course... [...] > > > Once cpu reaches a high enough OPP that enable to have sleep phase > > > between each running phases, the task load tracking comes back to the > > > normal slope increase (the one that would have happen if task would > > > have jump from 5% to 75% but already running at max OPP) > > > > > > Indeed, I can see from the plots a change in slope. But there is also > > that big drop after the first big activation: 375 units in 1.1ms. > > > > Is that expected? I guess yes, since we fix the clock_pelt with the > > lost_idle_time. ... but, I guess Peter was mainly asking about the point above: is that "big" drop after the first activation related to time-scaling or not? Cheers, Patrick -- #include Patrick Bellasi