[lkml]   [2002]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] O_STREAMING - flag for optimal streaming I/O
    Mark Mielke wrote:
    > 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.

    It don't have to be a file that don't fit into RAM. Remember, other
    running apps wants memory and cache too, so the "fair share" of memory
    for _this_ process is much smaller than all of RAM.
    So, O_STREAMING makes sense for all files where we know that we're going
    sequentially and that caching this for long won't help.
    (Because the contents likely will be pushed out before we need
    them again anyway (DVD case) or we know were going to delete
    the file, or we simply don't want to push anything else
    out even if we could cache this.)

    Helge Hafting
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:29    [W:0.018 / U:2.040 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site