ruby1.8: pthreads kills performance

Sam Quigley quigley at
Tue Jan 13 19:38:00 UTC 2009

Package: ruby1.8
Severity: important


as discussed here --
-- among other places, the version of ruby1.8 that ships in ubuntu has
the --enable-pthreads option compiled in, which leads to a serious
performance penalty for most users.  Ruby 1.8's support for threads
isn't particularly mature anyway, so having pthreads compiled in
probably doesn't help many people; the performance boost from removing
it, however, would probably improve most people's experience.  It'd be
great if you could disable pthreads by default.  Some quick googling
suggests that other *nixes have followed this strategy, and that it
doesn't break anything.


-- System Information:
Debian Release: lenny/sid
   APT prefers hardy-updates
   APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500,  
'hardy-backports'), (500, 'hardy')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-21-xen (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL  
set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages ruby1.8 depends on:
ii  libc6               2.7-10ubuntu4        GNU C Library: Shared  
ii  libruby1.8 Libraries necessary to  
run Ruby 1.

ruby1.8 recommends no packages.

-- no debconf information

More information about the ubuntu-users mailing list