lkml.org 
[lkml]   [2000]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Some questions about linux kernel.
>>>>> "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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.147 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site