Operating System - HP-UX
1847603 Members
7443 Online
110265 Solutions
New Discussion

kernel parmeter - madsiz value

 
william_39
Occasional Advisor

kernel parmeter - madsiz value

Dear all,
i have doubt about madsiz parameter value ...
in what unit it should be , i mean in
pages/bytes ??

if i say,

maxdsiz 262144

what does it means ??

Thanks in advance
william.
4 REPLIES 4
Pete Randall
Outstanding Contributor

Re: kernel parmeter - madsiz value

William,

This is from SAM's help page on configurable kernel parameters:
Specify the maximum data segment size, in bytes, for an executing
process.
Acceptable Values:
maxdsiz for 32-bit processors:

Minimum: 0x400000 (4 Mbytes)
Maximum: 0x7B03A000 (approx 2 Gbytes)
Default: 0x4000000 (64 Mbytes)

maxdsiz_64bit for 64-bit processors:

Minimum: 0x400000 (4 Mbytes)
Maximum: 4396972769279
Default: 0x4000000 (64 Mbytes)

Hope this helps,
Pete

Pete
V. V. Ravi Kumar_1
Respected Contributor

Re: kernel parmeter - madsiz value

hi,

maxdsiz 262144
indicates u are allocating a maximum of 262144 bytes data segment size for a process under execution.

regds
Never Say No
william_39
Occasional Advisor

Re: kernel parmeter - madsiz value

Thanks a lot,
i have got it, in /stand/system file u have to specify maxdsize parameter in bytes, where as when we say "sysdef" it shows this value in no. of pages.

Hope iam correct, if not pl. correct me.

Cheers
william.

James R. Ferguson
Acclaimed Contributor

Re: kernel parmeter - madsiz value

Hi William:

That is correct. If you look at the heading in 'sysdef' you will see that the units are "pages".

If you are running 11.0 or later, you should use 'kmtune -q 'name>' or 'kmtune -l -q for a detailed report of the ed parameter. 'sysdef' is deprecated on 11.x and may not provide as reliable information as 'kmtune'.

Regards!

...JRF...