lkml.org 
[lkml]   [2002]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] O_STREAMING - flag for optimal streaming I/O
    On Thu, Oct 10, 2002 at 12:20:02AM +0100, Jamie Lokier wrote:
    > Mark Mielke wrote:
    > > 2) Pages should not be candidates for dropping if the pages belong
    > > to the first few pages of a file. (First = 2? 4? 8?) The theory
    > > being, that somebody could begin reading the file again from the
    > > beginning.
    > This breaks the benefit of using O_STREAMING to read a lot of small
    > files once, as you might do when grepping the kernel tree for example.

    It doesn't break it. It reduces it to current speeds.

    I might be wrong, but it seems to me that O_STREAMING isn't the answer
    to everything. The primary benefactors of O_STREAMING would be
    applications that read very large files that do not fit into RAM, from
    start to finish.

    If you want to improve grepping the kernel tree, the answer lies in
    improving the standard scheme, not overloading the specialized
    O_STREAMING scheme.

    mark

    --
    mark@mielke.cc/markm@ncf.ca/markm@nortelnetworks.com __________________________
    . . _ ._ . . .__ . . ._. .__ . . . .__ | Neighbourhood Coder
    |\/| |_| |_| |/ |_ |\/| | |_ | |/ |_ |
    | | | | | \ | \ |__ . | | .|. |__ |__ | \ |__ | Ottawa, Ontario, Canada

    One ring to rule them all, one ring to find them, one ring to bring them all
    and in the darkness bind them...

    http://mark.mielke.cc/

    -
    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 13:29    [W:0.021 / U:75.064 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site