From owner-freebsd-current@FreeBSD.ORG Sat Oct 15 22:45:53 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 7796A16A41F for ; Sat, 15 Oct 2005 22:45:53 +0000 (GMT) (envelope-from PeterJeremy@optushome.com.au) Received: from mail21.syd.optusnet.com.au (mail21.syd.optusnet.com.au [211.29.133.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0BDF43D48 for ; Sat, 15 Oct 2005 22:45:52 +0000 (GMT) (envelope-from PeterJeremy@optushome.com.au) Received: from cirb503493.alcatel.com.au (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail21.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id j9FMjnk9004091 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sun, 16 Oct 2005 08:45:50 +1000 Received: from cirb503493.alcatel.com.au (localhost.alcatel.com.au [127.0.0.1]) by cirb503493.alcatel.com.au (8.12.10/8.12.10) with ESMTP id j9FMjlHh014744; Sun, 16 Oct 2005 08:45:49 +1000 (EST) (envelope-from pjeremy@cirb503493.alcatel.com.au) Received: (from pjeremy@localhost) by cirb503493.alcatel.com.au (8.12.10/8.12.9/Submit) id j9FMjlhq014743; Sun, 16 Oct 2005 08:45:47 +1000 (EST) (envelope-from pjeremy) Date: Sun, 16 Oct 2005 08:45:47 +1000 From: Peter Jeremy To: Joshua Coombs Message-ID: <20051015224547.GF7346@cirb503493.alcatel.com.au> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org Subject: Re: 486DLC Tuning X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 15 Oct 2005 22:45:53 -0000 On Sat, 2005-Oct-15 10:06:22 -0400, Joshua Coombs wrote: >I have a 386 with a Cyrix 486DRx2-66 (clock doubled DLC) that I moved >from 4.11 to 6.0. So far it's running decently, I've got more net/hd >throughput than I had before, by a factor of two for net, but the box >'feels' like I'm not getting the same cpu perf I had before. Without >benchmarks, I'm not in the best position to prove it, but I figured >I'd try some basic tuning to see if I could improve things. I suspect your box would be happier running 4.x than 6.x >machine i386 >cpu I386_CPU >cpu I486_CPU According to NOTES: # I386_CPU is mutually exclusive with the other CPU types. # I386_CPU is deprecated and will be removed in 6.0-RELEASE. >It seems odd that I can have CYRIX_CACHE_REALLY_WORKS but not >CYRIX_CACHE_WORKS enabled. This code only functionally affects src/sys/i386/i386/initcpu.c (though CYRIX_CACHE_REALLY_WORKS also disables a 'CPU cache:' message). There has been no change in this code between 4-STABLE and 7-CURRENT. All I can suggest is for you to study the code in conjunction with a Cyrix system programming manual to understand what the effect of the options is. -- Peter Jeremy