From: "Keld Jørn Simonsen" <keld-6PR53cSIHaE@public.gmane.org>
To: Michael Frank <mhf-jjFNsPSvq+iXDw4h08c5KA@public.gmane.org>
Cc: "Keld Jørn Simonsen" <keld-6PR53cSIHaE@public.gmane.org>,
acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: problem with cpu eating too much power, prize given if solved
Date: Fri, 25 Jun 2004 19:06:32 +0200 [thread overview]
Message-ID: <20040625170632.GB16151@rap.rap.dk> (raw)
In-Reply-To: <opr95qdzjj4evsfm-TBR8pM7LtsqkE96DxU8f+dAkNl5+tjhE@public.gmane.org>
On Fri, Jun 25, 2004 at 11:52:37PM +0800, Michael Frank wrote:
> On Fri, 25 Jun 2004 14:46:38 +0200, Keld Jørn Simonsen <keld-6PR53cSIHaE@public.gmane.org>
> wrote:
>
> >On Fri, Jun 25, 2004 at 01:40:04AM +0800, Michael Frank wrote:
> >>On Thu, 24 Jun 2004 17:35:13 +0200, Keld Jørn Simonsen <keld-8HOPs2i1G8k@public.gmane.orgdk>
> >>wrote:
> >>
> >>>Dear ACPI developers,
> >>>I have a problem with my Acer Travelmate 233.
> >>>Many times I just want to read the screen, eg emails or documents,
> >>>and then still the cpu will be in idle mode, where
> >>>it uses 7.5 W out of the about 15 W that the whole machine uses.
> >>>I have found out from Intel data sheets that my
> >>>Mobile Intel Celeron 2.0 GHz CPU consumes 7.5 W in idle loop/
> >>>stop grant/sleep states, (and 5.0 W i deep sleep state).
> >>>So I would like to have the CPU stopped completely (consuming 0 W)
> >>>while I still could read the screen. In that way I should
> >>>be able to have about double the lifetime on the battery,
> >>>going to about 7 hours from the 3.5 hours I have now.
> >>>I would like the machine to wake up again by any keystroke
> >>>on the keyboard or mouse input. I would like the input to be
> >>>reacted upon (not just used to wake up the system, and
> >>>then forgotten).
> >>>I do not have the skills to program this myself, so
> >>>instead I offer a prize of USD 1000 to the person(s) that
> >>>can give me a patch for kernel 2.6 and appropiate documentation
> >>>that can solve the above problem. The patch needs to be GPL,
> >>>and demonstrably run on my laptop. I need the patch before
> >>>2004-10-01, after what date the prize offer expires.
> >>>I would like that the patch was written in a general way to cover for
> >>>CPUs that burn considerable power in idle loop and other states, so that
> >>>other users can benefit from it. Also I would prefer that the patch be
> >>>rolled into the normal ACPI kernel source tree, but the latter request
> >>>is not a condition for the prize.
> >>>
> >>
> >>Nice idea but it wont be possible to program it as your hardware powers
> >>the CPU which takes 5w while it is powered. There is no partitioning
> >>which allows you to remove power from the CPU while running the rest
> >>and I am not aware of any system or standards which provide this kind
> >>of partitioning...
> >
> >Well, I don't know so much about ACPI, but I thought that you in S2
> >could shut down devices individually, and then at the end for my
> >purpose shut down the CPU completely, like a suspend to memory.
> >But maybe this is not doable.
> >
>
> Again it's a nice idea.
>
> Again, It is a HW issue not ACPI issue because ACPI can only do
> what the HW supports.
I don't know if the HW supports it, or it is the BIOS or what needs to
be done. But I know that the SW can shut down the CPU, and then be
awaken by keyboard keystrokes.
> What you are asking is to put the CPU into S2 while the system
> does not notice. You want CPU to respond to IO like keystrokes and
> mouse, the cursor should blink (I assume you don't need play videos),
> the kernels clock gets updated, all without using electricity when
> it's truly idle.
It does not matter if the screen does not blink.
> The keystrokes and mouse could be handled by 8042 equivalent,
> starting the CPU, but what about the cursor driven by X and other
> interrupts and DMA by peripherials which are active?
My idea was that new keystrokes or mouse movements would be considered
ACPI events that - after the CPU has been shut down - can awake the
system again.
I dont know what other DMA activities should be honored, for my purpose
I believe DMA can be ignored - or maybe treated as an ACPI event.
In the first try on this, it could be ignored.
The cursor - why should it move - if no program is running?
> Your CPU Powersupply would have to go from 0V to normal conditions
> for every action required and CPU state would have to be restored the
> little job done and state saved and CPU powered down again.
Yes, I think that should be done.
> Todays HW _can_not_ do this at all. Theoretical best case latency of
> core power supplies will be several milliseconds from 0V, which is
> too slow to handle individual interrupts.
Maybe in the wakeup phase there will be no other interrupts?
For my use, just reading the screen, and then taking to the keyboard or
the mouse, I would not expect other interrupts. It would be acceptable
to me if other interrupts were not handled during the startup of the
CPU. I think startup would last 50 - 100 ms, which is acceptable
to me, I think I would still save considerable power.
> Perhaps one day they fix the leakage problems (they do better all the
> time) or come up with a multi core CPU which has an slow core doing
> 100s of MHz to keep things idling along and a facility to decouple the
> multi GHz core(s) for power down unless really needed.
Yes, but that would not improve things on my current laptop.
Best regards
Keld
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
next prev parent reply other threads:[~2004-06-25 17:06 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-24 15:35 problem with cpu eating too much power, prize given if solved Keld Jørn Simonsen
[not found] ` <20040624153513.GB19545-EittdKFJ/bZ/SzgSGea1oA@public.gmane.org>
2004-06-24 17:40 ` Michael Frank
[not found] ` <opr930o2uv4evsfm-TBR8pM7LtsqkE96DxU8f+dAkNl5+tjhE@public.gmane.org>
2004-06-25 12:46 ` Keld Jørn Simonsen
[not found] ` <20040625124637.GA14795-EittdKFJ/bZ/SzgSGea1oA@public.gmane.org>
2004-06-25 15:52 ` Michael Frank
[not found] ` <opr95qdzjj4evsfm-TBR8pM7LtsqkE96DxU8f+dAkNl5+tjhE@public.gmane.org>
2004-06-25 17:06 ` Keld Jørn Simonsen [this message]
2004-06-28 20:40 ` Pavel Machek
[not found] ` <20040628204008.GK698-u08AdweFZfgxtPtxi4kahqVXKuFTiq87@public.gmane.org>
2004-06-29 15:57 ` Keld Jørn Simonsen
[not found] ` <20040629155718.GA1866-EittdKFJ/bZ/SzgSGea1oA@public.gmane.org>
2004-06-29 22:10 ` Pavel Machek
[not found] ` <20040629221019.GA25464-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-06-29 22:50 ` Keld Jørn Simonsen
2004-06-29 20:17 ` Michael Frank
[not found] ` <opsadhbojo4evsfm-TBR8pM7LtsqkE96DxU8f+dAkNl5+tjhE@public.gmane.org>
2004-06-29 22:11 ` Pavel Machek
[not found] ` <20040629221111.GB25464-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-06-30 14:16 ` Michael Frank
[not found] ` <opsaeu9tyb4evsfm-TBR8pM7LtsqkE96DxU8f+dAkNl5+tjhE@public.gmane.org>
2004-06-30 17:37 ` Keld Jørn Simonsen
[not found] ` <20040630173754.GA29587-EittdKFJ/bZ/SzgSGea1oA@public.gmane.org>
2004-06-30 19:37 ` Pavel Machek
2004-07-01 0:03 ` Michael Frank
[not found] ` <opsafmf8px4evsfm-TBR8pM7LtsqkE96DxU8f+dAkNl5+tjhE@public.gmane.org>
2004-07-05 18:55 ` Keld Jørn Simonsen
2004-06-30 19:35 ` Pavel Machek
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=20040625170632.GB16151@rap.rap.dk \
--to=keld-6pr53csihae@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=mhf-jjFNsPSvq+iXDw4h08c5KA@public.gmane.org \
/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