Interesting. I wonder that Lawrence was seeing...
On Jan 6, 2009, at 7:11 AM, Jan Lehnardt wrote:
On 6 Jan 2009, at 00:46, Geir Magnusson Jr. wrote:
It was reported that w/ the same up-to-date version of erlang, they
found a big performance difference between 0.8 and current trunk.
If that's true, then it seems to me that something changed in the
filesystem handling in the CouchDB code itself - it could be that
there are multiple flush modes, and the 0.8 code used whatever
corresponds to fsync(), and trunk uses whatever corresponds to
fnctl(F_FULLSYNC). I don't know It's a guess. But yesterdays
results are unexplained, and I hate mysteries.
$ ab -c 10 -n 1000 -p emptypost -T 'application/json'
http://127.0.0.1:5984/test_suite_db
CouchDB 0.8.1:
Requests per second: 6.56 [#/sec] (mean)
CouchDB trunk r731451 (pre-async-commit-patch):
Requests per second: 5.94 [#/sec] (mean)
Cheers
Jan
--