-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 30/03/11 12:28, Brian McBride wrote: > In a recent thread initiated by Frank called "Bad Jena TDB performance" > I reported that I was getting around a factor of 2 differences in > performance between two Windows 7 machines with surprisingly a my laptop > being around twice as fast as my desktop when TDB was doing a lot of > syncing to disk. > > I believe I can now account for this. > > My theory is that on the laptop SYNC's are returning before changed > buffers have reached the spinning magnetic surface of the disk. I have > no reason to believe this is TBD's fault.
Hi Brian, This reminds me of a discussion about sync (roughly flush to kernel) and fsync (flush kernel buffers to disk) on linux, triggered by firefox [1] many moons ago. In that discussion I recall one of the reasons for avoiding fsync was to preserve laptop battery. [2] Damian [1] <http://shaver.off.net/diary/2008/05/25/fsyncers-and-curveballs/> [2] <http://thunk.org/tytso/blog/2009/03/15/dont-fear-the-fsync/> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2TIdUACgkQAyLCB+mTtykhPwCfbiz3bJw+tie81gZcuXQQF19w F3MAoIjtFmstC2JimfBAHLozaPrH4w1z =yple -----END PGP SIGNATURE-----
