Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Sep 2003 01:26:10 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Sean Chittenden <sean@chittenden.org>
Cc:        "Jim C. Nasby" <jim@nasby.net>
Subject:   Re: Best disk caching method (and PGSQL performance)
Message-ID:  <3F5848A2.74AAF606@mindspring.com>
References:  <20030904220709.GR37152@nasby.net> <20030904224156.GD75041@perrin.nxad.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Sean Chittenden wrote:
> > Also, has anyone played with the other fsync options?
> 
> FreeBSD only supports the default fsync option.

And as the comments point out, it lacks the introspection to
know dirty pages from clean ones, so all pages that are in
core and associated with the object are written, not just
the dirty ones.  Avoid this, if possible.

It would be nice if there were an fcntl that would F_SYNCRANGE
or something similar, so the applicaion could hint the range it
wanted written to the kernel.

-- Terry



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F5848A2.74AAF606>