[ 
https://issues.apache.org/jira/browse/COUCHDB-1013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011612#comment-13011612
 ] 

Jan Lehnardt commented on COUCHDB-1013:
---------------------------------------

I did a few more tests.

First: benchbulk.sh from test/bench/benchbulk.sh
Second: ab

The reasoning, both would allow separate testing of the r/w performance, in the 
read case (ab), reading a single doc will ensure that we don't measure disk IO, 
but couch/mochiweb.

I ran benchbulk.sh in two configurations, ab in one configuration, I'm showing 
the top three out of five runs.

This is on my Unibody MacBook, 2.4Ghz, 4GB RAM, SSD, Erlang R14B (erts-5.8.1) 
[source] [64-bit] [smp:2:2] [rq:2] [async-threads:4] [hipe] [kernel-poll:true], 
ab and benchbulk.sh running on the same machine as CouchDB.

Conclusion: No significant differences between cd214b2 and 4b0948d. The results 
are of limited applicability, but I think they are close enough to support the 
conclusion.

Results:

benchbulk.sh

BULKSIZE=1000
DOCSIZE=10
INSERTS=10
ROUNDS=10

mochi-pre

real    0m8.553s
user    0m8.296s
sys     0m1.608s

real    0m8.431s
user    0m8.290s
sys     0m1.601s

real    0m8.706s
user    0m8.296s
sys     0m1.603s

mochi-post

real    0m8.412s
user    0m8.287s
sys     0m1.603s

real    0m8.632s
user    0m8.297s
sys     0m1.618s

real    0m8.513s
user    0m8.291s
sys     0m1.608s

--

BULKSIZE=1000
DOCSIZE=100
INSERTS=10
ROUNDS=10

mochi-pre

real    0m11.401s
user    0m12.692s
sys     0m1.796s

real    0m11.998s
user    0m12.707s
sys     0m1.817s

real    0m11.453s
user    0m12.694s
sys     0m1.806s

mochi-post

real    0m11.554s
user    0m12.692s
sys     0m1.793s

real    0m11.616s
user    0m12.690s
sys     0m1.795s

real    0m11.658s
user    0m12.706s
sys     0m1.819s

--

ab -c 25 -n 10000

mochi-pre

Requests per second:    1017.80 [#/sec] (mean)
Time per request:       24.563 [ms] (mean)
Time per request:       0.983 [ms] (mean, across all concurrent requests)
Transfer rate:          307.13 [Kbytes/sec] received

Requests per second:    1084.57 [#/sec] (mean)
Time per request:       23.051 [ms] (mean)
Time per request:       0.922 [ms] (mean, across all concurrent requests)
Transfer rate:          327.28 [Kbytes/sec] received

Requests per second:    1017.11 [#/sec] (mean)
Time per request:       24.580 [ms] (mean)
Time per request:       0.983 [ms] (mean, across all concurrent requests)

Transfer rate:          306.92 [Kbytes/sec] receive

mochi-post

Requests per second:    1051.70 [#/sec] (mean)
Time per request:       23.771 [ms] (mean)
Time per request:       0.951 [ms] (mean, across all concurrent requests)
Transfer rate:          317.36 [Kbytes/sec] received

Requests per second:    1056.78 [#/sec] (mean)
Time per request:       23.657 [ms] (mean)
Time per request:       0.946 [ms] (mean, across all concurrent requests)
Transfer rate:          318.89 [Kbytes/sec] received

Requests per second:    1068.53 [#/sec] (mean)
Time per request:       23.397 [ms] (mean)
Time per request:       0.936 [ms] (mean, across all concurrent requests)
Transfer rate:          322.44 [Kbytes/sec] received


> branch 1.1.x with worse database read/write performance
> -------------------------------------------------------
>
>                 Key: COUCHDB-1013
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1013
>             Project: CouchDB
>          Issue Type: Bug
>            Reporter: Filipe Manana
>             Fix For: 1.1, 1.2
>
>
> The issue is described in an e-mail sent to the development mailing list:
> http://mail-archives.apache.org/mod_mbox/couchdb-dev/201012.mbox/%[email protected]%3E
> It also affects trunk.
> Would love to have results from other on Linux/ext4, and other 
> OSes/filesystems besides Mac OS X.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to