From owner-freebsd-bugs Sat Apr 19 04:34:13 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA10707 for bugs-outgoing; Sat, 19 Apr 1997 04:34:13 -0700 (PDT) Received: from isbalham.ist.co.uk (isbalham.ist.co.uk [192.31.26.1]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA10700 for ; Sat, 19 Apr 1997 04:34:07 -0700 (PDT) Received: from gid.co.uk (uucp@localhost) by isbalham.ist.co.uk (8.8.4/8.8.4) with UUCP id MAA08351; Sat, 19 Apr 1997 12:29:39 +0100 (BST) Received: from [194.32.164.2] by seagoon.gid.co.uk; Sat, 19 Apr 1997 12:28:54 +0100 X-Sender: rb@194.32.164.1 Message-Id: In-Reply-To: <199704190324.MAA08105@gneiss.eps.nagoya-u.ac.jp> References: Your message of "Fri, 18 Apr 1997 21:36:54 +0100" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Sat, 19 Apr 1997 12:26:26 +0100 To: KATO Takenori From: Bob Bishop Subject: Re: kern/3292: Cyrix 486 performance problem Cc: freebsd-bugs@freefall.freebsd.org Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk At 4:24 +0100 19/4/97, KATO Takenori wrote: >I read initcpu.c and compared it to old locore.s, then I found a >solution of Cyrix 486 CPU cache. That is just do: > > Delete cache disable code in init_486dlc(). > >1. BIOS on old motherboards may not initialize registers of Cyrix > 486. Thus, CPU cache is not enabled at reset time. >2. BIOS on newer motherboards initialize registers of Cyrix 486. Thus, > CPU cache is enabled by BIOS. > >In case 1, usere should recompile with CYRIX_CACHE_WORKS to enable CPU >cache, because neither BIOS nor FreeBSD kernel enable it. In case 2, >BIOS enables CPU cache and FreeBSD kernel doesn't disable it, even >though CYRIX_CACHE_WORKS is not set. I think that would do it. I suspect that with these DX2 parts the cache is on by default rather than being turned on by the BIOS (as it would have to be for SLC/DLC), but it amounts to the same thing. -- Bob Bishop (0118) 977 4017 international code +44 118 rb@gid.co.uk fax (0118) 989 4254 between 0800 and 1800 UK