Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1FDBD752D for ; Wed, 17 Aug 2011 04:37:34 +0000 (UTC) Received: (qmail 78802 invoked by uid 500); 17 Aug 2011 04:37:31 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 78760 invoked by uid 500); 17 Aug 2011 04:37:20 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 78750 invoked by uid 99); 17 Aug 2011 04:37:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Aug 2011 04:37:17 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of fdmanana@gmail.com designates 209.85.210.46 as permitted sender) Received: from [209.85.210.46] (HELO mail-pz0-f46.google.com) (209.85.210.46) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Aug 2011 04:37:11 +0000 Received: by pzk32 with SMTP id 32so408051pzk.19 for ; Tue, 16 Aug 2011 21:36:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=yS0qVMvqBMndblb1IXSHk9iHYJv+XdKg7g9QM4w0ETk=; b=gQZDBih73WtfR7xdN9L20DwXc0nFzwP/oVp4c00soX2uEsiaVUFtC2CEA1VKfqKcd4 +aVLOn5E72BbawVj91xkWGtcvQEKQ7M40988E+Ndl1RgfOkJIc+DIKGT5OXUI4dgsnBq AKH+F8efD4trdBWXHvsetqtusdbcEpqzCZ14c= MIME-Version: 1.0 Received: by 10.142.140.3 with SMTP id n3mr260954wfd.218.1313555810521; Tue, 16 Aug 2011 21:36:50 -0700 (PDT) Sender: fdmanana@gmail.com Received: by 10.68.43.232 with HTTP; Tue, 16 Aug 2011 21:36:50 -0700 (PDT) In-Reply-To: References: <9E9A84DE-CA6F-453B-9FDC-C5BCA48F0B24@apache.org> Date: Tue, 16 Aug 2011 21:36:50 -0700 X-Google-Sender-Auth: U7hbiceoDa74rIsRff0EM6ZLaBw Message-ID: Subject: Re: CouchDB performance From: Filipe David Manana To: user@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, Aug 16, 2011 at 9:18 PM, John Cheng >> Have you tried setting server's socket options, in the .ini config, as >> I suggested before? (setting nodelay to true) >> >> > You know I really thought I had tried that last night without seeing a > difference. I just tried it again right now and saw that was indeed the > source of my problem. Boy do I feel embarrassed right now. > > Thank you for your patience! Np. Yes, default is false. For me, on Linux 32 bits at least, nodelay set true makes a huge difference as well. > > Just for the record, this is the setting > > socket_options =3D [{recbuf, 262144}, {sndbuf, 262144}, {nodelay, true}] > > In default.ini it is commented out, and I assume by default nodelay is se= t > to false. > --=20 Filipe David Manana, fdmanana@gmail.com, fdmanana@apache.org "Reasonable men adapt themselves to the world. =C2=A0Unreasonable men adapt the world to themselves. =C2=A0That's why all progress depends on unreasonable men."