Re: Some questions about linux kernel.

From: Peter Chubb (peterc@aurema.com)
Date: Tue Mar 14 2000 - 20:43:55 EST


>>>>> "Rik" == Rik van Riel <riel@conectiva.com.br> writes:

Rik> On Sun, 12 Mar 2000, Adam wrote:
>> > The idea I had a few weeks ago to solve the problem and so to find out the
>> > hog (and that I'll experiment in real life 2.3.x soon) is to add a
>> > per-task page fault rate (ala avg_slice). Once we'll know the page fault
>> > rate and the time of the last fault per each process, we'll be almost able
>> > to find out the memory hog without possible mistakes and we won't need
>> > anything else.
>>
>> That sounds interesting. I would be interested to see actual
>> statistic of the per task page faults.

Rik> It is definately interesting, HOWEVER the OOM rescue code is
Rik> only to be run in an emergency.

We've done this (calculated per-task fault rates) here as part of
other memory-management experiments --- I'll clean up the diffs and
send them to the kernel list soon.

One thing that became clear as we did it is that the
setrlimit(RLIMIT_RSS,) call is a no-op. So we're also trying to fix
that.

Our work is currently against 2.2.14, but the patches shouldn't be too
hard to put into 2.3.51.

Peter C

-
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:29 EST