Subject: Re: mfs performance
To: None <wojtek@wojtek.3miasto.net>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-users
Date: 04/08/2001 18:02:41
On Sat, Apr 07, 2001 at 02:49:25PM +0200, wojtek@wojtek.3miasto.net wrote:
>
> it looks like mfs never give it's memory/swap used back when deleting
> files.
> could it be changed?
You would have to change MFS to something else then :)
MFS is really a FFS in pageable memory. memory to hold the filesystem
is allocated at mount time.
Now there is different way to accomplish this. For example solaris's swapfs
put files directly in pageable memory, which is allocated dynamically.
The consequence is that writing a file can fail, because there's not
enouth VM available. At last with our MFS the VM is reserved at mount time :)
--
Manuel Bouyer <bouyer@antioche.eu.org>
--