mmap()
Michael Conlen
m at obmail.net
Wed Nov 23 09:20:59 PST 2005
On Nov 23, 2005, at 12:11 PM, Arne Wörner wrote:
> --- Michael Conlen <m at obmail.net> wrote:
>> I'm trying to tune the system to allow very large
>> mmap()'s in a
>>
> I had a similar problem with shared memory.
>
> I found an option in /sys/conf/NOTES.
>
> I think it could help in your case, if u increase
> % options MAXDSIZ=(1024UL*1024*1024)
> % options MAXSSIZ=(128UL*1024*1024)
> % options DFLDSIZ=(1024UL*1024*1024)
> apropriately.
>
> E. g. in your /sys/<arch>/conf/<kernel name>
> options MAXDSIZ=(2000UL*1024*1024)
>
> But I dont know, if that is a good idea... Maybe you should use
> nextboot(8) in case your box does not like the new kernel... :-)
I've made those changes which are reflected in the output from limit.
--
Michael Conlen
More information about the freebsd-performance
mailing list