Okay, if you uncomment line 26 in /etc/couchdb/default.ini:

http://bazaar.launchpad.net/~wibblymat/ubuntu/oneiric/couchdb/update-
to-1.1.0/view/head:/etc/couchdb/default.ini.tpl.in#L26

socket_options = [{recbuf, 262144}, {sndbuf, 262144}, {nodelay, true}]

Then the performance is back up to what is was in 1.0.1.  I guess
CouchDB was perhaps running with nodelay by default before, and now it
isn't?  Anyway, gory benchmark details running with that line
uncommented:

jderose@jgd-test:~/bzr/microfiber/trunk$ ./benchmark_microfiber.py 
*** Benchmarking microfiber ***
Python: 3.2.2rc1, x86_64, Linux
  Saving 2000 documents in db 'test_benchmark_microfiber'...
    Seconds: 13.62
    Saves per second: 146.9
  Getting 2000 documents from db 'test_benchmark_microfiber'...
    Seconds: 6.31
    Gets per second: 316.9
  Deleting 2000 documents from db 'test_benchmark_microfiber'...
    Seconds: 10.27
    Deletes per second: 194.8
Total seconds: 30.20
Total ops per second: 198.7

jderose@jgd-test:~/bzr/microfiber/trunk$ ./benchmark_pycouchdb.py 
*** Benchmarking python-couchdb ***
Python: 2.7.2+, x86_64, Linux
  Saving 2000 documents in db 'test_benchmark_pycouchdb'...
    Seconds: 84.01
    Saves per second: 23.8
  Getting 2000 documents from db 'test_benchmark_pycouchdb'...
    Seconds: 9.09
    Gets per second: 220.0
  Deleting 2000 documents from db 'test_benchmark_pycouchdb'...
    Seconds: 11.65
    Deletes per second: 171.7
Total seconds: 104.75
Total ops per second: 57.3

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/817656

Title:
  Please merge couchdb 1.1.0-1 (main) from Debian unstable (main)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/couchdb/+bug/817656/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to