Ask a Question related to FreeBSD, Design and Development.
-
O. Hartmann #1
Setting MAXDSIZ, MAXSSIZ, DFLDSIZ via kernel OIDs?
Hello.
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).
Thanks,
Oliver
O. Hartmann Guest
-
disabling OIDs?
The spam filtering package I use (dspam) had a section in their release notes recently which stated that disabling OIDs greatly increased speeds,... -
Strange OIDs returned for IBM 3584 v2c trap variables
I am using the Perl Convert::BER module to decode traps, and it works fine with both v1 and v2c traps for several MIBs and even caters for OID... -
kernel-source versus kernel-patch
Hi, The description of the kernel-source-2.4.21 package says "Linux kernel source for version 2.4.21 with Debian patches". But, there is another... -
How to apply no-debianized kernel patch to debianized kernel-source?
Hello everybody I (like many others in the last few days) have a problem with kernel 2.4.21. I have downloaded the kernel-source-2.4.21 deb, and... -
Kernel 2.4.20
Hi all. I downloaded the file: kernel-source-2.4.20_2.4.20-8_all.deb then ran dpkg -i kernel-source-2.4.20_2.4.20-8_all.deb Ran dselect, and... -
Dan Nelson #2
Re: Setting MAXDSIZ, MAXSSIZ, DFLDSIZ via kernel OIDs?
In the last episode (Feb 24), O. Hartmann said:
I'm sure it's documented somewhere but I find it easier to grep for the> 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).
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
[email]dnelson@allantgroup.com[/email]
Dan Nelson Guest



Reply With Quote

