From: Bill Davidsen <davidsen@tmr.com>
To: "Björn Steinbrink" <B.Steinbrink@gmx.de>,
"Andi Kleen" <andi@firstfloor.org>,
tglx@linutronix.de, mingo@elte.hu, yi.zhu@intel.com,
linux-kernel@vger.kernel.org, arjan@infradead.org,
venkatesh.pallipadi@intel.com, trenn@suse.de
Subject: Re: Increased ipw2200 power usage with dynticks
Date: Tue, 22 May 2007 13:43:29 -0400 [thread overview]
Message-ID: <46532BC1.6010808@tmr.com> (raw)
In-Reply-To: <20070521074938.GA15678@atjola.homenet>
Björn Steinbrink wrote:
> On 2007.05.20 20:55:35 +0200, Andi Kleen wrote:
>> Björn Steinbrink <B.Steinbrink@gmx.de> writes:
>>> Ok, it seems that ipw2200 is just a trigger for the problem here. AFAICT
>>> the cause of the worse C state usage is that after ipw2200 has woken the
>>> cpu, acpi_processor_idle() chooses C2 (due to dma? bm? I have no
>>> idea...) as the prefered sleep state. Now without NO_HZ or when I hold
>>> down a key, there are interrupts that wake up the CPU and when
>>> acpi_processor_idle() is called again the promotion to C3/C4 happens.
>>> But with NO_HZ, there are no such interrupts, most wakeups are caused by
>>> ipw2200 and so the processor doesn't go any deeper than C2 most of the
>>> time and thus wastes lots of power.
>> The cpuidle governour code Venki is working on is supposed to address this.
>> There have been also earlier prototype patches by Adam Belay and
>> Thomas Renninger.
>
> Venki (at least I think it was him) also told me about cpuidle and the
> menu governor on #powertop. Unfortunately, cpuidle seems to be gone from
> acpi-test (or I'm simply still too stupid for git/gitweb). I manually
> added the cpuidle and menu governor patches on top of my 2.6.22-rc1-hrt8
> kernel, but that broke C-state duration accounting.
>
> On the bright side of things is power usage though, which is down to an
> incredible 13.9W in idle+ipw2200 :)
>
Very encouraging, hopefully that can get into mainline soon, as power
usage is an issue with laptops. Until then, it sounds as if dynticks is
a negative power save for ipw2200 (and probably many other things).
Dare we hope that this will allow use of USB on laptops without draining
the battery?
--
Bill Davidsen <davidsen@tmr.com>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot
prev parent reply other threads:[~2007-05-22 17:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-18 15:46 Increased ipw2200 power usage with dynticks Björn Steinbrink
2007-05-19 17:10 ` Björn Steinbrink
2007-05-20 18:55 ` Andi Kleen
2007-05-21 7:49 ` Björn Steinbrink
2007-05-21 17:24 ` Pallipadi, Venkatesh
2007-05-22 9:23 ` Andi Kleen
2007-05-22 18:00 ` Pallipadi, Venkatesh
2007-05-23 12:15 ` Andi Kleen
2007-05-22 17:43 ` Bill Davidsen [this message]
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=46532BC1.6010808@tmr.com \
--to=davidsen@tmr.com \
--cc=B.Steinbrink@gmx.de \
--cc=andi@firstfloor.org \
--cc=arjan@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
--cc=trenn@suse.de \
--cc=venkatesh.pallipadi@intel.com \
--cc=yi.zhu@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 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.