On Wed, Mar 30, 2011 at 10:15 PM, Amit Kulkarni <amitk...@gmail.com> wrote:
>>> OpenBSD just returns kernel page memory very very quickly, so it is
>>> difficult for it to consume more :). But seriously, after this
>>> compile, kernel was holding onto some memory. At idle (after
>>> compilation) it was an excess of 300-500M more, instead of 1-1.3G, it
>>> was around 1.7G. Opensolaris does aggressive caching trying to
>>> maintain and fill out all the available RAM, but OpenBSD gives back
>>> the memory very very quickly.
>>
>
>> concerning the file cache,
>> sysctl kern.bufcachepercent=90
>> runs flawlessly; maybe worth a default setting.
>>
>>
>
> Might be okay for high physical memory machines but not low. I
> remember Opensolaris also filled out bufcache for ZFS, which was a
> bloated pig.

Maybe, but it was because default settings are meant mainly for
servers with huge amount of memory. Anyway it's possible to get it
lower to be more usable on desktop/laptop
http://www.solarisinternals.com/wiki/index.php/ZFS_Evil_Tuning_Guide#Limiting_the_ARC_Cache

And cZFS (compact ZFS or whatever) was Alpha or Beta stage during
their way to ARM port
http://www.osdevcon.org/2009/slides/arm_vineeth_pillai.pdf so it was
used on devices like Soekris and similar with eg. 64MB and cZFS.

Reply via email to