From owner-freebsd-current@FreeBSD.ORG Fri Oct 22 05:15:41 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12A7C16A4CE for ; Fri, 22 Oct 2004 05:15:41 +0000 (GMT) Received: from mail.cableone.net (scanmail2.cableone.net [24.116.0.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id CADD643D54 for ; Fri, 22 Oct 2004 05:15:40 +0000 (GMT) (envelope-from v.velox@vvelox.net) Received: from fennec (unverified [24.119.122.25]) by smail2.cableone.net (SurgeMail 1.9b) with ESMTP id 22968781 for multiple; Thu, 21 Oct 2004 22:14:20 -0700 Date: Thu, 21 Oct 2004 23:14:33 -0500 From: Vulpes Velox To: jason Message-ID: <20041021231433.177d7c2e@fennec> In-Reply-To: <41788B80.7060505@ec.rr.com> References: <20041021185546.16ed1fe7@fennec> <41788B80.7060505@ec.rr.com> X-Mailer: Sylpheed-Claws 0.9.12b (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Server: High Performance Mail Server - http://surgemail.com cc: current@freebsd.org Subject: Re: X slowness on 5.3rc1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Fri, 22 Oct 2004 05:15:41 -0000 On Fri, 22 Oct 2004 00:24:32 -0400 jason 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 ,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 :)