Re: [LAU] qjackctl fails to exit gracefully on UbuntuStudio 10.4

From: Robin Gareus <robin@email-addr-hidden>
Date: Tue Jun 01 2010 - 01:18:57 EEST

On 05/31/2010 10:42 PM, fons@email-addr-hidden wrote:
> On Sun, May 30, 2010 at 05:31:46PM -0400, John Ouzts wrote:
>
>> Thank you. "du -m /dev/shm" shows 320 megabytes of memory locked out by
>> pulseaudio, even after its processes have been killed. So my mileage did
>> not vary at all.
>
> If an audio subsystem is using 320MB of memory it's broken. Just dump it.
>

I think you followed Lennart's presentation @LAC2010 [1] explaining the
motivation for this: Pulseaudio keeps buffers sometimes 10 secs long or
even more. The reason for that is to have the CPU wake up as little as
possible in order to save power.

That PA does not release that memory is either a bug or because of the
way it got killed.

FWIW jackd also locks ~80MB in /dev/shm here.

Cheers!
robin

[1]
http://lac.linuxaudio.org/2010/recordings/day1_1400_Pro_Audio_is_Easy_Consumer_Audio_is_Hard.ogv
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Tue Jun 1 04:15:01 2010

This archive was generated by hypermail 2.1.8 : Tue Jun 01 2010 - 04:15:01 EEST