Date: Mon, 8 Sep 2003 21:05:00 -0400 (EDT) From: Jeff Roberson <jroberson@chesapeake.net> To: Terry Lambert <tlambert2@mindspring.com> Cc: "Jim C. Nasby" <jim@nasby.net> Subject: Re: Best disk caching method (and PGSQL performance) Message-ID: <20030908210307.B12093-100000@mail.chesapeake.net> In-Reply-To: <3F5848A2.74AAF606@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 5 Sep 2003, Terry Lambert wrote: > 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. This is not accurate at all. Please see vfs_subr.c's vop_stdfsync(). We walk the dirty block head and flush those buffers that are dirty. > > 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 > _______________________________________________ > freebsd-performance@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-performance > To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030908210307.B12093-100000>