Ruby 1.8.7 enable-pthread for performance improvement
Issue
It is well known enable-pthread option is causing slowness in Ruby 1.8.7. In Ruby enterprise edition, it uses disable-pthread, and in ruby version rolled out by puppet for puppet enterprise 2.0 for RHEL6, it also uses disable-pthread. In Ubuntu/Oneiric 11.10, this issue is resolved, it uses "ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]".
In RHEL6U2 (ruby-1.8.7.352-3.el6.x86_64) and Fedora 16 (ruby-1.8.7.352-3.el6.x86_64), the enable-pthread is still in place, causing slowness.
Upstream bug:
Fix pthreads slowness by eliminating unnecessary sigprocmask calls
Environment
Red Hat Enterprise Linux
6.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.