:
:
:I think that you imply explicit msync() calls still flush data to disk. Is
:that the case?
:
:Jason Young
:accessUS Chief Network Engineer

    msync never guarenteed the flushing of data to disk, it simply guarentees
    synchronization with the buffer cache.  FreeBSD, however, uses a
    coherent VM/buffer-cache.

    The FreeBSD msync with the MS_SYNC flag appears to flush VM data 
    to physical media, though in my test it is terribly slow (it doesn't 
    cluster!).  msync doesn't care whether the pages are NOSYNC or not. 
    i.e. NOSYNC has no effect on the operation of msync().

    msync() with the MS_ASYNC flag appears to cluster properly.

                                        -Matt



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to