linux-laptop.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Holger Macht <hmacht@suse.de>
To: "Brown, Len" <len.brown@intel.com>
Cc: thoenig@suse.de, linux-acpi@vger.kernel.org,
	linux-laptop@vger.kernel.org, Andi Kleen <ak@suse.de>
Subject: Re: kernel vs user power management
Date: Wed, 17 May 2006 11:14:40 +0200	[thread overview]
Message-ID: <20060517091440.GA9901@linux-ersb.suse.de> (raw)
In-Reply-To: <CFF307C98FEABE47A452B27C06B85BB679B59B@hdsmsx411.amr.corp.intel.com>

On Wed 17. May - 00:20:12, Brown, Len wrote:
>  
> >> >> I'm happy to see that clock throttling is not enabled by
> >> >> default in recent SuSE release, at least on my laptop
> >> >> which supports P-states.
> >> >> 
> >> >> I'd like to see no option to enable clock-throttling on
> >> >> systems that support real p-states.
> >> >
> >> >Yes, this is reasonable, indeen. Will do that. With p-states in this
> >> >context, you mean cpufreq here?
> >> 
> >> throttling is always T-states.
> >> cpufreq is usually p-states, but in the case of p4clockmod,
> >> it is T-states also.  As I mentioned above, cpufreq is doing
> >> you a dis-service by hiding the difference from you
> >> and really need to be enhanced to know (and export)
> >> the difference.
> >
> >Yes, this would be good, indeed. But what else drivers are currently
> >affected? It's only p4clockmod I know of.
> >
> >> 
> >> >> It is useful only for workloads which have an infinite
> >> >> amount of non-idle computing which you don't care how
> >> >> slow it computes.  For the vast majority of workloads
> >> >> it just slows down the machine and delays the processor
> >> >> from getting into idle where it can save a non-linear
> >> >> amount of power.  Further, there exist today systems which
> >> >> will consume MORE power in deep C-states when throttled
> >> >> vs. when not throttled.
> 
> I installed SL10.1 today on a P3M laptop (Dell D600)
> and it defaults to the "Powersave" scheme which includes
> "Dynamic Frequency Scaling" (ondemand), so that is good.
> 
> However, by defaulit "Allow Throttling" is CHECKED
> and Max %  is set to 50%.
> 
> Exactly what does this mean?
> I looked in /proc/acpi/processor/*/throttling and the
> laptop is still in T0.

It means that the powersaved throttles your CPU if there is no load and
dethrottles if there is load. It's that way already for several years and
I only got a report about performance loss on SMP systems, so we don't do
throttling by default on those systems.

> Is there an easy way for me to modify the kernel to
> convince the powersaved application that the system
> does not support throttling?  I'm thinking that we've
> given user-space too much rope and it has proceeded
> to hang itself.

I'm currently working on a solution to allow throttling only on systems
which don't support CPUfreq. At the point this thread came up, or a few
days later as we talked about it, I completely agreed with you. But at
that time we already had RC1 in regard to SUSE Linux 10.1, so there was no
possibility anymore to change such a default behaviour. For the unstable
powersave realeases, there will come up some changes soon, though.


Regards,
	Holger

  reply	other threads:[~2006-05-17  9:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-17  4:20 kernel vs user power management Brown, Len
2006-05-17  9:14 ` Holger Macht [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-05-17 18:25 Brown, Len
2006-05-17 15:41 Brown, Len
2006-05-17 17:41 ` Holger Macht
2006-04-09  3:06 Brown, Len
2006-04-09  6:07 ` Andi Kleen
2006-04-10  8:35 ` Holger Macht
2006-04-08  6:42 Brown, Len
2006-04-08 17:18 ` Holger Macht

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=20060517091440.GA9901@linux-ersb.suse.de \
    --to=hmacht@suse.de \
    --cc=ak@suse.de \
    --cc=len.brown@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-laptop@vger.kernel.org \
    --cc=thoenig@suse.de \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).