tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Monday Simon <MondayS () logica ! com>
To: tru64-unix-managers
Subject: SUMMARY:Maximum Stack per Process
Date: Tue, 12 Sep 1995 06:03:00 +0000	[thread overview]
Message-ID: <96075323306530.tru64-unix-managers.marc@archive.invalid> (raw)


Once again this list has come up tops with replies starting from 2 hours 
after I sent the original post.

Thanks are due to:
Bernoit Maillard - Digital France
Bill Marco Digital Switzerland
Andy Phillips Mullard Space Science Lab (University Col London)
Paul E Rockwell - Digital USA
Knut Helleboe - Norsk Hydro
Kristian Koehntopp

Next My question

> I'm running Digital UNIX version 3.2 on Alpha 2100's  But need to know 
what
> the maximum size of memory which can be allocated to an individual 
process.

> I'm guessing it may be one of the parameters which can be configured in 
the
> kernel configuration file but I've yet to find were (if anywhere) the
> various options are listed in the documentation.

And A Summary of the replies

The parameters could be tuned in two places, firstly by using the sysconfig 
 -q proc command I could check what the parameters are currently set to.
 e.g.
# sysconfig -q proc
max-proc-per-user = 64
max-threads-per-user = 256
per-proc-stack-size = 2097152
max-per-proc-stack-size = 33554432
per-proc-data-size = 134217728
max-per-proc-data-size = 1073741824
max-per-proc-address-space = 1073741824
per-proc-address-space = 1073741824
autonice = 0
open-max-soft = 4096
open-max-hard = 4096
ncallout = 12364
round-robin-switch-rate = 0
round_robin_switch_rate = 0
sched-min-idle = 0
sched_min_idle = 0
give-boost = 1
give_boost = 1

And these could be altered in the /etc/sysconfigtab file with only a reboot 
to get it working.  I believe from reading the man page that on the fly 
tuning may be possible too.

The Second way to tune the parameters is in the /sys/conf/"HOSTNAME" file
where
dfldsiz         134217728       datasize per process
maxdsiz         1073741824      max datasize

dflssiz         2097152         stacksize per process
maxssiz         33554432        max stacksize

are the parameters to tune.

All these parameters and more are in the Guide to System Management document 
and Guide to System Administration

A full copy of all the replies is available on appellation

Simon Monday
Logica UK Ltd
mondays@logica.com
TEL +44 1372 227046
FAX +44 1372 227007

                 reply	other threads:[~1995-09-12  6:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox