From owner-freebsd-questions@FreeBSD.ORG Fri Mar 16 03:44:14 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BAEED16A400 for ; Fri, 16 Mar 2007 03:44:14 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id 5C90A13C480 for ; Fri, 16 Mar 2007 03:44:14 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id l2G3iORP036519; Thu, 15 Mar 2007 19:44:24 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id l2G3iNMg036518; Thu, 15 Mar 2007 19:44:23 -0800 (PST) (envelope-from kline) Date: Thu, 15 Mar 2007 19:44:23 -0800 From: Gary Kline To: Garrett Cooper Message-ID: <20070316034423.GA36425@thought.org> References: <200703150321.18033.danny@ricin.com> <20070315153157.GA22789@thought.org> <45FA0E37.4020102@u.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45FA0E37.4020102@u.washington.edu> User-Agent: Mutt/1.4.2.2i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing twenty years of service to the Unix community Cc: freebsd-questions@freebsd.org Subject: Re: Optimizationn questions? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2007 03:44:14 -0000 On Thu, Mar 15, 2007 at 08:25:43PM -0700, Garrett Cooper wrote: > Gary Kline wrote: > >On Wed, Mar 14, 2007 at 08:19:49PM -0700, youshi10@u.washington.edu wrote: > >>On Thu, 15 Mar 2007, Danny Pansters wrote: > >> > > No problem. -funroll-loops might not buy you too much other than a few > less instructions overall but I'm not sure how intelligent gcc is at > unrolling loops. It seemed like there was a difference between > optimizations in the 4.x branch compared to the 3.4.x sub branch. They > made a lot of improvements in the 4.x branch though.. it's just that > some of those improvements broke code, so that's probably why FreeBSD > doesn't have gcc-4.x in the base system. Until one of my hardware buddes can swap memory from an unsed Kayak into my "new" (koff-koff) one, I have to be careful about the added bytes that loop unrolling costs. It's ballpark 10% with the default gcc. I'm building the 4.x stuff now with no ++CFLAGS. The compiler guys know their stuff. If any good and surprising news happens, I'll post it. "Unix: get every last billionth-of-a-penny's worth out of your hardware." ah, life! gary > > Cheers :). > -Garrett > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org www.thought.org Public Service Unix