Date: Wed, 23 Nov 2005 12:20:56 -0500 From: Michael Conlen <m@obmail.net> To: =?ISO-8859-1?Q?Arne_W=F6rner?= <arne_woerner@yahoo.com> Cc: freebsd-performance@freebsd.org Subject: Re: mmap() Message-ID: <FCD0051C-A8D3-433E-8C62-F01FFDF95FE4@obmail.net> In-Reply-To: <20051123171154.60414.qmail@web30307.mail.mud.yahoo.com> References: <20051123171154.60414.qmail@web30307.mail.mud.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Nov 23, 2005, at 12:11 PM, Arne W=F6rner wrote: > --- 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=3D(1024UL*1024*1024) > % options MAXSSIZ=3D(128UL*1024*1024) > % options DFLDSIZ=3D(1024UL*1024*1024) > apropriately. > > E. g. in your /sys/<arch>/conf/<kernel name> > options MAXDSIZ=3D(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=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FCD0051C-A8D3-433E-8C62-F01FFDF95FE4>