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 C0CBE102C2 for ; Wed, 12 Feb 2014 20:36:09 +0000 (UTC) Received: (qmail 94541 invoked by uid 500); 12 Feb 2014 20:36:08 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 94493 invoked by uid 500); 12 Feb 2014 20:36:07 -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 94485 invoked by uid 99); 12 Feb 2014 20:36:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Feb 2014 20:36:07 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of paul.joseph.davis@gmail.com designates 209.85.214.172 as permitted sender) Received: from [209.85.214.172] (HELO mail-ob0-f172.google.com) (209.85.214.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Feb 2014 20:36:03 +0000 Received: by mail-ob0-f172.google.com with SMTP id vb8so11155050obc.3 for ; Wed, 12 Feb 2014 12:35:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=t+LgwIgL/Kv9G3JyDPBWZfazFcz0Mcg1OePGo8CwhU8=; b=Z7ePuaKJVDsyLEiWyk39ehYrLzGCieBAIUBMxiKG4czryWNRBTiscGqyU0iYPf0ieD 3AXqKbqLxu4JEd0y5+j4Vbpnjl4FAwVbzcg1QJV/CMdI0sFQ7cFqlKHMIdlhOteEkXXz LFEryaGd9QxeZ40acT74YA2x3T7iuw3o+EoLCEXY50cVRBcbiupr0cin5ygVsPJX7dGJ mLHxx9ndT8d8LX9dbZUwquw+4zzYqCwP6TmKICVX7YwTUm1aa7uug6bZCV/WkJitKzGI UdBswSJdhakNOLyvJXuvfro/8vvJGegNws81ZOCt9JmH89TzW+VVIh9UuMO8tMYpSuUH 1tUw== X-Received: by 10.182.22.18 with SMTP id z18mr13836006obe.42.1392237342497; Wed, 12 Feb 2014 12:35:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.60.162.36 with HTTP; Wed, 12 Feb 2014 12:35:02 -0800 (PST) In-Reply-To: <9161C548-8BB3-40C5-97E9-284D3B3ADF26@jasonwinshell.com> References: <9C42F4BD-2761-43EC-BDE5-947493650618@jasonwinshell.com> <9161C548-8BB3-40C5-97E9-284D3B3ADF26@jasonwinshell.com> From: Paul Davis Date: Wed, 12 Feb 2014 14:35:02 -0600 Message-ID: Subject: Re: Super slow attachment upload speed on localhost To: "user@couchdb.apache.org" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org We just recently fixed this issue. My immediate guess is that the OS X packages haven't been updated by Dave was quick to get the Windows binaries up. On Wed, Feb 12, 2014 at 2:30 PM, Jason Winshell w= rote: > All: It works fine on Windows. > > I retested the large attachment upload using the latest Windows build (in= VMWare). > > * Windows (x86) Erlang/OTP R16B01 | Version 1.5.0 > > BTW, in the curl transcript, the Windows Couch build reports a ## LATER #= ## version of Erlang (R16B02), not R16B01 as shown on the web site. > > Server: CouchDB/1.5.0 (Erlang OTP/R16B02) > > 3MB < 1 sec > 10 MB < 1 sec > 20 MB < 1 sec > 40 MB ~ 1 sec > 80 MB ~ 2 sec > 160 MB ~ 6 sec > > > There's something seriously wrong with the current Mac OS version > > * Mac OS X (10.6+) Erlang/OTP R16B01 | Version 1.5.0 > > In the curl transcript, the Mac version reports Erlang R16B01, an earlier= version than Windows > > Server: CouchDB/1.5.0 (Erlang OTP/R16B01) > > What's the story between the difference on the Mac and Windows? How can I= build CouchDB on the Mac that uses the same version of Erlang (Erlang OTP/= R16B02) as Windows, so I can do a retest on the Mac. > > This problem took me a day to work out. Argh. > > > > On Feb 12, 2014, at 10:09 AM, Jason Winshell wr= ote: > >> Can you please elaborate. I don't know what this means? Thanks. >> >> On Feb 12, 2014, at 10:04 AM, Alexander Shorin wrote: >> >>> I believe this issue has the same reasons as COUCHDB-1986 does. >>> -- >>> ,,,^..^,,, >>> >>> >>> On Wed, Feb 12, 2014 at 9:43 PM, Robert Samuel Newson >>> wrote: >>>> Try -T myrandom.dat instead of --data-binary @ to stream it without lo= ading it into ram. >>>> >>>> B. >>>> >>>> On 12 Feb 2014, at 17:32, Jason Winshell wro= te: >>>> >>>>> Hello, >>>>> >>>>> I am finding that uploading an attachment to CouchDB 1.5 is incredibl= y slow when transferring from curl. Both curl and Couch are running on loca= lhost (no network). I switched to a curl test after seeing the same problem= with Futon and the Ektorp framework. I tried the loopback address, 127.0.0= .1 too. >>>>> >>>>> For a 3MB file with curl I'm seeing a 22-25 second upload. curl says = the average upload speed is 146K/sec. What's going on? Why is Couch taking = so long to process the attachment stream? >>>>> >>>>> HELP! >>>>> >>>>> Thanks >>>>> >>>>> Jason >>>>> >>>>> Platform: Mac OS X 10.9.1 (Mavericks), CouchdB 1.5, 16GB ram, 1TB dis= k, 2.2ghz i7 >