RE: [PATCH] Patch to Memory Subsystem ... (Needed?)

Stephen C. Tweedie (sct@redhat.com)
Tue, 10 Nov 1998 15:19:08 GMT


Hi,

On Tue, 10 Nov 1998 15:08:23 +0100, Brian Schau <bsc@fleggaard.dk> said:

>> Keeping significant amounts of memory free just-in-case seems
>> pointless.

> Correct. And too many people have gotten the wrong impression
> (which, unfortunately, is my fault!).
> My patch works on the "grand total" of free memory, swap as well as
> physical. Not just physical memory ...............
> So, add an extra Mb to you swapspace (or swapfile) and you're set!

Yes, but in practice it's physical memory, not virtual memory, which is
the bottleneck once you start thrashing. If you really want to
guarantee root can do something useful, you need to be able to
dynamically reserve a RSS quota for root as well as reserving the swap
space. Either one on its own is incomplete.

--Stephen

-
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/