lkml.org 
[lkml]   [2005]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Power consumption HZ100, HZ250, HZ1000: new numbers
From
Date
On Sat, 2005-07-30 at 12:18 -0600, Zwane Mwaikambo wrote:
> On Sat, 30 Jul 2005, Lee Revell wrote:
>
> > So it looks like artsd wastes way more power DMAing a bunch of silent
> > pages to the sound card than HZ=1000.
> >
> > There's nothing the ALSA layer can do about this, it's a KDE bug.
> >
> > I think this is a good argument for leaving HZ at 1000 until some of
> > these userspace bugs are fixed.
>
> It's already 'fixed' just set artsd to release the sound device after some
> idle time. It's in the "Auto-Suspend" seection of the KDE sound system
> control module.

I suspect that the failure to enable this by default is a relic of the
pre-dmix era, when access to the sound device was exclusive, to prevent
another app from grabbing it in the interim.

Of course this behavior is completely unnecessary with ALSA 1.0.9 or
later, as the default PCM uses dmix so the above scenario would not
block the sound card.

Anyway, KDE does not need to release the sound device to prevent this.
Simply stopping the PCM should be enough.

Lee

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-07-30 20:40    [W:0.476 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site