Re: msync() differences between Linux and FreeBSD

2008-07-04 Thread Peter Jeremy
On 2008-Jul-02 05:00:02 -0700, Marcus Reid [EMAIL PROTECTED] wrote: It seems that in FreeBSD, msync() waits for bits to be committed to disk even when MS_ASYNC is specified. Your previous ktrace output suggests that, at least for the way rrdtool is using mmap(2), physical I/O is being performed

msync() differences between Linux and FreeBSD

2008-07-02 Thread Marcus Reid
Hi, I recently had a patch accepted to the ports collection that took out an msync() call that seriously detrimented performance for rrdtool updates. It seems that in FreeBSD, msync() waits for bits to be committed to disk even when MS_ASYNC is specified. Under Linux, there is not such a wait