Ruby oddity (pthreads)

MANTANI Nobutaka nobutaka at
Sun Mar 12 16:41:12 UTC 2006

At Mon, 13 Mar 2006 00:45:12 +0900 (JST),
Hideyuki KURASHINA wrote:
> I found the rskkserv (ports/japanese/rskkserv; Simple Kana to Kanji
> conversion server program in Ruby) eats much CPU time.  This results
> in increased load average (over 1, here).  It also prevents one of
> powerd(8) merits (i.e., battery life improvement) on cpufreq-awared
> laptops.
> When I disabled pthreads support for Ruby by WITHOUT_PTHREADS knob,
> the problem has gone.  I confirmed it on FreeBSD 6.0 and
> ruby-1.8.4_4,1.

japanese/migemo port also has problem with ruby-1.8.4.
It fails to build by illegal instruction error on 7-current, 6-stable and 5-stable.
With ruby installed from lang/ruby18-nopthreads port, it builds successfully.
But lang/ruby18-nopthreads port and lang/ruby18-nopthreads port conflicts each other.

> I would like to see ports/lang/ruby18 will be built without pthreads
> support by default.

I'll second this.

MANTANI Nobutaka
nobutaka at, nobutaka at

More information about the freebsd-ports mailing list