From: Jean Delvare <khali@linux-fr.org>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: CONFIG_SUSPEND and power consumption
Date: Mon, 20 Aug 2007 12:02:58 +0200 [thread overview]
Message-ID: <20070820120258.7d090cc4@hyperion.delvare> (raw)
In-Reply-To: <200708192242.43819.rjw@sisk.pl>
Hi Rafael,
On Sun, 19 Aug 2007 22:42:43 +0200, Rafael J. Wysocki wrote:
> On Sunday, 19 August 2007 15:32, Jean Delvare wrote:
> > Hi all, hi Rafael,
> >
> > Running kernel 2.6.23-rc3-git1, I noticed yesterday that my CPU (AMD
> > Sempron 2600+) was running at a much lower temperature when
> > CONFIG_SUSPEND was enabled.
>
> Hm, interesting.
>
> > The temperature difference was quite significant, about 6 degrees Celsius at
> > idle. Measuring the power consumption of my system confirmed that the energy
> > savings were real: with CONFIG_SUSPEND=n, the system consumes 80 W of power
> > (idle), while with CONFIG_SUSPEND=y, the system consumes only 69 W (idle)!
> > Can anyone explain how this works?
>
> I can't.
>
> > I didn't expect CONFIG_SUSPEND to make any difference before actually
> > switching the system to standby or suspend state.
>
> Yes, that's the expected behavior.
>
> > I tried the same trick on two Intel motherboards I use for testing, but
> > this option didn't seem to make any difference in the power consumption
> > for these.
>
> Do you have CONFIG_HIBERNATION set? If not, please see if setting it instead
> of CONFIG_SUSPEND leads to the same result on the affected box (ie. running
> at lower temperatures).
I've made some more tests. More importantly, the additional power
consumption comes from my (new) external hard disk drive. When it's not
connected, the system consume 69 W at idle, regardless of the config
options.
I guess that the drive was being autosuspended (by CONFIG_USB_SUSPEND)
only when CONFIG_SUSPEND was set. But as I found that my drive never
comes back from autosuspend, it's now blacklisted, and my system
consumes 80 W again even with CONFIG_SUSPEND=y.
If I rmmod "ehci-hcd" then the power consumption is back to 69 W. This
confirms that this is really USB-related. I have to admit that I did
not expect an external drive to eat that much power from the system,
especially when not used. I am told that VIA chips are notoriously bad
at this kind of things. I'll try the same external drive on an Intel
system later today.
The last mystery remaining is how USB "activity" can cause my CPU to
heat. I would expect the south bridge to heat, not the CPU.
Thanks,
--
Jean Delvare
next prev parent reply other threads:[~2007-08-20 10:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20070819153259.2c96b904@hyperion.delvare>
2007-08-19 20:42 ` CONFIG_SUSPEND and power consumption Rafael J. Wysocki
2007-08-20 10:02 ` Jean Delvare [this message]
2007-08-20 10:11 ` Oliver Neukum
2007-08-20 15:34 ` Jean Delvare
2007-08-20 17:29 ` Pavel Machek
2007-08-20 19:08 ` Rafael J. Wysocki
2007-08-20 20:19 ` Pavel Machek
2007-08-20 21:48 ` Rafael J. Wysocki
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=20070820120258.7d090cc4@hyperion.delvare \
--to=khali@linux-fr.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rjw@sisk.pl \
/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