Re: maxssiz and maxssiz_64bit (308 Views)
Reply
Frequent Advisor
aruns_s
Posts: 150
Registered: ‎12-15-2005
Message 1 of 3 (308 Views)

maxssiz and maxssiz_64bit

Hi,

Just got confused with following two tunables.
maxssiz and maxssiz_64bit.

If my system is running on 64bit processor, is
maxssiz irrelavant?

Please use plain text.
Honored Contributor
Duncan Edmonstone
Posts: 5,678
Registered: ‎08-05-2000
Message 2 of 3 (308 Views)

Re: maxssiz and maxssiz_64bit

No, maxssiz still applies to any processes that are still 32-bit, of which there are plenty.

HTH

Duncan

HTH

Duncan
Please use plain text.
Acclaimed Contributor
A. Clay Stephenson
Posts: 17,825
Registered: ‎07-16-1998
Message 3 of 3 (308 Views)

Re: maxssiz and maxssiz_64bit

... and in general don't go nuts on setting these guys to large values even in 64-bit land.

For 32-bit applications, 32MiB is sufficient and 64MiB is extremely generous. For 64-bit applications, 128MiB is more than generous. When a software developer requests a large stack that is almost a big red flag that you have purchased bad code. Well written code uses dynamically allocated memory that does not come from the stack. The stack should really only be used for local variables. Heavily recursive code might need larger stacks but the vast majority of code needs only a small stack (< 32MiB).

If it ain't broke, I can fix that.
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation