In my experience OS X take a much more significant hit for fsync calls
than other systems. As far as I can tell there isn't a whole lot of
benefit in calling fsync alone since it has no effect on the actual
drive cache. Sqlite works quite a bit better with synchronous (fsync)
disabled and there isn't any increase in data exposure.
Thanks for a great explanation. A similar thread has come up on the
sqlite list, claiming that using F_FULLFSYNC leads to dramatic
performance decreases on Darwin over other platforms. Any thoughts on
Subject: [sqlite] sluggish operation on os x?
Date: February 21, 2005 12:44:03 AM PST
Finally getting my SQLite3 code working, I'm experiencing awfully slow
performance when writing individual data on OS X.
Linux (Ubuntu) is lightning fast, Win32 is.. tolerable, but OS X
really crawls. I've tried both with built-in sources, and the new
SQLite3 fink module. Same behaviour.
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden