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.
> 
> 
> -Damien
> 
> 
> 
> On 5/23/11 12:21 PM, "Marcos Ortiz" <[email protected]> wrote:
> 
>> regards,
>> I was reading a great post from Jack Moffit´s 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
>> 
>> Have you tested the CouchDB´s source code with HiPE?
>> It would be nice to have these results on any case
>> 
>> Thanks
>> 
>> -- 
>> Marcos Luís Ortíz Valmaseda
>> Software Engineer (Large-Scaled Distributed Systems)
>> University of Information Sciences,
>> La Habana, Cuba
>> Linux User # 418229
>> http://about.me/marcosortiz
>> 
> 
> 

Reply via email to