Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0446F42CF for ; Mon, 23 May 2011 20:34:46 +0000 (UTC) Received: (qmail 75260 invoked by uid 500); 23 May 2011 20:34:45 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 75233 invoked by uid 500); 23 May 2011 20:34:45 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 75225 invoked by uid 99); 23 May 2011 20:34:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 May 2011 20:34:45 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of adam.kocoloski@gmail.com designates 74.125.83.52 as permitted sender) Received: from [74.125.83.52] (HELO mail-gw0-f52.google.com) (74.125.83.52) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 May 2011 20:34:40 +0000 Received: by gwj15 with SMTP id 15so3221639gwj.11 for ; Mon, 23 May 2011 13:34:19 -0700 (PDT) Received: by 10.236.109.132 with SMTP id s4mr3638349yhg.380.1306182859825; Mon, 23 May 2011 13:34:19 -0700 (PDT) Received: from [192.168.0.164] (c-24-60-185-198.hsd1.ma.comcast.net [24.60.185.198]) by mx.google.com with ESMTPS id 25sm2883190yhl.5.2011.05.23.13.34.17 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 23 May 2011 13:34:17 -0700 (PDT) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: Build CouchDB process and Erlang HiPE(High Performance Erlang) From: Adam Kocoloski In-Reply-To: Date: Mon, 23 May 2011 16:34:15 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <702E9678-E4A3-4871-AAD4-FE0D5B1A1714@apache.org> References: To: dev@couchdb.apache.org X-Mailer: Apple Mail (2.1084) Cloudant used to run with +native across the board. It made more = efficient use of the CPU, but definitely introduced segfaults. These = were fixed in R14 [1], but we never tried it again. Best, Adam [1]: https://github.com/erlang/otp/commit/8bbcec On May 23, 2011, at 4:26 PM, Damien Katz wrote: > I tried recently compiling everything in src/couchdb with +native. I > didn't hit stability problems, but everything was significantly = slower. > This was a recent Erlang built 64bit erlang on OS X. I think the 32bit > native might give better results, but it wasn't encouraging. >=20 >=20 > -Damien >=20 >=20 >=20 > On 5/23/11 12:21 PM, "Marcos Ortiz" wrote: >=20 >> regards, >> I was reading a great post from Jack Moffit=B4s blog about "Speed Up >> Ejabberd" and one thing that he told there is the use of the native = code >> compiler (HiPE) for CPU hungry modules on this way: >> cd src/ >> erlc +native module_code.erl >>=20 >> Have you tested the CouchDB=B4s source code with HiPE? >> It would be nice to have these results on any case >>=20 >> Thanks >>=20 >> --=20 >> Marcos Lu=EDs Ort=EDz Valmaseda >> Software Engineer (Large-Scaled Distributed Systems) >> University of Information Sciences, >> La Habana, Cuba >> Linux User # 418229 >> http://about.me/marcosortiz >>=20 >=20 >=20