public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <khali@linux-fr.org>
To: Oliver Neukum <oliver@neukum.org>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>, LKML <linux-kernel@vger.kernel.org>
Subject: Re: CONFIG_SUSPEND and power consumption
Date: Mon, 20 Aug 2007 17:34:50 +0200	[thread overview]
Message-ID: <20070820173450.4ad178a9@hyperion.delvare> (raw)
In-Reply-To: <200708201211.34698.oliver@neukum.org>

On Mon, 20 Aug 2007 12:11:34 +0200, Oliver Neukum wrote:
> Am Montag 20 August 2007 schrieb Jean Delvare:
> > 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.
> 
> USB, or strictly speaking EHCI, OHCI and UHCI, use DMA. To allow
> that the cache coherency logic has to be active. Therefore your CPU
> cannot go to C3. Therefore it draws more power. The problem we are
> facing in USB is that to get great savings, our coverage has to be perfect.
> One device that cannot be autosuspended and we lose most savings.

Ah, OK, thanks for the clarification, it explains a lot.

I've made some more tests on two Intel boards and another VIA board.
The bottom line is that both VIA boards see a bump in power consumption
when plugging my USB 2.0 hard disk drive (10 W on one board, 4 W on the
other) while none of the Intel boards exhibit any change in power
consumption. I wonder if I should blame VIA for eating extra power when
the disk is plugged, or thank them for saving power when it's not. Or
maybe I am looking at things the wrong way, and I should thank AMD for
saving more power in C3 than Intel does?

-- 
Jean Delvare

  reply	other threads:[~2007-08-20 15:33 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
2007-08-20 10:11     ` Oliver Neukum
2007-08-20 15:34       ` Jean Delvare [this message]
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=20070820173450.4ad178a9@hyperion.delvare \
    --to=khali@linux-fr.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oliver@neukum.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