Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Dec 2003 02:56:18 +0100
From:      Simon Barner <barner@in.tum.de>
To:        Gary Lum <g_lum@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: two questions,
Message-ID:  <20031206015618.GA32790@zi025.glhnet.mhn.de>
In-Reply-To: <20031206011837.9625.qmail@web12401.mail.yahoo.com>
References:  <20031206011837.9625.qmail@web12401.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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