From owner-freebsd-current@FreeBSD.ORG Thu Aug 21 18:10:40 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FB92106567B; Thu, 21 Aug 2008 18:10:40 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id C868F8FC13; Thu, 21 Aug 2008 18:10:39 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.2/8.14.2) with ESMTP id m7LIAd1O018732; Thu, 21 Aug 2008 11:10:39 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.2/8.14.2/Submit) id m7LIAdkY018731; Thu, 21 Aug 2008 11:10:39 -0700 (PDT) (envelope-from sgk) Date: Thu, 21 Aug 2008 11:10:39 -0700 From: Steve Kargl To: Kris Kennaway Message-ID: <20080821181039.GA18586@troutmask.apl.washington.edu> References: <33615c8e0808211038l7b9ab665l67f0439d3f40e6a6@mail.gmail.com> <48ADADEF.5040405@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48ADADEF.5040405@FreeBSD.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org, Rohit Tripathi Subject: Re: gnome2/x11 slow after optimization! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Aug 2008 18:10:40 -0000 On Thu, Aug 21, 2008 at 08:03:27PM +0200, Kris Kennaway wrote: > Rohit Tripathi wrote: > >I have a core2duo laptop on which out of curiosity I decided to > >recompile x11 and gnome2. After a few hours when it was ready, I found > >gnome crawling painfully slow. I'd click a menu and it'll take 2 > >seconds to appear, I try running terminal, and it take 10 seconds to > >come up, try typing and keyboard lags by 5-6 seconds.....what I find > >is really cool is that the ports installed by FreeBSD release are > >waaaay faster....here's my make.conf: (do you see a culprit?) > > >ARCH=core2 #nocona > >MACHINE=core2 #nocona > >MACHINE_ARCH=core2 #nocona > >CFLAGS= -O3 -pipe -mtune=core2 -m128bit-long-double -mfpmath=sse > >-ftree-vectorize > > CXXFLAGS+= -fconserve-space > > COPTFLAGS = -O -pipe -mtune=core2 -m128bit-long-double > -mfpmath=sse > > Revert all this rampant craziness, you broke something. > It also appears that he's not using the base system C compiler. troutmask:kargl[203] cc -mtune=core2 -o z h.c h.c:1: error: bad value (core2) for -mtune= switch -- Steve