On Mon, 12 Apr 2010 10:14:05 -0700, Stewart Smith <stewart@flamingspork.com> wrote: > On Mon, 12 Apr 2010 17:24:35 +0200, "Sebastian Spaeth" <Sebastian@SSpaeth.de> wrote: > > What I find intersting is that we have a 2x speedup and a 10x speedup > > for different queries. Olly was saying on IRC that both *should* really be > > behaving in much the same manner. > > Remember that on ext3 (and pretty sure ext4) fsync is the same as > sync(). So performance depends on how much dirty data you have in your cache. > > libeatmydata also gets rid of msync(), O_SYNC etc as well. Which is why so many of us have started to use BTRFS... Much smaller performance degradation when doing frequent fsync's /D -- Dirk Hohndel Intel Open Source Technology Center