lkml.org 
[lkml]   [2001]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [resent PATCH] Re: very slow parallel read performance
On August 27, 2001 08:37 pm, Oliver Neukum wrote:
> Hi,
>
> > - Readahead cache is naturally a fifo - new chunks of readahead
> > are added at the head and unused readahead is (eventually)
> > culled from the tail.
>
> do you really want to do this based on pages ? Should you not drop all
> pages associated with the inode that wasn't touched for the longest
> time ?

Isn't that very much the same as dropping pages from the end of the readahead
queue?

> If you are streaming dropping all should be no great loss.

The quesion is, how do you know you're streaming? Some files are
read/written many times and some files are accessed randomly. I'm trying to
avoid penalizing these admittedly rarer, but still important cases.

--
Daniel


-
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:58    [W:2.181 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site