Re: Power consumption HZ100, HZ250, HZ1000: new numbers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux