lkml.org 
[lkml]   [2003]   [Dec]   [20]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSat, 20 Dec 2003 08:03:27 -0800
FromAndrew Morton <>
SubjectRe: Test program with VM or FS problems
jlnance@unity.ncsu.edu wrote:
>
>  Hello Andrew,
>      About a year ago I told you I would get you some more information
>  about a problem I was seeing that might be in the Linux VM or ext{2,3}
>  code.

I thought you'd forgotten!

>  For most of the run the temp file is smaller
>  than this.  So for most of the run both files will fit into the
>  memory of the machine.  Thus I would expect the program to run
>  quickly, because it will not need to touch the disk.  Things are
>  in cache.  This is not what I see.  Instead the program seems to
>  be very much disk bound.

I bet the use-once page replacement heuristic is doing the wrong thing.  I
noticed it playing up once - the machine had 30M on the inactive list and
reading a 40M file repeatedly caused that file to never get cached.  it
just kept on reclaiming itself.


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

\
 
 \ /
  Last update: 2005-03-22 12:59    [from the cache]
©2003-2008