Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2006 01:41:03 +0900
From:      MANTANI Nobutaka <nobutaka@freebsd.org>
To:        Hideyuki KURASHINA <rushani@freebsd.org>
Cc:        ports@freebsd.org
Subject:   Re: Ruby oddity (pthreads)
Message-ID:  <86r757r4yo.wl%nobutaka@nobutaka.org>
In-Reply-To: <20060313.004512.55510725.rushani@FreeBSD.org>
References:  <20060313.004512.55510725.rushani@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@nobutaka.org, nobutaka@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86r757r4yo.wl%nobutaka>