From owner-freebsd-questions@FreeBSD.ORG Fri Dec 5 17:56:34 2003 Return-Path: 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 6BF8A16A4CE for ; Fri, 5 Dec 2003 17:56:34 -0800 (PST) Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B68A43FDF for ; Fri, 5 Dec 2003 17:56:30 -0800 (PST) (envelope-from barner@in.tum.de) Received: from zi025.glhnet.mhn.de (localhost.glhnet.mhn.de. [127.0.0.1]) by zi025.glhnet.mhn.de (8.12.9p2/8.12.9) with ESMTP id hB61uKS2051951; Sat, 6 Dec 2003 02:56:20 +0100 (CET) (envelope-from simon@zi025.glhnet.mhn.de) Received: (from simon@localhost) by zi025.glhnet.mhn.de (8.12.9p2/8.12.9/Submit) id hB61uITP051950; Sat, 6 Dec 2003 02:56:18 +0100 (CET) (envelope-from simon) Date: Sat, 6 Dec 2003 02:56:18 +0100 From: Simon Barner To: Gary Lum Message-ID: <20031206015618.GA32790@zi025.glhnet.mhn.de> References: <20031206011837.9625.qmail@web12401.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VbJkn9YxBvnuCH5J" Content-Disposition: inline In-Reply-To: <20031206011837.9625.qmail@web12401.mail.yahoo.com> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at informatik.tu-muenchen.de cc: freebsd-questions@freebsd.org Subject: Re: two questions, X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Dec 2003 01:56:34 -0000 --VbJkn9YxBvnuCH5J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > I've gotten cvsup working correctly. It is following > 5_1_RELENG and "." for ports. I want to do a daily > check using crontabs and have created one under root. > However, my daily mail says that it can't find cvsup. > IS this just a simple fix by putting in the full path > or am I missing something? Yes, probably. Why don't you give it a shot? =20 > Second, > I was following the portupgrade tutorial for > upgrading your installed ports at onlamp.=20 >=20 > http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html >=20 > I ran "portupgrade -arR" about 9pm on Thursday. It is > now 5pm on Friday and it's STILL running. > My box isn't the fastest on the block, but it is a > Dual P2 300 (running SMP) with 256 megs of RAM and am > running X , Apache2, and PHP aside from the standard > setup/ > I guess my question is more a concern in that I > inadvertantly installed ALL the ports in the > collection. Did I? Manning portupgrade, the -a says > "upgrade all INSTALLED" with the "r"'s being forward > and backwards recursive, but 20 hours? Well, that depends which and how many ports you have installed on your box. I have a 400Mhz K6-III here, and updating Gnome 2.4 to 2.5 took me more that half a day of CPU-time (there were also some other ports that got updated). If you have a lot of ports installed of which quite a lot are outdated, it might indeed take a while until portupgrade is finished. You can post a list of installed ports if you are unsure. Just a guess: Are that your second CPU isn't idle? It is possible to have `= make' execute multiple jobs simultaneously (with the -j parameter). To make this the default, you should add the following line to /etc/make.conf MAKE_ARGS=3D-j N where N is the number of (compilation, assembly, ...) jobs, that are started concurrently. For your dual processor system, I'd recommend N=3D2 or N=3D4 (having more processes than CPUs can speed up non-CPU bound, jobs given that your I/O system is fast enough). Simon --VbJkn9YxBvnuCH5J Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/0TdCCkn+/eutqCoRAu19AKDzY5CjxMV3WAtYM6UcNPAAMJW+lgCfXlcc jAJYeaSU0mVs7vX8Y+j9JEQ= =PuL6 -----END PGP SIGNATURE----- --VbJkn9YxBvnuCH5J--