Re: scsi vs ide performance on fsync's

Stephen C. Tweedie
2001-03-08T11:10:21Z

Hi,

On Wed, Mar 07, 2001 at 10:36:38AM -0800, Linus Torvalds wrote:
> On Wed, 7 Mar 2001, Jeremy Hansen wrote:
> >
> > So in the meantime as this gets worked out on a lower level, we've decided
> > to take the fsync() out of berkeley db for mysql transaction logs and
> > mount the filesystem -o sync.
> >
> > Can anyone perhaps tell me why this may be a bad idea?
>
> - it doesn't help. The disk will _still_ do write buffering. It's the
> DISK, not the OS. It doesn't matter what you do.
> - your performance will suck.

Added to which, "-o sync" only enables sync metadata updates. It
still doesn't force an fsync on data writes.

--Stephen