All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maxim Levitsky <maximlevitsky@gmail.com>
To: Jindrich Makovicka <makovick@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Enabling power states for Core 2 Duo
Date: Thu, 24 May 2007 02:09:02 +0300	[thread overview]
Message-ID: <200705240209.03198.maximlevitsky@gmail.com> (raw)
In-Reply-To: <20070522193519.53f0021e@holly>

On Tuesday 22 May 2007 20:35, Jindrich Makovicka wrote:
> On Tue, 22 May 2007 17:14:45 +0000
>
> "Paa Paa" <paapaa125@hotmail.com> wrote:
> > >>But are you saying that with most desktop mobos one doesn't usually
> > >>have the
> > >>different power states available at all? So basically the only
> > >>means to conserve power is to scale the frequency?
> > >
> > >Please update your BIOS and try.
> >
> > I updated my Asus P5B Deluxe BIOS with no luck (this latest BIOS is
> > about 1 month old). Still no power states. I would be nice to know if
> > _any_ desktop C2D mobos have these C-states? (In x86_64 system).
> >
> > I think I never mentioned:
> >
> > I'm using 2.6.21.1 (actually gentoo-sources-2.6.21-r1)
> > My CPU is E6400.
>
> I observe the same problem with Gigabyte 965P-DS4, and there are at
> least two causes - 1) MP supported flag in FADT is missing (so
> CPU_HOTPLUG would be necessary), and 2) C2 latency is set to 101,
> while the maximum allowed in the kernel is 100.
>
> However, from the power consumption and the CPU temperature it seems
> that the power saving works anyway, so I'll live with it.

Hi,

I also don't have C-states on my DG965RY intel board with core 2 duo E6400

Any board can support C-states ether by fixed ACPI set of registers or by a 
set of functions in acpi tables.

On my system ICH8 (and I almost sure you got it too), doesn't support 
fixed-function C-states.

And there is no other magic chip that can put cpu in c-state (on my system) , 
so acpi has no "set of functions to do that"

So I guess that on my board there is no physical support for C-states, and 
this could be true for you too.

Anyway monitor/mwait can put cpu in C1, and having apic-stops-in-c2/c3 bug,
I don't think those states are that needed.

The Speedstep support is a different thing at all:
Agian acpi has a function that can change cpu clock speed to fixed values,
And yes on my board it also has only two values: 1500 and 2130.
This support is implemented by accessing the clock chip
(Actualy on my system acpi writes a magic value to one of ICH8 registers, and 
this triggers a SMM that changes the clock)

And the last thing is about throtting states your and mine system does 
support:
Throttling states are states that make system halt cpu for some % of time,
Yes there are 8 such states. You can enter one of those by writeing a state 
number to /proc/acpi/processor/*/throttling (I assume you have ICH8 or 
someting simular)
Also ICH*'s throtting states are system global, this is why I wrote "/*/"
If you change it for one core, it will be changed for other.
They are supported by fixed acpi function (by ICH8)

My 2 cents.

Regards
	Maxim Levitsky

  reply	other threads:[~2007-05-23 23:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fa.ba5b6wvCJrj6u1+oZyC73ruruhQ@ifi.uio.no>
2007-05-22 14:25 ` Enabling power states for Core 2 Duo Robert Hancock
2007-05-22 15:26   ` Paa Paa
     [not found]     ` <292f39920705220935h664175a9wbcf1713f7f912d05@mail.gmail.com>
2007-05-22 16:37       ` Dhaval Giani
2007-05-22 17:14         ` Paa Paa
2007-05-22 17:35           ` Jindrich Makovicka
2007-05-23 23:09             ` Maxim Levitsky [this message]
2007-05-23  7:32     ` Matthieu CASTET
     [not found] <8nFz3-3gf-13@gated-at.bofh.it>
     [not found] ` <8nGbL-4lh-25@gated-at.bofh.it>
2007-05-22 17:53   ` Nick Craig-Wood
2007-05-22 12:59 Paa Paa

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=200705240209.03198.maximlevitsky@gmail.com \
    --to=maximlevitsky@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=makovick@gmail.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 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.