[svlug] Sync command slowdown
Brian J. Tarricone
bjt23 at cornell.edu
Mon Nov 24 18:30:56 PST 2008
Greg Lindahl wrote:
> sync is a big club: it syncs all the files in the system instead of
> just the ones you care about. And it can kill performance for other
> processes if there are a lot of pages to be written out.
Though, if you're using ext3, a whole-disk sync() and a single-file
fsync() are sadly equivalent with certain (common?) journaling modes.
(See the not-so-recent Firefox 3 bug relating to fsync() when
committing various sqlite databases to disk.)
More information about the svlug