Re: Overcomittable memory (Was: Linux 2.2.15pre12)

From: Jamie Lokier (lk@tantalophile.demon.co.uk)
Date: Mon Mar 13 2000 - 17:44:27 EST


James Sutherland wrote:
> If you REALLY want to allow for the worst case: Each process has an
> address space of 3 Gb (+1Gb kernel). Your method would require, for a
> sytem with a hard limit of 1024 processes, a minimum of 3Tb swap+RAM. You
> can try this if you want, but I don't think many people will follow this.

:-)

Obviously the problem is using Apache and mod_perl -- the most useless
possible examples.

More appropriate examples are processes that don't allocate any memory
one they have started -- they just run. Control systems and the like.
I can't quite think which ones off hand. Maybe an Occam interpreter :-)

Anyway, if you have those running, preventing overcommit, for those
processes at least, means they will not be terminated by out of memory
conditions. You don't need 3Gb in that case.

Admittedly, on a typical Linux box programs that don't allocate memory
(or call fork or use kernel services that allocate memory) are few and
far between.

-- Jamie

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



This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:26 EST