shm size

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

 



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



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux