Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Oct 2004 23:14:33 -0500
From:      Vulpes Velox <v.velox@vvelox.net>
To:        jason <jason@ec.rr.com>
Cc:        current@freebsd.org
Subject:   Re: X slowness on 5.3rc1
Message-ID:  <20041021231433.177d7c2e@fennec>
In-Reply-To: <41788B80.7060505@ec.rr.com>
References:  <20041021185546.16ed1fe7@fennec> <41788B80.7060505@ec.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 22 Oct 2004 00:24:32 -0400
jason <jason@ec.rr.com> wrote:

> Vulpes Velox wrote:
> 
> >Any suggestions for fixing the slowness of X on 5.3rc1?
> >
> >Compared too 5.2.1, it crawls :(
> >
> >Is there any sorta debugging I can turn off that has not been
> >turned off by defualt yet? Was just thinking of these, and I sorta
> >remember it being announced that it is all turned off at beta3 or 5
> >or so?
> >
> >Also for some reason I have to put "machdep.disable_mtrrs=1" in the
> >loader.conf now or it freezes upon start now.
> >
> >Any ways, here is the output from dmesg
> >
> >Copyright (c) 1992-2004 The FreeBSD Project.
> >Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,
> >1994        The Regents of the University of California. All rights
> >reserved. FreeBSD 5.3-RC1 #1: Wed Oct 20 09:41:47 CDT 2004
> >    root@fennec:/usr/obj/usr/src/sys/fennec-1
> >Timecounter "i8254" frequency 1193182 Hz quality 0
> >CPU: AMD Duron(tm) processor (1300.01-MHz 686-class CPU)
> >  Origin = "AuthenticAMD"  Id = 0x671  Stepping = 1
> >  
> >
> (1300.01-MHz _*686-class*_ CPU)  <<===
> 
> >Here is my kernel config....
> >machine		i386
> >cpu		I686_CPU
> >ident		fennec-1
> >
> >#CPU options
> >options         CPU_ATHLON_SSE_HACK
> >options		CPU_ENABLE_SSE
> >options		CPU_FASTER_5X86_FPU
> >  
> >
> Don't use these options, 686 implies SSE/MMX stuff.

Yeah, added those since I was getting some odd core dumps and freezes
when compiling atlas using the previous proc I had in here testing
to see if that was possibly cuasing a problem with it.... just not
removed them yet... eventually traced that back to something about my
Abit NF7-S2 not liking the Athlon-XP 2400+ thorton core proc I had in
here previously:/

> Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR
> ,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,_*SSE*_> AMD
> FreeBSD already identifies it, or it could be because of your
> options but I think not.
> 
> options CPU_FASTER_5X86_FPU is for  Cryix 5x86

Cool, thanks for the info.
 
> http://people.freebsd.org/~kato/cpuident.html
> 
> Also how does your /etc/make.conf look?

CPUTYPE?=athlon-xp
CFLAGS= -O -pipe


> Have you tried ln -s aj /etc/malloc.conf, or something like this. 
> It is in the archives under current if you search for it.
> 
> $ sysctl -da | grep machdep.dis
> machdep.disable_rtc_set:
> machdep.disable_mtrrs: Disable i686 MTRRs.   <<==very bad for 
> performance, most likely here because of some bad cyrix options you 
> have.  Those are for a 586(I think 586) class cpu

Yeah, had to have it enabled for abit. If it was disabled X would
freeze.

I eventually traced the problem to something involving the AGP kernel
module. I commented that out of loader.conf and I could then could
then successfully start X without needing to disable the mtrr. :)

Much thanks any ways :)



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