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

maxssiz and maxssiz_64bit


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

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

Honored Contributor
Posts: 5,684
Registered: ‎08-05-2000
Message 2 of 3 (367 Views)

Re: maxssiz and maxssiz_64bit

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




Acclaimed Contributor
Posts: 17,825
Registered: ‎07-16-1998
Message 3 of 3 (367 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.
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.