Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Aug 2008 11:10:39 -0700
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Kris Kennaway <kris@freebsd.org>
Cc:        freebsd-current@freebsd.org, Rohit Tripathi <rohit.trip@gmail.com>
Subject:   Re: gnome2/x11 slow after optimization!
Message-ID:  <20080821181039.GA18586@troutmask.apl.washington.edu>
In-Reply-To: <48ADADEF.5040405@FreeBSD.org>
References:  <33615c8e0808211038l7b9ab665l67f0439d3f40e6a6@mail.gmail.com> <48ADADEF.5040405@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080821181039.GA18586>