Re: pressuring dirty pages (2.3.99-pre6)

Stephen C. Tweedie
2000-04-26T11:06:38Z

Hi,

On Tue, Apr 25, 2000 at 02:14:30PM -0500, Eric W. Biederman wrote:

> Right. A RSS guarantee sounds like it would make for easier tuning.
> But a hard RSS max has the advantage of hitting a memory space hog
> early, before it has a chance to get all of memory dirty, and simply
> penalizes the hog.

Agreed --- RSS limits for the biggest processes in the system are
definitely needed.

> Also under heave load a RSS garantee and a RSS hard limit are the
> same.

Not at all --- that's only the case if you only have one process
experiencing memory pressure, or if you are in equilibrium. It's the
bits in between, where we are under changing load, which are the most
interesting, and in that case you still want your smallest processes to
have the protection of the RSS guarantees while you start dynamically
reducing the RSS limit on the biggest processes.

--Stephen