From owner-freebsd-bugs@FreeBSD.ORG Fri Jun 4 23:00:12 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12F8A1065674 for ; Fri, 4 Jun 2010 23:00:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 026458FC1D for ; Fri, 4 Jun 2010 23:00:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o54N0BaD004198 for ; Fri, 4 Jun 2010 23:00:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o54N0BaE004182; Fri, 4 Jun 2010 23:00:11 GMT (envelope-from gnats) Date: Fri, 4 Jun 2010 23:00:11 GMT Message-Id: <201006042300.o54N0BaE004182@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Peter Jeremy Cc: Subject: Re: bin/147451: "gcc -g -O2 -march=nocona" loops compiling devel/qt4-script X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Peter Jeremy List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 23:00:12 -0000 The following reply was made to PR gnu/147451; it has been noted by GNATS. From: Peter Jeremy To: Garrett Cooper Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/147451: "gcc -g -O2 -march=nocona" loops compiling devel/qt4-script Date: Sat, 5 Jun 2010 08:52:49 +1000 --s2ZSL+KKDSLx8OML Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2010-Jun-03 18:49:35 -0700, Garrett Cooper wrote: >Worked for me on this machine, but I have over 12GB of RAM... so not >really a fair comparison. I tried again on a different host (2.5GHz Athlon 4850e with 2GB RAM and 9GB swap) and "-O2 -g -march=3Dnocona" ran out of swap after 7.6 hrs CPU. "-O2", "-O2 -g" and "-O2 -march=3Dnocona" each ran in 25-30 secs. Interestingly, the working set remained fairly small (<1GB) so the system wasn't thrashing (though ZFS was very unhappy). >This is probably one of those ridiculous optimizer bugs like what >happened with x11-servers/xorg-server back in the day when 4.2.1 was >initially imported... It's probably a "well, don't do that then" case but if someone feels like chasing it down, I won't object. --=20 Peter Jeremy --s2ZSL+KKDSLx8OML Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwJg8EACgkQ/opHv/APuIfe+wCcCHiYmN4Rb1MKGj+uCIoBiclf 0FsAoJLXxdWvaCc2k//QdgtHohJFfpAc =iVwR -----END PGP SIGNATURE----- --s2ZSL+KKDSLx8OML--