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 9385178D2 for ; Wed, 17 Aug 2011 04:19:53 +0000 (UTC) Received: (qmail 60085 invoked by uid 500); 17 Aug 2011 04:19:51 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 59530 invoked by uid 500); 17 Aug 2011 04:19:46 -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 59522 invoked by uid 99); 17 Aug 2011 04:19:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Aug 2011 04:19:45 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of johnlicheng@gmail.com designates 209.85.218.52 as permitted sender) Received: from [209.85.218.52] (HELO mail-yi0-f52.google.com) (209.85.218.52) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Aug 2011 04:19:37 +0000 Received: by yie13 with SMTP id 13so701565yie.11 for ; Tue, 16 Aug 2011 21:19:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=rwVXkYK/wXK5pA350BrSEvD8rrWCx1QvpG4Hy4tOdfw=; b=aIQbOc0b1FQwIRhbyF022otGxOSu+thGfeBca/OuYNKg6gp5jhev7/OFZH9v48zTkJ bRWs55xQjxVQgELPMkcdjp9hvNEkgZ9gbc76NLIVCJkv73v/JPC+FGTWLalgWWr3o4sn 8nC5PFKrQDC8wayI0GUsrKT7XHJaqRf4Poixo= Received: by 10.101.134.40 with SMTP id l40mr538031ann.138.1313554756114; Tue, 16 Aug 2011 21:19:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.105.3 with HTTP; Tue, 16 Aug 2011 21:18:56 -0700 (PDT) In-Reply-To: References: <9E9A84DE-CA6F-453B-9FDC-C5BCA48F0B24@apache.org> From: John Cheng Date: Tue, 16 Aug 2011 21:18:56 -0700 Message-ID: Subject: Re: CouchDB performance To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=001636c9274ca1974b04aaabccaf X-Virus-Checked: Checked by ClamAV on apache.org --001636c9274ca1974b04aaabccaf Content-Type: text/plain; charset=ISO-8859-1 On Tue, Aug 16, 2011 at 8:21 PM, Filipe David Manana wrote: > On Tue, Aug 16, 2011 at 8:18 PM, John Cheng wrote: > > same kind of behavior that I've observed. It could help uncover some > > unexpected performance regression in v 1.10.0. > > 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! Just for the record, this is the setting socket_options = [{recbuf, 262144}, {sndbuf, 262144}, {nodelay, true}] In default.ini it is commented out, and I assume by default nodelay is set to false. --001636c9274ca1974b04aaabccaf--