* Increasing stack size on OSF1 V5.1
@ 2002-10-22 13:28 Gareth Owen
2002-10-22 16:04 ` Nick Hill
0 siblings, 1 reply; 3+ messages in thread
From: Gareth Owen @ 2002-10-22 13:28 UTC (permalink / raw)
Can someone tell me how (as superuser) I can raise the maximum per-process
stack size limit on OSF1 V5.1?
Individual users can us
ulimit -s <val>
up to 16384, but my Fortran code would like it to go a little higher.
Thanks
--
Gareth Owen
"Your tomato wife asparagus is cabbage dead."
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Increasing stack size on OSF1 V5.1
2002-10-22 13:28 Increasing stack size on OSF1 V5.1 Gareth Owen
@ 2002-10-22 16:04 ` Nick Hill
2002-10-22 16:22 ` Adam Price
0 siblings, 1 reply; 3+ messages in thread
From: Nick Hill @ 2002-10-22 16:04 UTC (permalink / raw)
Gareth Owen wrote:
> Can someone tell me how (as superuser) I can raise the maximum per-process
> stack size limit on OSF1 V5.1?
>
> Individual users can us
> ulimit -s <val>
> up to 16384, but my Fortran code would like it to go a little higher.
>
> Thanks
You need to adjust the following parameters in the proc subsystem:
per_proc_stack_size
max_per_proc_stack_size
As you might guess one sets the default size and one sets what you can
ulimit -s the value up to. There are similar parameters for the datasize
as well (ulimit -d).
If you like guis then dxkerneltuner is the tool for you. Otherwise look
at the manpages for sysconfig. The values get added to the file
/etc/sysconfigtab and are read at boot time.
Nick Hill
CLRC e-Science Centre
Rutherford Appleton Labs
Chilton, Didcot
Oxon, OX11 0QX
n.m.hill@rl.ac.uk
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Increasing stack size on OSF1 V5.1
2002-10-22 16:04 ` Nick Hill
@ 2002-10-22 16:22 ` Adam Price
0 siblings, 0 replies; 3+ messages in thread
From: Adam Price @ 2002-10-22 16:22 UTC (permalink / raw)
In news:3DB57728.5000304@rl.ac.uk
,Nick Hill <n.m.hill@rl.ac.uk> said:
> Gareth Owen wrote:
>> Can someone tell me how (as superuser) I can raise the maximum
>> per-process stack size limit on OSF1 V5.1?
>>
>> Individual users can us
>> ulimit -s <val>
>> up to 16384, but my Fortran code would like it to go a little higher.
>>
>> Thanks
>
> You need to adjust the following parameters in the proc subsystem:
> per_proc_stack_size
> max_per_proc_stack_size
>
> As you might guess one sets the default size and one sets what you can
> ulimit -s the value up to. There are similar parameters for the
> datasize as well (ulimit -d).
>
> If you like guis then dxkerneltuner is the tool for you. Otherwise
> look at the manpages for sysconfig. The values get added to the file
> /etc/sysconfigtab and are read at boot time.
>
All that Nick said, plus a pointer to the system configuration and tuning
guide and the man page for sys_attrs.
http://www.tru64unix.compaq.com/docs/base_doc/DOCUMENTATION/V51A_HTML/ARH9GBTE/TITLE.HTM
The sys_attrs man page is important as it will tell you which subsystems
individual parameters belong to.
Adam Price
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-10-22 16:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-22 13:28 Increasing stack size on OSF1 V5.1 Gareth Owen
2002-10-22 16:04 ` Nick Hill
2002-10-22 16:22 ` Adam Price
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox