LWN.net Logo

ext3 fsync is the real issue

ext3 fsync is the real issue

Posted May 30, 2008 7:41 UTC (Fri) by Cato (subscriber, #7643)
In reply to: In defense of Firefox by felixfix
Parent article: In defense of Firefox

The real issue for me is that ext3 has a broken implementation of fsync() - since fsync is a
file based operation there's no excuse for syncing *all other files on the filesystem*.
Having said that, I think FF3 or sqlite could equally have used O_SYNC on write, which has
lower performance in the single file case but far better performance when other files need
syncing with fsync().


(Log in to post comments)

ext3 fsync is the real issue

Posted May 30, 2008 17:05 UTC (Fri) by nlucas (subscriber, #33793) [Link]

The SQLite main developer has already tried to make sqlite to use O_SYNC instead of fsync. The
performance dropped to half.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds