Ruby oddity (pthreads)

Hideyuki KURASHINA rushani at FreeBSD.org
Sun Mar 12 15:45:35 UTC 2006


Hi,

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.

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

Regards,

-- rushani
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060312/8b7d4a57/attachment.pgp


More information about the freebsd-ports mailing list