Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1899501imm; Thu, 11 Oct 2018 01:28:41 -0700 (PDT) X-Google-Smtp-Source: ACcGV60VERJFLrlVM+YWY+AbThCIyDCo+XE3DdWhR5CVLT5OczKvUPCvF1/azQ6RIrLPmNJyUt/H X-Received: by 2002:a63:6507:: with SMTP id z7-v6mr564240pgb.200.1539246521883; Thu, 11 Oct 2018 01:28:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539246521; cv=none; d=google.com; s=arc-20160816; b=XLpgT4EmJmKwxQesc4SoMhhorWLxU3ny5rpYwp44L1MwMTu6vSPlInRnWImUP/Yw3s N53sQWupUG3r9y495Wm5caAq3VJGhqP2yCVTUQsn3hX+FySWUuAzwhNNAE8j/zRc/5NF XAzwEUQNqfDropUFaUbzCZ+Bz7UduTJbh7NSj80qDHmVAi8AdXrC8VpQhNmlyKLhKIJU iqummRxiS/RYv0ZEAwBJlJEnnQ03f6uFVzyFE+/qDzHeXiUD6QG9sSK+/aCt4tsjYm5E ONjd2/NCTw5I6LMh2KY24zBnqhZqKXgII9kq/+nEyVXadWaopE/JbEbC2ydBx3yNlz6H MlhA== 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:from:references:cc:to:subject:dkim-signature; bh=8YNI/ynpxtc1MMPZLrTm2ztWQSUT8vdadXnmraZ8mGM=; b=c9Ac/+sXVDDI0gln2ubksnv8ghSjTaGK7yFrWXTHeAJcfoTcR4urGPjyrBLUd2cGLa zobme+m/rk1mFxSgBQ8rVYbP/Pbn3ZL2gJQoNyyAvwfVuqXrXeWFs2JXP9QmCNNz0Xfm /hIMiAKaygzn8pHubmVtHiVR8EkFhhh48HhB1zY5k/rJ/kXsLSRU5YK5y/dd7SQbGvE+ 3GblEi1FKRXlBwDceMUfAe2TFaajDRCT2Nt/c0LDnizbU+Gm+sLVWWUKQKKG3mw0tVeC 93ydDOMwmLGbH43lvWMEafyIATWX5xa9oZn/FawfhlfaFmHiJL3QSzNg8le945oX4jIu Yf8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=O0thmDlM; 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 s27-v6si25680381pgl.405.2018.10.11.01.28.27; Thu, 11 Oct 2018 01:28:41 -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=O0thmDlM; 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 S1727835AbeJKPta (ORCPT + 99 others); Thu, 11 Oct 2018 11:49:30 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:38054 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726008AbeJKPta (ORCPT ); Thu, 11 Oct 2018 11:49:30 -0400 Received: by mail-wr1-f68.google.com with SMTP id a13-v6so8617862wrt.5 for ; Thu, 11 Oct 2018 01:23:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=8YNI/ynpxtc1MMPZLrTm2ztWQSUT8vdadXnmraZ8mGM=; b=O0thmDlMz4Ivwo0J8HquUt+VaS2fcMkTTwg4PkU3zKNMdth/2ZxizRuY75LKLTRcAs Oa/54ij9Ol0+fdixlK9/6xBo1Rj5f7OXc+TZ0tGJIaFKDplIvc3BYQKBlWbgg07b3G7d z3nLKdVmVaUXUw9udNYYePpFnNqcIYQh/4bus= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=8YNI/ynpxtc1MMPZLrTm2ztWQSUT8vdadXnmraZ8mGM=; b=OGFrYa0FUVf/HYAl1T1YvKAgLMh3kmpkNKtaiQ+EUqRASEucWQWquTxRqhquHBDiYi 1zzCOog983oDsxaMj2qslrP34GDCZ6EyilhdJcF3XQobo7aVIV2a8tZP9WkFeg2sfLwr 5MOS/MU8fVi8J+8zqMCL4jY0Cc0VP1r2wjlvtHi0MVl7d/R2COUkGUb9db+OLVXpXKMQ cmK4jwNfvJGXVV21Gjng4U55j26r/7OY9abTtcIPzZ1hQHxE2FWr0bB0kgUmn/EGlyY1 KUL+RRkBj0rL29h2X6G7LRTWoMEdWaCMPR2zfQgmIruSUFUTiRRlKceUKV+oDnb0i3Yw VPdQ== X-Gm-Message-State: ABuFfog7vVOoeKIZBNxjFjGvVmKDiFWCAt0PQXiZtb/1OofXZx95RBMn 2Y55cEoorW9meOSw5016eqMQkQ== X-Received: by 2002:a5d:620b:: with SMTP id y11-v6mr596393wru.105.1539246197303; Thu, 11 Oct 2018 01:23:17 -0700 (PDT) Received: from [192.168.0.40] (147.46.88.92.rev.sfr.net. [92.88.46.147]) by smtp.googlemail.com with ESMTPSA id 63-v6sm4679052wmd.5.2018.10.11.01.23.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Oct 2018 01:23:16 -0700 (PDT) Subject: Re: [RFC PATCH 0/7] Introduce thermal pressure To: Lukasz Luba , Thara Gopinath , linux-kernel@vger.kernel.org Cc: mingo@redhat.com, peterz@infradead.org, rui.zhang@intel.com, gregkh@linuxfoundation.org, rafael@kernel.org, amit.kachhap@gmail.com, viresh.kumar@linaro.org, javi.merino@kernel.org, edubezval@gmail.com, linux-pm@vger.kernel.org, quentin.perret@arm.com, ionela.voinescu@arm.com, vincent.guittot@linaro.org, Bartlomiej Zolnierkiewicz References: <1539102302-9057-1-git-send-email-thara.gopinath@linaro.org> <20181010153553eucas1p1b8f74f4aa45751ef029805fd118affc1~cSUmU58-F2963929639eucas1p1L@eucas1p1.samsung.com> <20181011073510eucas1p100bfadd6055a523cd1e92b07bfacfc10~cfaLHcbIo1401014010eucas1p1d@eucas1p1.samsung.com> From: Daniel Lezcano Message-ID: Date: Thu, 11 Oct 2018 10:23:14 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20181011073510eucas1p100bfadd6055a523cd1e92b07bfacfc10~cfaLHcbIo1401014010eucas1p1d@eucas1p1.samsung.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/10/2018 09:35, Lukasz Luba wrote: > Hi Daniel, > > On 10/10/2018 06:54 PM, Daniel Lezcano wrote: >> On 10/10/2018 17:35, Lukasz Luba wrote: >>> Hi Thara, >>> >>> I have run it on Exynos5433 mainline. >>> When it is enabled with step_wise thermal governor, >>> some of my tests are showing ~30-50% regression (i.e. hackbench), >>> dhrystone ~10%. >>> >>> Could you tell me which thermal governor was used in your case? >>> Please also share the name of that benchmark, i will give it a try. >>> Is it single threaded compute-intensive? >> >> aobench AFAICT >> >> It would be interesting if you can share the thermal profile of your board. >> > Thanks for the benchmark name. > It was tested on Samsung TM2 device with Exynos 5433 with debian. > Thermal stuff you can find in mainline: > arch/arm64/boot/dts/exynos/exynos5433-tmu.dtsi By thermal profile, I was meaning a figure with the temperature regulation (temperature idle, then workload, then temperature increase, mitigated temperature, end of workload, temperature decrease). The thermal description looks wrong in the DT. I suggest to experiment the series with the DT fixed. eg. from hi6220.dtsi thermal-zones { cls0: cls0 { polling-delay = <1000>; polling-delay-passive = <100>; sustainable-power = <3326>; /* sensor ID */ thermal-sensors = <&tsensor 2>; trips { threshold: trip-point@0 { temperature = <65000>; hysteresis = <0>; type = "passive"; }; target: trip-point@1 { temperature = <75000>; hysteresis = <0>; type = "passive"; }; }; cooling-maps { map0 { trip = <&target>; cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; }; }; }; }; Note the cooling devices are *passive* -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog