[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: suspend processes at load (was Re: a simple OOM ...)
--On Friday, April 20, 2001 14:14:29 +0200 Szabolcs Szakacsits
<szaka@f-secure.com> wrote:
> What about the simplest case when one process thrasing? You suspend it
> continuously from time to time so it won't finish e.g. in 10 minutes but
> in 1 hour.
Isn't one prcess thrashing sort of like one hand clapping? :)
Seriously, the state we're talking about is when the running processes in
the machine collectively want significantly more memory than is available,
and none of them can make real progress. Suspending one or more of them
for a few seconds will actually improve throughput and responsiveness of
the entire system. As Rik has said, this has been in pretty much all
flavors of Unix since the early days, and it has been proven to be
effective.
I'm not saying there aren't other things we can do with working set
tracking that could help push out the point where the machine thrashes, but
at some point all those mechanisms will be overwhelmed, and process
suspension is a good last resort.
Dave McCracken
======================================================================
Dave McCracken IBM Linux Base Kernel Team 1-512-838-3059
dmc@austin.ibm.com T/L 678-3059
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/