From owner-freebsd-current Sun Mar 18 16:15:52 2001 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id EBF1F37B718; Sun, 18 Mar 2001 16:15:48 -0800 (PST) (envelope-from des@ofug.org) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id BAA79815; Mon, 19 Mar 2001 01:15:41 +0100 (CET) (envelope-from des@ofug.org) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Bruce Evans Cc: David Malone , current@FreeBSD.ORG, jhb@FreeBSD.ORG, jake@FreeBSD.ORG, Ian Dowse Subject: Re: Interesting backtrace... References: From: Dag-Erling Smorgrav Date: 19 Mar 2001 01:15:40 +0100 In-Reply-To: Bruce Evans's message of "Mon, 19 Mar 2001 10:59:55 +1100 (EST)" Message-ID: Lines: 33 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bruce Evans writes: > K6-2's aren't really i586's and i586_bzero should never be used for > them (generic bzero is faster), Wrong. I fixed machdep.c to compute and print the bandwidth correctly: des@des ~% egrep '(CPU|bzero)' /var/run/dmesg.boot CPU: AMD-K6(tm) 3D processor (350.80-MHz 586-class CPU) i586_bzero() bandwidth = 1056759 kBps bzero() bandwidth = 124211 kBps > i586_bzero gets used because negative bandwidths are significantly > smaller than positive ones, Uh, Bruce, we pick the method that gives the *highest* bandwidth, not the lowest. > so plain bzero is faster according to this > message, There you go contradicting yourself... Anyway, the bug is not K6-specific - I guess the reason why we're only seeing it on K6's is that they're the only 586-class CPUs that are fast enough to still be in widespread use. Except I just remembered I have a dual Pentium box I use for SMP work, but haven't booted in several weeks... because it keeps crashing... with a smashed stack. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message