lkml.org 
[lkml]   [2007]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: O_DIRECT question
    Hello!

    > Maybe you need to say why you want to use O_DIRECT with its terrible
    > performance?

    Incidentally, I was writing an external-memory radix-sort some time ago
    and it turned out that writing to 256 files at once is much faster with
    O_DIRECT than through the page cache, very likely because the page cache
    is flushing pages in essentially random order. Tweaking VM parameters
    and block device queue size helped, but only a little.

    Have a nice fortnight
    --
    Martin `MJ' Mares <mj@ucw.cz> http://mj.ucw.cz/
    Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
    Linux vs. Windows is a no-WIN situation.
    -
    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: 2007-01-11 14:49    [W:4.758 / U:0.580 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site