You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Randall Leeds (JIRA)" <ji...@apache.org> on 2011/01/08 23:48:45 UTC

[jira] Commented: (COUCHDB-1013) branch 1.1.x with worse database read/write performance

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

Randall Leeds commented on COUCHDB-1013:
----------------------------------------

Filipe: I cannot confirm your results. In my testing it seems write performance is slightly better while read performance is slightly worse.

First test, default settings
1.0.x@2a1f5e8b4a8bf80c632d44b6c81b0d9dfbd55174 1.1.x@38b836a044900545834f6a6a5126d09b244379cf
http://graphs.mikeal.couchone.com/#/graph/8bf31813eef7c0b7e37d1ea25903acfe

Second test, cherry pick COUCHDB-1008 onto 1.1.x
1.0.x@2a1f5e8b4a8bf80c632d44b6c81b0d9dfbd55174
1.1.x@ac4c65a4712407bb64edaca5739c0ae4acc49c02
1.1.x with server_options= [{acceptor_pool_size, 1}, {nodelay, true}]
http://graphs.mikeal.couchone.com/#/graph/8bf31813eef7c0b7e37d1ea25903c8c6

Third test, same versions as the second
1.0.x@2a1f5e8b4a8bf80c632d44b6c81b0d9dfbd55174
1.1.x@ac4c65a4712407bb64edaca5739c0ae4acc49c02
server_options= [{acceptor_pool_size, 16}, {nodelay, true}]
1.1.x with server_options= [{acceptor_pool_size, 16}, {nodelay, true}]

It looks like {nodelay, true} gives me slightly worse performance.
I got slightly better read performance, but worse write performance, with only 1 acceptor process if you compare the second and third runs, but it may be insignificant.

My read results are strange; every run shows two plateaus for read throughput with the better parts on par with 1.0.x but most of the samples far worse.

This was all done on my laptop, Ubuntu 10.10, Erlang R13B03. I can possibly repeat the tests on Monday on server class hardware. These results don't show strictly worse performance for 1.1.x and IMO is not necessarily a blocker.

> 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/%3CAANLkTim5uNVkSCVhHuu_1GA1xKVFJFBWE2-Wtb4vVx8g@mail.gmail.com%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.
-
You can reply to this email to add a comment to the issue online.