Hello,

I'm trying to clarify myself the memory requirements of pulseaudio and how it should be done on embedded system. Actually I have arm based board (TI dm365) with 128MB of RAM. I'm using the most of this memory as buffers for video application so only 54MB are available for the linux. When I run pulseaudio -D (with all settings to default) the top command gives me following output:
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
  148     1 root     S <  89472 202%   0% pulseaudio -D

This is just virtual memory, from /proc/meminfo I noticed that pulseaudio uses ~4MB of physical RAM. However when I try to run pulseaudio --system it fails on mmap. Does it use the memory in system mode differently? What is the optimal settings for pulseaudio on a such memory limited system. Actually I need pulse just because ofono uses it to control the sound system, so there will just one or two audiostreems...

best regards
Jan

Dne Fri, 23 Mar 2012 08:22:25 +0100 Arun Raghavan <[email protected]> napsal(a):

On Fri, 2012-03-23 at 07:30 +0100, Jan Pohanka wrote:
Hello,

thank you for the answers. I have pulseaudio working now. The last thing
I'm not sure about is how to handle its memory requirements.

> PulseAudio tries to allocate 64MB per default I think, maybe too much;
> can
> be configured...

Do you please know what is the minimal memory requirements for pulseaudio?
64MB is the whole memory available on my system. I noticed that daemon
running for single user eats ~26MB...

It should not be that high. The 64MB number is virtual memory, not
physical. The RSS for the daemon from my observations has been in the
3-4MB range on a couple of ARM-based devices. That's with the default
config though, and there are likely ways to decrease this.

-- Arun

_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss


--
Tato zpráva byla vytvořena převratným poštovním klientem Opery: http://www.opera.com/mail/
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Reply via email to