Re: Best disk caching method (and PGSQL performance)
From: Terry Lambert (tlambert2_at_mindspring.com)
Date: 09/05/03
- Previous message: Terry Lambert: "Re: 20TB Storage System (fsck????)"
- In reply to: Sean Chittenden: "Re: Best disk caching method (and PGSQL performance)"
- Next in thread: Jeff Roberson: "Re: Best disk caching method (and PGSQL performance)"
- Reply: Jeff Roberson: "Re: Best disk caching method (and PGSQL performance)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 05 Sep 2003 01:26:10 -0700 To: Sean Chittenden <sean@chittenden.org>
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
_______________________________________________
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"
- Previous message: Terry Lambert: "Re: 20TB Storage System (fsck????)"
- In reply to: Sean Chittenden: "Re: Best disk caching method (and PGSQL performance)"
- Next in thread: Jeff Roberson: "Re: Best disk caching method (and PGSQL performance)"
- Reply: Jeff Roberson: "Re: Best disk caching method (and PGSQL performance)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]