Date: Thu, 24 Feb 2005 14:07:07 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: "O. Hartmann" <ohartman@mail.uni-mainz.de> Cc: freebsd-questions@freebsd.org Subject: Re: Setting MAXDSIZ, MAXSSIZ, DFLDSIZ via kernel OIDs? Message-ID: <20050224200705.GA2480@dan.emsphone.com> In-Reply-To: <421E2D6C.20203@mail.uni-mainz.de> References: <421E2D6C.20203@mail.uni-mainz.de>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Feb 24), O. Hartmann said: > Due to runtime problems of several F77 code based scientific software > I increased possible data segment size and stack by the shown values. > > options MAXDSIZ=(2048UL*1024*1024) > options MAXSSIZ=(1024UL*1024*1024) > options DFLDSIZ=(1024UL*1024*1024) > > These changes implies building a new kernel and I would like to know > how I can set these parameters via kern.l OIDs (in > loader.conf.local). I'm sure it's documented somewhere but I find it easier to grep for the word TUNABLE in the kernel source :) Found these in subr_param.c: TUNABLE_QUAD_FETCH("kern.maxdsiz", &maxdsiz); TUNABLE_QUAD_FETCH("kern.dfldsiz", &dfldsiz); TUNABLE_QUAD_FETCH("kern.maxssiz", &maxssiz); -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050224200705.GA2480>