public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Jan Rychter <jan@rychter.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.4.22 USB problem (uhci)
Date: Fri, 19 Sep 2003 13:44:19 -0700	[thread overview]
Message-ID: <20030919204419.GB7282@kroah.com> (raw)
In-Reply-To: <m28yokr070.fsf@tnuctip.rychter.com>

On Fri, Sep 19, 2003 at 01:29:55PM -0700, Jan Rychter wrote:
>  Greg> If you want to suspend using 2.4, unload the usb drivers
>  Greg> entirely.  That's the only safe way.
> 
> I wasn't talking about suspending, but about processor C-states. These
> are power states that the mobile processors enter dynamically, many
> times a second. In my case:

Ah, sorry.  I'm getting D and C states mixed up here.

> [10:52] tnuctip:/usr/src/linux#cat /proc/acpi/processor/CPU0/power 
> active state:            C3
> default state:           C1
> bus master activity:     00000000
> states:
>     C1:                  promotion[C2] demotion[--] latency[000] usage[00000520]
>     C2:                  promotion[C3] demotion[C1] latency[001] usage[00159073]
>    *C3:                  promotion[--] demotion[C2] latency[100] usage[02297764]
> [13:28] tnuctip:/usr/src/linux#
> 
> As you can see, C3 (lowest power) is being used a lot. This makes my
> laptop run cool. If I use usb-uhci, the processor is never able to go
> into C3 because of DMA activity. uhci is better, because it at least
> permits me to use C3 when there are no devices plugged in.
> 
> And going back to the uhci problem... ?

UHCI by design sucks massive PCI bandwidth.  There is logic in the uhci
drivers that try to help this out by reducing transactions when not much
is going on, but there's only so much we can do in software, sorry.  I'm
guessing that you aren't going to be able to change this.

Unless you go buy a ohci usb cardbus controller card :)

thanks,

greg k-h

  reply	other threads:[~2003-09-19 21:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-19  3:10 2.4.22 USB problem (uhci) Jan Rychter
2003-09-19 19:06 ` Greg KH
2003-09-19 19:17   ` Jan Rychter
2003-09-19 20:17     ` Greg KH
2003-09-19 20:29       ` Jan Rychter
2003-09-19 20:44         ` Greg KH [this message]
2003-09-19 21:14           ` Jan Rychter
2003-09-19 21:22             ` Greg KH
2003-09-19 22:30               ` Jan Rychter
2003-09-21  0:15                 ` Jan Rychter

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=20030919204419.GB7282@kroah.com \
    --to=greg@kroah.com \
    --cc=jan@rychter.com \
    --cc=linux-kernel@vger.kernel.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