All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruno Ducrot <ducrot@poupinou.org>
To: Mark Bidewell <mark.bidewell@alumni.clemson.edu>
Cc: cpufreq@lists.linux.org.uk
Subject: Re: Possible CPUFreq governor
Date: Wed, 27 Apr 2005 19:38:28 +0200	[thread overview]
Message-ID: <20050427173828.GC2298@poupinou.org> (raw)
In-Reply-To: <426FBBB1.7000001@alumni.clemson.edu>

On Wed, Apr 27, 2005 at 12:20:01PM -0400, Mark Bidewell wrote:
> Bruno Ducrot wrote:
> 
> >On Wed, Apr 27, 2005 at 08:30:45AM -0400, Mark Bidewell wrote:
> > 
> >
> >>You are correct, The primary differences are that
> >>1)  the clock modulation only cuts in after dangerous temperatures have 
> >>been detected.  This code prevents those high temperatures.
> >>2)  This code uses the OS Scheduler to make targeted performance cuts on 
> >>certain applications.  This reduces the performance impact of throttling 
> >>to non-interactive processes.
> >>   
> >>
> >
> >I disagree.  If processors are under an overheat situation, we should
> >not consider performance anymore.
> >
> > 
> >
> I am in agrement that performance doesn't matter in a CPU thermal 
> emergency.  In fact no software throttling would be reliable enough (or 
> fast enough) to prevent problems consistently.  I see this governor as a 
> preventative measure to reduce day-to-day thermal stress not as an an 
> emergency stopgap.  The possible advantages of the governor I see are:
> 
> 1)  The higher the temperature at which a CPU runs the lower its life.  
> A common rule of thumb is that increasing operating temperature by 10C 
> cuts CPU life in half.  CPU throttling does not cut in until an 
> emergency occurs (which can be often on a laptop).  It would be useful 
> to reduce this stress
> 2)  Quieter operation by reducing the amount of time fans have to run.
> 3)  Reducing the effect of heat on other components of a system 
> (particularly the hard drive in a laptop) which are near the CPU.

For point 1 I'm not expert enough on processors so I can't tell (though
I tend to trust you).  Of course I agree with points 2 and 3, and anyway
we need a generic solution that must be independant of ACPI thermal
passive cooling.

I have to think a little bit more about your solution though.  In
theory, the ondemand governor (or any other dynamic governors)
with some kind of control of ->max for the policy should be OK (in
kernel as under ACPI thermal subsystem or in user space by tweaking
the scaling_max_freq via a daemon).

But if we have to consider interactive/non-interactive process,
the problem would be that we'll update policy when max change too
often maybe?  So its have to be done by the governor you submit?
I need to think at that and I have to make some tests.

Thanks,

-- 
Bruno Ducrot

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.

  reply	other threads:[~2005-04-27 17:38 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-26 23:39 Possible CPUFreq governor Mark Bidewell
2005-04-27 10:53 ` Bruno Ducrot
2005-04-27 11:02   ` Bruno Ducrot
2005-04-27 11:08   ` Ivor Hewitt
2005-04-27 12:30     ` Mark Bidewell
2005-04-27 14:07       ` Bruno Ducrot
2005-04-27 16:20         ` Mark Bidewell
2005-04-27 17:38           ` Bruno Ducrot [this message]
2005-04-27 18:18             ` Mark Bidewell
2005-04-27 19:04               ` Bruno Ducrot
2005-05-02 12:51                 ` Mark Bidewell
2005-04-27 12:25   ` Mark Bidewell
2005-04-27 13:54     ` Bruno Ducrot
2005-04-27 16:10       ` Mark Bidewell
2005-04-27 17:03         ` Bruno Ducrot
2005-04-27 17:19           ` Mark Bidewell
2005-04-27 17:45             ` Bruno Ducrot
  -- strict thread matches above, loose matches on Subject: below --
2005-04-27  0:12 Mark Bidewell
2005-04-27  0:13 Mark Bidewell
2005-05-02 14:02 Pallipadi, Venkatesh
2005-05-02 14:30 ` Mark Bidewell

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=20050427173828.GC2298@poupinou.org \
    --to=ducrot@poupinou.org \
    --cc=cpufreq@lists.linux.org.uk \
    --cc=mark.bidewell@alumni.clemson.edu \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.