[lkml]   [2002]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] O_STREAMING - flag for optimal streaming I/O

    On 09-Oct-2002 Andrew Morton wrote:
    > Giuliano Pochini wrote:
    >> > The point of O_STREAMING is one change: drop pages in the pagecache
    >> > behind our current position, that are free-able, because we know we will
    >> > never want them.
    >> Does it drop pages unconditionally ?
    > Yup.
    >> What happens if I do a
    >> streaming_cat largedatabase > /dev/null while other processes
    >> are working on it ?
    > You'll make your database run really slowly.
    >> It's not a good thing to remove the whole
    >> cached data other apps are working on.
    > Don't do that then ;)

    I was thinking about hot backups of databases. But even if it
    did not drop caches "shared" by other processes it would drop
    them anyway because write-behind is still on. Probably only
    O_DIRECT can help in this case.

    > Seriously, there are tons of ways of creating local performance
    > DoS'es of this form. fsync is an excellent tool for that.

    Yes, I'm aware of that.


    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.022 / U:167.344 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site