Subject: Re: /dev on tmpfs problem
To: matthew green <firstname.lastname@example.org>
From: Daniel Carosone <email@example.com>
Date: 11/13/2005 15:35:06
Content-Type: text/plain; charset=us-ascii
On Sun, Nov 13, 2005 at 01:25:56PM +1100, matthew green wrote:
> IMO removing tmpfs auto-sizing feature is a way to go.
> ie. mandate -s option of mount_tmpfs and trust it.
> i want tmpfs to resize based on how much ram i have, or swap, or
> some cmobo, by default. having to change static configuration
> parameters when i simply add memory is a concept that should be
> dead in this millennium...
Plus, -s is the wrong way around. That's an upper limit on the size
of files you can store in tmpfs. The problem here is the reverse - not
having enough free space reported in tmpfs because filecache (or some
other better use of the memory) gobbled it all in the meantime.
I'm guessing this problem is only really evident on machines without,
or with relatively small, swap space. Otherwise, free pages in swap
would be 'available' to tmpfs, and when allocated would push out file
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (NetBSD)
-----END PGP SIGNATURE-----