Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 2006 12:50:50 +0200
From:      Karol Kwiatkowski <freebsd@orchid.homeunix.org>
To:        Olivier Nicole <on@cs.ait.ac.th>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Slow install of Ruby 18 from ports
Message-ID:  <4509340A.4070406@orchid.homeunix.org>
In-Reply-To: <200609140205.k8E25bqR014918@banyan.cs.ait.ac.th>
References:  <200609120901.k8C91gXr004122@banyan.cs.ait.ac.th>	<cb5206420609130404r39040a30j8dc1137aa246c8d2@mail.gmail.com>	<200609140121.k8E1LwSh008156@banyan.cs.ait.ac.th>	<4508B70E.60604@orchid.homeunix.org> <200609140205.k8E25bqR014918@banyan.cs.ait.ac.th>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig530C3D26E1F286D12126292C
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: quoted-printable

On 14/09/2006 04:05, Olivier Nicole wrote:
>> I don't know why. I'm running DNS server on old Celeron 400Mhz with
>> 96MB RAM just fine. Why do you think you need Xeon dual core for that?=

>=20
> Of course I don't, and won't.
>=20
> I was just replying to the guy that told me that I am using archaic
> hardware and that it makes building ruby slow.
>=20
> I do use a number of PIII servers (more than Xeon) and am very happy
> with them.

OK, I'm guilty of not reading the whole thread, I apologise.
(note to self: don't reply while half asleep)

Just out of curiosity I tried ruby port on two machines - fast one
(1.6GHz Athlon with 1GB RAM) and small one (400MHz with 96MB RAM).
Fast one has no problems with ruby, it builds and installs in few
minutes. The slow one is another story, however.

build time, no problem here:
460.448u 63.175s 9:52.80 88.3%  3844+2249k 911+151io 308pf+0w

install time:
565.634u 72.527s 1:46:30.87 9.9%        11+-4438k 1711+40io 464794pf+4w

At least that how it looked when I pressed ^C

The machine was slow, swapping a lot (about 150MB of swap used), with
CPU idling most of the time. I guess Ruby being scripted language
doesn't help performance, either.

Installing from a package takes about 3 minutes, however. I've never
noticed problems with ruby because I build all needed packages on a
fast machine (having a lot of memory helps), then install them on the
small ones.

To sum up, try using a package instead[1].

HTH,

Karol

[1] There's another option - make the port not to generate
documentation but that would mean hacking it, I don't see any knobs to
do that.

--=20
Karol Kwiatkowski  <freebsd at orchid dot homeunix dot org>
OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc


--------------enig530C3D26E1F286D12126292C
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFCTQRezeoPAwGIYsRCMjUAJ0THJffHwqE7hVjeh0NggDTkS96iwCfd4e4
rdMI5gYQIp/w8QJxQmVGr18=
=OPaM
-----END PGP SIGNATURE-----

--------------enig530C3D26E1F286D12126292C--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4509340A.4070406>