Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Ultrix: Limiting a process' real memory consumption
@ 1993-09-10 13:43 Ulrich Neumerkel
  1993-09-11  0:23 ` Alan Rollow - Alan's Home for Wayward Tumbleweeds.
  0 siblings, 1 reply; 2+ messages in thread
From: Ulrich Neumerkel @ 1993-09-10 13:43 UTC (permalink / raw)


Hello,
According to man csh, memory use of a process is limitable
with limit (-h) memoryuse (or the corresponding syscall setrlimit).
However, such a limitation does not seem to change the
scheduling (and memory allocation) policy in an observable manner.
While ps -v actually shows the current limitiations, the percentage
of real memory used does not change at all even if there are other
processes with high memory usage and without limitations. Even a
very severe memory limitation does not have impacts.

I would like to avoid that certain processes that use a lot of
virtual memory deteriorate all other running processes on the machine
by using "their" real memory.

(Limiting the data size of a process is not ok for me, the processes
should continue running, but "slower").

Is there any possibility to obtain such a behaviour in Ultrix?

Thank You,
Ulrich 

-- 
Ulrich Neumerkel, ulrich@dec4.wu-wien.ac.at ulrich@mips.complang.tuwien.ac.at
TU-Wien, Vienna University of Technology, +431 58801 4477 fax +431 5057838
Institut fuer Computersprachen E185/1 Argentinierstr.8/4, A-1040 Wien Austria


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Ultrix: Limiting a process' real memory consumption
  1993-09-10 13:43 Ultrix: Limiting a process' real memory consumption Ulrich Neumerkel
@ 1993-09-11  0:23 ` Alan Rollow - Alan's Home for Wayward Tumbleweeds.
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Rollow - Alan's Home for Wayward Tumbleweeds. @ 1993-09-11  0:23 UTC (permalink / raw)



In article <26q09t$igk@email.tuwien.ac.at>, ulrich@mips.complang.tuwien.ac.at (Ulrich Neumerkel) writes:

>
>I would like to avoid that certain processes that use a lot of
>virtual memory deteriorate all other running processes on the machine
>by using "their" real memory.

ULTRIX (nor BSD I suspect) have a mechanism to limit the working
set.  If the paging system is tuned reasonably, inactive pages
should be paged out and the virtual size of a process doesn't
matter (except in its use of page/swap space).

There may be some commentary on the choice of using global paging
in the 4.3BSD design book; "The Design and Implementation of the
4.3BSD UNIX Operating System".  The number of pages that desire to
be active is greater than the number of pages avaialble, you'll
have to page.  The only other choice is reduce the number of
pages wishing to be active.  I doubt setting working set limits
will do that.  It will simply cause one application to page
more so that another may page less.  I suspect the total amount
of paging is the about the same.

>
>
>Thank You,
>Ulrich 

--
Alan Rollow				alan@nabeth.cxo.dec.com



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1993-09-11  0:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-09-10 13:43 Ultrix: Limiting a process' real memory consumption Ulrich Neumerkel
1993-09-11  0:23 ` Alan Rollow - Alan's Home for Wayward Tumbleweeds.

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