Re: gnome2/x11 slow after optimization!

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Thu, 21 Aug 2008 11:10:39 -0700
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
Received on Thu Aug 21 2008 - 16:10:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:34 UTC