Linux ACPI
 help / color / mirror / Atom feed
From: Len Brown <lenb@kernel.org>
To: Venkatesh Pallipadi <venki@google.com>
Cc: yakui.zhao@intel.com, linux-acpi@vger.kernel.org
Subject: Re: [PATCH] ACPI: Fix the incorrect calculation about C-state idle time
Date: Thu, 03 Jun 2010 01:42:34 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LFD.2.00.1006030140000.4060@localhost.localdomain> (raw)
In-Reply-To: <AANLkTikacbr_8PnevNPE7smvpOv1PEAa9vsqjUXAxiO_@mail.gmail.com>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1182 bytes --]



thanks,
Len Brown, Intel Open Source Technology Center

On Wed, 2 Jun 2010, Venkatesh Pallipadi wrote:

> On Tue, Jun 1, 2010 at 8:04 PM,  <yakui.zhao@intel.com> wrote:
> > From: Zhao Yakui <yakui.zhao@intel.com>
> >
> > The C-state idle time is not calculated correctly, which will return the wrong
> > residency time in C-state. It will have the following effects:
> >   1.  The system can't choose the deeper C-state when it is idle next time.
> > Of course the system power is increased. E.g. On one server machine about 40W
> > idle power is increased.
> >   2.  The powertop shows that it will stay in C0 running state about 95% time
> > although the system is idle at most time.
> 
> This was a bug from my recent patch here :-(
> http://marc.info/?l=linux-acpi&m=127198016715509&w=2
> 
> Thanks for catching this..
> 
> Acked-by: Venkatesh Pallipadi <venki@google.com>

Another question about that patch...
regarding sched_clock_idle_wakeup_event().
Why do we call it for _simple and _bm, but not for _c1?
Why do we bother calculating its sleep_ticks*PM_TIMER_TICK_NS
argument, when that argument is never accessed?

thanks,
Len Brown, Intel Open Source Technology Center

  reply	other threads:[~2010-06-03  5:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-02  3:04 [PATCH] ACPI: Fix the incorrect calculation about C-state idle time yakui.zhao
2010-06-02 15:06 ` Matthew Garrett
2010-06-03  1:06   ` ykzhao
2010-06-03  1:39     ` Matthew Garrett
2010-06-02 16:28 ` Venkatesh Pallipadi
2010-06-03  5:42   ` Len Brown [this message]
2010-06-02 16:29 ` Venkatesh Pallipadi
2010-06-04  7:35 ` Len Brown

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=alpine.LFD.2.00.1006030140000.4060@localhost.localdomain \
    --to=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=venki@google.com \
    --cc=yakui.zhao@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