Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3056615imm; Mon, 28 May 2018 23:33:55 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI0GyU/Ijh7QkYANqTsuAnJGGYALsQKhKdhzHx0VZSAPzbtOGCjj0hwtx7FBTzPahr+qDKK X-Received: by 2002:a62:ff1d:: with SMTP id b29-v6mr3650770pfn.181.1527575635236; Mon, 28 May 2018 23:33:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527575635; cv=none; d=google.com; s=arc-20160816; b=KGrD2iUEg8tkHzb4F9ko9VSujdkTIt3s2qEnxFQhEluWSt8cpsnqYagggpa4joTN+3 /EB4EqQTcF9bbw0fTjHvbGK6rQB75qSS8hxCE2oznAlNW9EZnVzhESsOTDD/NmmfNF3C cU5JZLRYNoeyNPw5rw9uyWfpz8iocZe1xV5t/ZsfS2Ijer1Xh5iZZDWL4nSJNR522uGj 2XcFOLUvJFaSg8OBATmpn/FguRA3/KjzyxVu9p4XucMnxZgbqwUi60KrBrmahNYV/3ZH Es8RVOXevVWONoHi7Rfd5mSkLM8mGPwYp84bMYKqQEChICjjgU34wmm0mRNB/YGmX6yu 7oXw== 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:arc-authentication-results; bh=O66CIvrqxnfINxqn3mV7SuXMV0BhqO5hfd5noW8ls+o=; b=o6MkHRisIMtcDb/eEcT+edIvgddZn+mE6OpELVOSZqgOJi4sg3QUUlFyAVPITqcdjV +QfynN26gpTeZvktUPpvVqd2LvawwMGh/JMbAqMuUJJ8mWrQHYiSRIu0ycnjH7t1h2YD +10BKPyHJ0ffWtCM3iheQvFMDdKdj03tPH3z7bo3LpHubXclbT3DRPEdDHkcdpSiKCxP AtlThfeY/RhcFqnyOFe9dmSwynXrtmTHBYCQQ3POpua7fIgEQzpb6UFXuL5kv8KDJ8SS FFtITLGTtpJ/nw+GnOLcjJKP7uQ+Z4Z9XgncGbsuB4JEwBGNwmSslLdduICeQswsoYdW o9ww== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b96-v6si32624337pli.172.2018.05.28.23.33.40; Mon, 28 May 2018 23:33:55 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754673AbeE2GcF (ORCPT + 99 others); Tue, 29 May 2018 02:32:05 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:38583 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754466AbeE2GcD (ORCPT ); Tue, 29 May 2018 02:32:03 -0400 Received: by mail-wr0-f194.google.com with SMTP id 94-v6so23419780wrf.5 for ; Mon, 28 May 2018 23:32:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=O66CIvrqxnfINxqn3mV7SuXMV0BhqO5hfd5noW8ls+o=; b=UairH0FMnKR887Jmvc7zUriMe3a7Ilnxvs+deZMvq+WXmn47zewwiYv4lgDkHgAbbV 92RdYgV9Yg4YrZZ9yJt51jzo+DNOHcNU6EJ+LsMD0kvOKde0LSOMpO842PWBDu00Gcqr 4EtUAbgsHtx/7ah6AQBDlNOrh3OkTBKRkj/xpI/ESYN0G+wOM4nttssmS0r0IB0O6q7I n5r+XUtOrY6TKgTyTgBz1YSnwL5/lsU4hkE+TyEztd+Kcg+oBoVgGVHrmV7SlNYw1Ruw buEig+hlO3/6CwbqLe4rtjANQIFKzFwKpxWC5Zwt7XUpFtmNNg65bu8qFZ8lxhx9xlXa GBSg== X-Gm-Message-State: ALKqPweU+BoRlTXaFxv61zEEAur7JlVlb8EQpg0aEvkhMMXAxpv4R4iX 64Sts/Hc08062Z9rxEsYfJFCz/Cihko= X-Received: by 2002:adf:85b8:: with SMTP id 53-v6mr13791993wrt.31.1527575521909; Mon, 28 May 2018 23:32:01 -0700 (PDT) Received: from localhost.localdomain ([151.15.207.242]) by smtp.gmail.com with ESMTPSA id a185-v6sm12833307wmf.30.2018.05.28.23.32.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 May 2018 23:32:01 -0700 (PDT) Date: Tue, 29 May 2018 08:31:58 +0200 From: Juri Lelli To: Joel Fernandes Cc: Vincent Guittot , peterz@infradead.org, mingo@kernel.org, linux-kernel@vger.kernel.org, rjw@rjwysocki.net, dietmar.eggemann@arm.com, Morten.Rasmussen@arm.com, viresh.kumar@linaro.org, valentin.schneider@arm.com, quentin.perret@arm.com, Luca Abeni , Claudio Scordino , Joel Fernandes , Alessio Balsini Subject: Re: [PATCH v5 05/10] cpufreq/schedutil: get max utilization Message-ID: <20180529063158.GB8985@localhost.localdomain> References: <1527253951-22709-1-git-send-email-vincent.guittot@linaro.org> <1527253951-22709-6-git-send-email-vincent.guittot@linaro.org> <20180528101234.GA1293@localhost.localdomain> <20180529050833.GA226378@joelaf.mtv.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180529050833.GA226378@joelaf.mtv.corp.google.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 28/05/18 22:08, Joel Fernandes wrote: > On Mon, May 28, 2018 at 12:12:34PM +0200, Juri Lelli wrote: > [..] > > > + > > > + util = max_t(unsigned long, util, READ_ONCE(rq->avg_dl.util_avg)); > > > + > > > + return util; > > > > Anyway, just a quick thought. I guess we should experiment with this a > > bit. Now, I don't unfortunately have a Arm platform at hand for testing. > > Claudio, Luca (now Cc-ed), would you be able to fire some tests with > > this change? > > > > Oh, adding Joel and Alessio as well that experimented with DEADLINE > > lately. > > I also feel that for power reasons, dl.util_avg shouldn't drive the OPP > beyond what the running bandwidth is, or atleast do that only if CFS tasks > are running and being preempted as you/Vincent mentioned in one of the > threads. It's however a bit awkward that we might be running at a higher OPP when CFS tasks are running (even though they are of less priority). :/ > With our DL experiments, I didn't measure power but got it to a point where > the OPP is scaling correctly based on DL parameters. I think Alessio did > measure power at his setup but I can't recall now. Alessio? I see. Thanks.