[pulseaudio-discuss] shm size

Lennart Poettering lennart at poettering.net
Tue Sep 30 14:22:48 PDT 2008


On Tue, 30.09.08 13:37, Nick Thompson (rextanka at comcast.net) wrote:

> 
> 
> On Sep 30, 2008, at 1:00 PM, Lennart Poettering wrote:
> 
> > Does have in impact? In which way?
> 
> On a 4Gb device it would consume around 1.6% of available flash.  Like  
> I said, not a show stopper.

No, it normally wouldn't consume anything.

Firstly, /dev/shm is a tmpfs, i.e. a RAM file system, so no Flash
space should be allocated for it ever (unless you swap to Flash).

Now, it usually doesn't even consume much RAM, because as I said
multiple times already: the size of this shm file does NOT reflect the
actual use of RAM, it reflect the use of address space. Use "du" to
figure out the use RAM.

Again:

The file size reflects the amount of reserved address space.

The disk usage ("du") reflect the amount of used RAM.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4



More information about the pulseaudio-discuss mailing list