From owner-freebsd-questions@FreeBSD.ORG Thu Sep 14 10:51:26 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6EB5F16A415 for ; Thu, 14 Sep 2006 10:51:26 +0000 (UTC) (envelope-from freebsd@orchid.homeunix.org) Received: from orchid.homeunix.org (aum120.neoplus.adsl.tpnet.pl [83.27.20.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 927DA43D73 for ; Thu, 14 Sep 2006 10:51:20 +0000 (GMT) (envelope-from freebsd@orchid.homeunix.org) Received: from [192.168.1.66] (blackacidevil.orchid.homeunix.org [192.168.1.66]) (authenticated bits=0) by orchid.homeunix.org (8.13.6/8.13.6) with ESMTP id k8EAovpK013933 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 14 Sep 2006 12:51:04 +0200 (CEST) (envelope-from freebsd@orchid.homeunix.org) Message-ID: <4509340A.4070406@orchid.homeunix.org> Date: Thu, 14 Sep 2006 12:50:50 +0200 From: Karol Kwiatkowski User-Agent: Thunderbird 1.5.0.5 (X11/20060731) MIME-Version: 1.0 To: Olivier Nicole References: <200609120901.k8C91gXr004122@banyan.cs.ait.ac.th> <200609140121.k8E1LwSh008156@banyan.cs.ait.ac.th> <4508B70E.60604@orchid.homeunix.org> <200609140205.k8E25bqR014918@banyan.cs.ait.ac.th> In-Reply-To: <200609140205.k8E25bqR014918@banyan.cs.ait.ac.th> X-Enigmail-Version: 0.94.1.0 OpenPGP: id=06E09309; url=http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig530C3D26E1F286D12126292C" X-Virus-Scanned: ClamAV 0.88.4/1880/Thu Sep 14 10:34:24 2006 on orchid.homeunix.org X-Virus-Status: Clean Cc: freebsd-questions@freebsd.org Subject: Re: Slow install of Ruby 18 from ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@orchid.homeunix.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 10:51:26 -0000 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 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--