Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Nov 2005 09:11:54 -0800 (PST)
From:      Arne "Wörner" <arne_woerner@yahoo.com>
To:        Michael Conlen <m@obmail.net>, freebsd-performance@freebsd.org
Subject:   Re: mmap()
Message-ID:  <20051123171154.60414.qmail@web30307.mail.mud.yahoo.com>
In-Reply-To: <6C48A943-1AB3-4DF4-B8CC-CD75B9F36E98@obmail.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--- Michael Conlen <m@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... :-)

-Arne



		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051123171154.60414.qmail>