From owner-freebsd-current Tue Jul 2 17:13:41 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9662937B400 for ; Tue, 2 Jul 2002 17:13:36 -0700 (PDT) Received: from scaup.mail.pas.earthlink.net (scaup.mail.pas.earthlink.net [207.217.120.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B73443E3B for ; Tue, 2 Jul 2002 17:13:36 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0704.cvx21-bradley.dialup.earthlink.net ([209.179.194.194] helo=mindspring.com) by scaup.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17PXm2-0000O8-00; Tue, 02 Jul 2002 20:13:35 -0400 Message-ID: <3D224182.BFE8CF22@mindspring.com> Date: Tue, 02 Jul 2002 17:12:50 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: current@FreeBSD.ORG Cc: Matthew Dillon Subject: Re: -current results (was something funny with soft updates?) References: <200207020314.g623Eke5038019@apollo.backplane.com> <20020702164756.E70767@dragon.nuxi.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG David O'Brien wrote: > On Mon, Jul 01, 2002 at 08:14:46PM -0700, Matthew Dillon wrote: > > My conclusion is that softupdates is working fine and (A) the new GCC > > is a whole lot less efficient then the old GCC > > You really cannot say this -- GCC 3.1 does things 2.95 doesn't. 3.1 has > a totally rewritten code scheduler. People can't get Pentium-4 and > Athlon tbird specific optimizations for free. > > You almost seem to be making a claim on the quality of generated code, > vs. just the run-time of the compiler. The two are different. But it's possible to be conclusive. The way you would do this is to compile the 3.1 compiler with the 3.1 compiler for one test, and compile the 3.1 compiler with the 2.95 compiler for the other. If the 3.1 compiler compiled with the 2.95 compiler is faster, then 2.95 "wins" on code generation. I rather suspect that 3.1 is doing additional work, other than "intentionally" bloating the boot blocks into unusability, etc., and you will find that the 3.1 compiled 3.1 is more efficient than the 2.95 compiled 3.1. At which point it becomes a trade between compilation time vs. run time efficiency. Personally, I prefer knowing my code should work before giving it to the compiler, rather than using the compiler to think about things I'm too lazy/incapable of thinking of on my own. Given that, I would always favor a trade for faster run time and slower compile time. I think maybe the main problem here is that people have been utilizing the wall time of "make world" as some kind of generic benchmark for so long that the idea of any increase in the wall time can't help but trigger a gut reaction against it. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message