[Mongrel] Gentoo warning

Ezra Zygmuntowicz ezmobius at gmail.com
Thu Nov 22 22:18:29 EST 2007


On Nov 22, 2007, at 4:33 PM, Alexey Verkhovsky wrote:

> On Nov 22, 2007 5:00 PM, Ezra Zygmuntowicz <ezmobius at gmail.com> wrote:
>> but you definitely want to turn [pthreads] off.
>
> Definitely, but... you may need it on, if you use an extension that
> itself relies on pthreads. Which is why Redhat has Ruby compiled with
> pthreads.
>
> By the way, what kind of performance penalty has anyone seen from
> pthreads in a real app?
>

	The only thing that ruby uses pthreads for is if you use tk afaik. I  
did some benchmarks on gentoo with pthreads enabled and disabled and a  
rails app performs a serious 25% or more faster with pthreads  
disabled. A very real difference.

Cheers-
-Ezra



More information about the Mongrel-users mailing list