public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Zhang Rui <rui.zhang@intel.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>,
	Jean Delvare <jdelvare@suse.com>,
	"Brown, Len" <len.brown@intel.com>,
	linux-pm <linux-pm@lists.linux-foundation.org>,
	"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>,
	amit.kachhap@linaro.org
Subject: Re: [RFC] the generic thermal layer enhancement
Date: Wed, 30 May 2012 13:50:35 +0100	[thread overview]
Message-ID: <20120530125035.GA17379@srcf.ucam.org> (raw)
In-Reply-To: <1338367742.1472.128.camel@rui.sh.intel.com>

On Wed, May 30, 2012 at 04:49:02PM +0800, Zhang Rui wrote:

> G1. supporting multiple cooling states for active cooling devices.

Sounds fine.

> G2. introduce cooling states range for a certain trip point

Again, no problem here.

> G3. kernel thermal passive cooling algorithm

>     Currently, tc1 and tc2 are hard requirements for kernel passive
>     cooling. But non-ACPI platforms do not have this information
>     (please correct me if I'm wrong).
>     Say, for the patches here
>     http://marc.info/?l=linux-acpi&m=133681581305341&w=2
>     They just want to slow down the processor when current temperature
>     is higher than the trip point and speed up the processor when the
>     temperature is lower than the trip point.

Just slowing the CPU down above a certain temperature is a pretty awful 
approach to passive cooling. You want to maximise performance while 
staying within your thermal envelope, so you need a more advanced 
approach. The existing algorithm provides a generic mechanism for 
balancing performance and thermal output, with the only requirement 
being that the platform provide constants that represent the heating and 
cooling properties of the system.

I don't fundamentally object to adding support for platform-specific 
passive formulae, but I'd like an explanation for how they're better 
than the existing one.

> G4. Multiple passive trip points

It would be good to have an explanation of the use case here. If it's 
acceptable for the device to be at the lower passive trip point, why are 
we slowing it down at all?

-- 
Matthew Garrett | mjg59@srcf.ucam.org

  parent reply	other threads:[~2012-05-30 12:50 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-30  8:49 [RFC] the generic thermal layer enhancement Zhang Rui
2012-05-30  8:51 ` [linux-pm] " Zhang Rui
2012-05-30 10:30   ` Eduardo Valentin
2012-05-30 11:05     ` R, Durgadoss
2012-05-30 11:17       ` Eduardo Valentin
2012-05-31  3:32         ` [linux-pm] " Zhang Rui
2012-05-31 11:06           ` Eduardo Valentin
2012-05-31 11:14             ` R, Durgadoss
2012-05-31  3:27       ` Zhang Rui
2012-05-31  2:20     ` [linux-pm] " Zhang Rui
2012-05-31  5:16     ` Amit Kachhap
2012-05-31  6:13       ` Zhang Rui
2012-05-31 11:13       ` Eduardo Valentin
2012-05-30 10:44 ` [linux-pm] " R, Durgadoss
2012-05-31  3:15   ` Zhang Rui
2012-05-30 12:50 ` Matthew Garrett [this message]
2012-05-31  3:54   ` Zhang Rui
2012-05-31  3:58     ` Matthew Garrett
2012-05-31  5:54       ` Zhang Rui
2012-05-31  4:59 ` Amit Kachhap
2012-05-31  6:09   ` Zhang Rui
2012-05-31 10:59     ` Eduardo Valentin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120530125035.GA17379@srcf.ucam.org \
    --to=mjg59@srcf.ucam.org \
    --cc=amit.kachhap@linaro.org \
    --cc=jdelvare@suse.com \
    --cc=len.brown@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=rjw@sisk.pl \
    --cc=rui.zhang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox