Setting MAXDSIZ, MAXSSIZ, DFLDSIZ via kernel OIDs?

Ask a Question related to FreeBSD, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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,...
    2. 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...
    3. 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...
    4. 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...
    5. 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...
  3. #2

    Default Re: Setting MAXDSIZ, MAXSSIZ, DFLDSIZ via kernel OIDs?

    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
    [email]dnelson@allantgroup.com[/email]
    Dan Nelson Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139