lkml.org 
[lkml]   [2002]   [Oct]   [10]   [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 03:17:35PM +0200, Giuliano Pochini wrote:
    > O_STREAMING is a way to reduce cache footprint of some
    > files, ad it does the job very well, unless those files
    > are accessed concurrently by two of more processes.
    > Thing again about to backup a large database. I don't
    > want to use tar because it kills the caches. I would
    > like a way to read the db so that the cached part of
    > the db (the 20% which gets 80% of accesses) is not
    > expunged.

    Unless you are pausing the database (causing the files on disk to be in a
    useful state) and then reading the file you will have trouble. Anything
    else will have to syncronize with the database itself, and thus can't use
    O_STREAMING.
    -
    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:2.412 / U:0.132 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site