Received: by 10.213.65.68 with SMTP id h4csp1437745imn; Mon, 26 Mar 2018 07:32:34 -0700 (PDT) X-Google-Smtp-Source: AG47ELtWP+Qf1j1mpmf8fC4gGQPSm0qU/E2fNFfftr+1H3JhiK0zXEfkepDb1+FgTBrLmYYQMKxF X-Received: by 10.99.49.19 with SMTP id x19mr14756545pgx.250.1522074754819; Mon, 26 Mar 2018 07:32:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522074754; cv=none; d=google.com; s=arc-20160816; b=AqrEd6b6BMcUuSiEFageSCnOoPHqTGcQT1s3HlNZNhLB2W2Rk4syFVGr7fWHqr/wqy KbcCqU3ODaD+FmFK1WkVC68lMQ88Jqm4SFcZCUFxCTHsesAORt5TmAz/QneY+Z8kD097 dEvZL8gOEZsa55JVlwXeNZt78a1WyumgrYtR4BloVQSvfUZfggr+hda50yRZRhJE3Mzg w7PFoXqD69bS5v+BIPOM+2PG2JhKYMkv2pxf1iC+6qDy7AlWQkaVyl3K57Hy/z7JDx0z TtbFGBvOd9Md9HcqzXVUI/jKLH9oc8AvWh/ltI2LMi8PCY9aMbM7rC2Arkbop1PAnQFo J5uA== 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:dkim-signature:arc-authentication-results; bh=yaaykYyWWlWSCsGIKjrbcjCu0CjxpAzPqZnAdGFnhos=; b=IWUp3PGx5cWkQW90iOwQlQsFcrHgEZus1LOR/pQhoBx40FbEZivv6xTeHyRSISQXSw k6rQi7KlnjLdvSYA5EDGpxU8bG7C4U+cYMV4gsIqMljLTAaZ1PuxCpKPDuZ5vWGDA9vt TKFI6R3u7pPbAMJd8GzP4RtgcCDQ/N0ZSyLBqSm8qmGWwAuGi3qWwRSz4/nlYJQN5vVi rVJa/GKDGehnH0Vt8FhCSw6vzFZIJiaRzvVCXPUk2GlX7SP02UJoqXFWF821EhAvhb9T LSi+5wi5jKr+CNhTpl4aiaROgm9yxFia19ZxXj7dNjZKh3M64Nj3hmMMjUjeJqxxJvco EYfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=E9faLh6D; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 71-v6si15460116plb.511.2018.03.26.07.32.19; Mon, 26 Mar 2018 07:32:34 -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; dkim=pass header.i=@linaro.org header.s=google header.b=E9faLh6D; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752232AbeCZOa6 (ORCPT + 99 others); Mon, 26 Mar 2018 10:30:58 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:53657 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751160AbeCZOa4 (ORCPT ); Mon, 26 Mar 2018 10:30:56 -0400 Received: by mail-wm0-f68.google.com with SMTP id p9so3348618wmc.3 for ; Mon, 26 Mar 2018 07:30:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=yaaykYyWWlWSCsGIKjrbcjCu0CjxpAzPqZnAdGFnhos=; b=E9faLh6D3JFcbcpbqK9c6f4uWhYbostKoJywZ1hGxOz7VcXe4SDFZTMqYZtfnDNuja 03CZhJ/aXuUVLjfvq8f7QIpeynjW/KSeIPo80Gare1ybJcVGXc5qXZupj/2HdumSn5Tr XQ7uCgIIsRN6P+Yrf5K0FnlFhCQaCC9bRPuYE= 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=yaaykYyWWlWSCsGIKjrbcjCu0CjxpAzPqZnAdGFnhos=; b=sy///s9L9uhwzzAUycHEGXX7pvpubYF+o5s0TMBcWnqwZehYDbZN5bTBUbNaIBWFuE zItqypFGS5smo2ecmwB0z7m6vMb+6qJ+jqXLWOde4Purmh+f9JWXQcxSuet2iDvy5JFT 93BNjanwj4d0079m42i15BNWoGuhe9x485sSd8SPziyPHgX7ZjMpCFNiuoiqZWp5bZZj 9DWOYTJdxLd+eXFbJKyU0SZD06BbagMjtPRYZVlPepa6Pagi568rQ8hLm938xQ1cBwgk ac0xPopgAaVgaHfO/9WMoyssNEJuCFnVRCsFhkPFOQdAigFEgFytt3R52e9a/OC0157W 2T1A== X-Gm-Message-State: AElRT7EpJ3TLWXHBqLle4u7VLSTDnP/37/jdrpu5CdN3xHp3XE0R5EnM FJXrLgNLNhKzQPhIWPvim0prsQ== X-Received: by 10.28.159.68 with SMTP id i65mr16619252wme.27.1522074655790; Mon, 26 Mar 2018 07:30:55 -0700 (PDT) Received: from leoy-ThinkPad-X240s (li622-172.members.linode.com. [212.71.249.172]) by smtp.gmail.com with ESMTPSA id p19sm27036664wrb.75.2018.03.26.07.30.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Mar 2018 07:30:54 -0700 (PDT) Date: Mon, 26 Mar 2018 22:30:46 +0800 From: Leo Yan To: Daniel Thompson Cc: Daniel Lezcano , Eduardo Valentin , kevin.wangtao@linaro.org, vincent.guittot@linaro.org, amit.kachhap@gmail.com, linux-kernel@vger.kernel.org, javi.merino@kernel.org, rui.zhang@intel.com, linux-pm@vger.kernel.org Subject: Re: [PATCH V2 0/7] CPU cooling device new strategies Message-ID: <20180326143046.GA18782@leoy-ThinkPad-X240s> References: <1519226968-19821-1-git-send-email-daniel.lezcano@linaro.org> <20180307170923.GA6543@localhost.localdomain> <1c07a155-d8e8-480f-937a-6022cda15d0b@linaro.org> <20180308120352.mko2b775ppquverb@oak.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180308120352.mko2b775ppquverb@oak.lan> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 08, 2018 at 12:03:52PM +0000, Daniel Thompson wrote: > On Wed, Mar 07, 2018 at 07:57:17PM +0100, Daniel Lezcano wrote: > > >> The preliminary benchmarks show the following changes: > > >> > > >> On the hikey6220, dhrystone shows a throughtput increase of 40% for an > > >> increase of the latency of 16% while sysbench shows a latency increase > > >> of 5%. > > > > > > I don't follow these numbers. Throughput increase while injecting idle? > > > compared to what? percentages of what? Please be more specific to better > > > describer your work.. > > > > The dhrystone throughput is based on the virtual timer, when we are > > running, it is at max opp, so the throughput increases. But regarding > > the real time, it takes obviously more time to achieve as we are > > artificially inserting idle cycles. With the cpufreq governor, we run at > > a lower opp, so the throughput is less for dhrystone but it takes less > > time to achieve. > > > > Percentages are comparing cpufreq vs cpuidle cooling devices. I will > > take care of presenting the results in a more clear way in the next version. > > I think we should also note that the current hikey settings for cpufreq > are very badly tuned for this platform. It has a single temp threshold > and it jumps from max freq to min freq. > > IIRC Leo's work on Hikey thermals correctly it would be much better if > it used the power-allocator thermal governor or if if copied some of > the Samsung 32-bit platform by configuring the step governor with a > graduated with a slightly lower threshold that moves two stops back in > the OPP table (which is still fairly high clock speed... but it > thermally sustainable). I think Daniel L. is working on this patch set with 'power-allocator' governor, and the parameters 'sustainable-power = <3326>' and 'dynamic-power-coefficient = <311>' are profiling value on Hikey platform. Now we only consider dynamic power and skip static leakage for 'power-allocator' governor. And all these parameters are merged into Linux mainline kernel. Daniel L. could correct me if I misunderstand the testing conditions. Thanks, Leo Yan