* Help on Configuring Memory Limits
@ 1994-11-04 6:14 Brian Saunders
1994-11-07 23:30 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
0 siblings, 1 reply; 2+ messages in thread
From: Brian Saunders @ 1994-11-04 6:14 UTC (permalink / raw)
Here's the situation: we have 64-meg DEC 3000/400s with OSF/1 1.3. I
would like to configure the machines so that no user can run a job that
reserves more memory than the physical limit. I realize that I probably
need to change the values of maxdsiz and maxssiz, but I'm not sure what I
should set them at. Their default values seem quite high (1 GB?).
Also, for a lot of the f77 code used by our users, we see a large virtual
size (VSZ), but a much smaller real size (RSS). What does this mean? It
seems for all code where the VSZ is larger than the actual amount of
physical memory, we see a severe hit machine performance (lots of
swapping, I imagine). It seems that this is unnecessary, though, as in
these cases the RSS is still a lot less than the physical memory
available.
Suggestions?
--
Brian E. Saunders saunders@castor.che.wisc.edu
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Help on Configuring Memory Limits
1994-11-04 6:14 Help on Configuring Memory Limits Brian Saunders
@ 1994-11-07 23:30 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
0 siblings, 0 replies; 2+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1994-11-07 23:30 UTC (permalink / raw)
In article <saunders-0411940014390001@caspar.che.wisc.edu>, saunders@castor.che.wisc.edu (Brian Saunders) writes:
>Here's the situation: we have 64-meg DEC 3000/400s with OSF/1 1.3. I
>would like to configure the machines so that no user can run a job that
>reserves more memory than the physical limit. I realize that I probably
>need to change the values of maxdsiz and maxssiz, but I'm not sure what I
>should set them at. Their default values seem quite high (1 GB?).
Which physical limit? The 64 MB physical memory or the unmentioned
limit of swap space. The latter is easy; just use the default
swap space allocation scheme and it will ensure that no problem
uses more than is available. If you want 64 MB as an arbitrary
limit on memory use, then how do you divide it up? You mentioned
maxdsiz (1 GB default), maxssiz (32 MB default) but forgot maxtsiz
(text default unknown). Do you want to limit all three so that the
sum can't be more than the 64 MB? How do you want to apportion them?
Or, do you want limit each to 64 MB allow a single program to use
as much as 192 MB virtual memory?
The values in the configuration file are byte values (probably
rounded to pages internally) for the limits. For example if
you want limit text to 8 MB and divide the remaining evenly
between stack and data:
maxtsiz 8388608
maxssiz 29360128
maxdsiz 29360128
Realize that 64 MB is a somewhat arbitrary limit, since any
program using 64 MB of virtual memory on a 64 MB physical
memory is certain to cause some paging.
>
>Also, for a lot of the f77 code used by our users, we see a large virtual
>size (VSZ), but a much smaller real size (RSS). What does this mean?
It means the program has a lot of pages that aren't used all the
time and so the system can page out the unused one and keep the
used ones in memory. Or it means that some large part of the
programs are shared (run time library?) and the individual
data and text needs are small per program. Most likely it is
a combination of both.
>It seems for all code where the VSZ is larger than the actual amount of
>physical memory, we see a severe hit machine performance (lots of
>swapping, I imagine).
Or paging. Remember that swapping entails movement of whole
processes, while paging only deals with parts of processes.
>
>Suggestions?
You might find it useful to see what parts of the virtual memory
size of the programs is shared and what part is merely not "active"
and thus usable for paging. I'm not sure what bits of ps listings
you can look at to get that information though.
>
>--
>Brian E. Saunders saunders@castor.che.wisc.edu
>
--
Alan Rollow alan@nabeth.cxo.dec.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-11-07 23:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-11-04 6:14 Help on Configuring Memory Limits Brian Saunders
1994-11-07 23:30 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox