On Mon, 30 Oct 2006, Ruediger Pluem wrote:
BTW: Does anybody know if MMAP for writing files is possible / makes sense / improves performance?
It reduces some data-copying, so it's a tad cheaper to mmap. But, on Linux you can't do sendfile from a file that's being written to with mmap, and since I wanted to be able to do read-while-caching I dropped the mmap-write-idea since the drawbacks was way larger than the benefits.
YMMV /Nikke -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se | [EMAIL PROTECTED] --------------------------------------------------------------------------- DIME: A dollar after taxes. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=