From owner-freebsd-alpha@FreeBSD.ORG Mon Dec 13 17:31:03 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3292316A52A for ; Mon, 13 Dec 2004 17:31:03 +0000 (GMT) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id D363A43D31 for ; Mon, 13 Dec 2004 17:31:02 +0000 (GMT) (envelope-from kirk@strauser.com) Received: from localhost (localhost [127.0.0.1]) by kanga.honeypot.net (Postfix) with ESMTP id 07B6121C86C for ; Mon, 13 Dec 2004 11:31:02 -0600 (CST) Received: from kanga.honeypot.net ([127.0.0.1]) by localhost (kanga.honeypot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28014-18 for ; Mon, 13 Dec 2004 11:31:01 -0600 (CST) Received: from janus.daycos.com (janus.daycos.com [204.26.70.77]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by kanga.honeypot.net (Postfix) with ESMTP id 1561421C86B for ; Mon, 13 Dec 2004 11:31:01 -0600 (CST) From: Kirk Strauser To: freebsd-alpha@freebsd.org Date: Mon, 13 Dec 2004 11:30:56 -0600 User-Agent: KMail/1.7.1 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4145941.ZGd3zhQGtU"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200412131130.59807.kirk@strauser.com> X-Virus-Scanned: amavisd-new at honeypot.net Subject: Safe (but quick) GCC settings on a PC64 with 5.3? X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Dec 2004 17:31:03 -0000 --nextPart4145941.ZGd3zhQGtU Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I just upgraded a little PC64 from FreeBSD 4.10 to 5.3 via the installer=20 ISO. First, I'd like to send my gratitude and appreciation to everyone who= =20 helped on the Alpha port; the upgrade was a piece of cake and worked=20 perfectly from the first boot. Anyway, I'm planning to rebuild all of my ports to take advantage of GCC's= =20 new optimizations (versus the old 2.95 version they'd been previously built= =20 with) and the kernel to try to wring a little more performance out of this= =20 small system whose dmesg starts with: Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.3-STABLE #0: Sun Dec 12 22:31:54 CST 2004 root@gopher.honeypot.net:/usr/obj/usr/src/sys/NEW_GOPHER EB64+ Digital AlphaPC 64 274 MHz, 274MHz 8192 byte page size, 1 processor. CPU: EV45 (21064A) major=3D6 minor=3D2 OSF PAL rev: 0x100040002012d real memory =3D 266346496 (254 MB) avail memory =3D 250544128 (238 MB) apecs0: I currently have these in my /etc/make.conf: CPUTYPE=3Dev45 CFLAGS=3D -O -pipe -mieee COPTFLAGS=3D -O -pipe I have *no* desire to make an unstable system in an attempt to squeeze out= =20 that last 0.2% of performance. On the other hand, this box isn't exactly a= =20 speed demon and every little bit can make a noticeable difference. If I=20 can get an extra 10% at the cost of a lengthy recompile, I'll jump at the=20 chance. I have much more experience with x86 and Sparc systems than Alpha, and I'm= =20 not really sure what else I should or could have in there. I've read the=20 "DEC Alpha Options" section of GCC manual, but I don't have the experience= =20 to know whether things like '-mno-soft-float' are good or bad, or whether I= =20 should be mucking around with '-mmemory-latency'. This is where I could=20 really use a bit of guidance. Many thanks! =2D-=20 Kirk Strauser --nextPart4145941.ZGd3zhQGtU Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iD8DBQBBvdHT5sRg+Y0CpvERAqXTAKChccA36JoUYP+a+3OG+yOHBATWBgCcCBXr H6ELapujR0rlRzcGAWtxt3s= =un85 -----END PGP SIGNATURE----- --nextPart4145941.ZGd3zhQGtU--