> I can't find any information about the way tmpfs_size is calculated,
> but on two boxes, it is the half of system memory.

The kernel uses half the memory by default.  A different size can be
specified at mount time.

> The problem is that on one I get /lib/init/rw and /dev/shm sized to
> 1.8 Gbytes and the other sized to 500 Mbytes, which seems to be very
> very much just to keep a few Kbytes.

The capasity of a tmpfs is not the amount memory used by it.  The
memory used by a tmpfs is the amount stored on the file system.  So
neither 1.8 GB nor 600 MB is "used" to keep the few kilobytes.  Only
the few kilobytes is spent.

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to