ubell (AT) sleepycat (DOT) com wrote:
Quote:
Andi,
We are not aware of any cache related issues on Mac OS X with 4.4 or
previous releases. If you have a specific example we would gladly look
into it. In 4.4 we added the feature to relate locks and other objects
in the database to specific process and threads. We have discovered
that on some systems getting the thread id is more expensive than it
aught to be. This should be unrelated to the cache size, but can add
to the processing time of some operations on such operating systems.
Michael Ubell
Sleepycat Software. |
About a year ago I had a serie of email exchanges with Michael Cahill
about this very issue (adding cache on Mac OS X slowing things down).
We concluded that it was an opportunity for improvement on Darwin.
I can send you that email thread if you'd like.
As for the 4 times performance difference between:
- 4.3.29 without cache on OS X 10.4.3
- 4.4.16 without cache on OS X 10.4.3
that is rather easy to verify. If you'd like I can walk you through an
example as well.
Luckily, adding cache resolves the problem. Still, the amount of disk
space used is now 64 Mb larger for no obvious improvement when compared
to 4.3.29.
How would you like to proceed ?
Andi..