lkml.org 
[lkml]   [2010]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: acpi_idle: Very idle Core i7 machine never enters C3
From
On Wed, Jan 27, 2010 at 10:27:17PM +0900, peng huang wrote:
> 2010-01-26 (火) の 08:59 -0600 に Jeff Garrett さんは書きました:
> > On Tue, Jan 26, 2010 at 09:41:00PM +0900, peng huang wrote:
> > > Hi,
> > > can you show me the file /proc/acpi/processor/CPU*/power.
> > > and are you sure your cpu usage is 0 or nearly zero.
> >
> > Yea, I'm pretty sure my cpu usage is nearly zero. powertop shows fewer
> > than 20 wakeups per second, shows 99% C2 residency, top shows 100% idle,
> > perf top shows acpi_idle_enter_simple as the most common function
> > (~50%). Very little is running on the box, and I've compiled out the
> > heavier parts of the kernel (such as USB)...
> >
> > (It still has ordinary userspace running, e.g. udev & hal, and still has
> > sshd and network traffic, as examples.)
> >
> > This is all consistent with a very idle machine, I think.
>
> yes,you processor is always in c2,it does means your system is nearly
> ilde.
>
> > > this is the info of my laptop(using core 2 processors):
> > > powertop's output:
> > > Cn Avg residency P-states (frequencies)
> > > C0 (cpu running) (10.6%) 2.00 Ghz 1.9%
> > > C0 0.0ms ( 0.0%) 1.67 Ghz 0.1%
> > > C1 mwait 0.0ms ( 0.0%) 1333 Mhz 0.0%
> > > C2 mwait 0.0ms ( 0.0%) 1000 Mhz 98.0%
> > > C3 mwait 1.1ms (89.4%)
> >
> > Yea, my laptop also (also core 2) has 700-1000 wakeups/sec and spends
> > greater than 80% of its time in C3... That's partly why I'm curious
> > about what my core i7 desktop is doing.
>
> So I think it is a core i7 thing.I have heard that some intel cpu have a
> problem when in c2-state,maybe that is why you cpu cant enter c3-state.
> I think there is some configuration about deep c-state in the bios,may
> be you can try it(it cannot solve this problem...).

My BIOS has very few options. Almost nothing with regard to
power management. They do let me choose whether to enable
Intel SpeedStep. They also let me choose which state to use
for ACPI suspend (set to S3) but that appears to be it.

> And in some bios there is a enhanced idle state configuration ,but i
> dont known if it is the reason why the cpu cannot enter c3-state.You can
> try it anyway.

I would if I could. :)

> With disable the deep c-state you BIOS will not give c3-info to the
> OS,then you would see there is no c3-state in the OS.

I also found a thread (I think LKML) which said the max c-state is
limited when HT is disabled. I had HT disabled in the BIOS.

Re-enabling HT in the BIOS (with CONFIG_X86_HT=y) doesn't
appear to make any difference.

Thanks,
Jeff
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2010-02-05 17:25    [W:0.056 / U:10.104 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site