lkml.org 
[lkml]   [2003]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRE: limit resident memory size
On Thu, 12 Jun 2003, David Schwartz wrote:

> > I would like to limit the maximum resident memory size
> > of a process within a threshold, i.e. if its virtual
> > memory footprint exceeds this threshold, it needs to
> > swap out pages *only* from within its VM space.
>
> Why? If you think this is a good way to be nice to other
> processes, you're wrong.

RSS limits are a good idea, provided that they are only
enforced when the system is low on memory. Once the system
starts swapping and is into the "lots of disk IO" territory
anyway, it can be a good idea to have the processes that
exceed their RSS limit suffer more than the ones that don't.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.050 / U:2.884 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site