From owner-freebsd-current Sun Mar 21 16:54:30 1999 Delivered-To: freebsd-current@freebsd.org Received: from zone.syracuse.net (zone.syracuse.net [209.2.141.6]) by hub.freebsd.org (Postfix) with ESMTP id 0FEB214F88 for ; Sun, 21 Mar 1999 16:54:28 -0800 (PST) (envelope-from green@unixhelp.org) Received: from localhost (green@localhost) by zone.syracuse.net (8.9.2/8.9.2) with ESMTP id AAA05734 for ; Mon, 22 Mar 1999 00:54:12 GMT (envelope-from green@unixhelp.org) Date: Mon, 22 Mar 1999 00:54:12 +0000 (GMT) From: Brian Feldman X-Sender: green@zone.syracuse.net To: current@freebsd.org Subject: CPUT_WT_ALLOC_DISABLE Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Does anyone want a CPU_WT_ALLOC_DISABLE and CPU_WT_ALLOC_ENABLE as separate options? I see a couple changes that should be made to the kernel now: CPU: AMD-K6(tm) 3D processor (300.69-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x58c Stepping=12 Features=0x8021bf There should be another line, formatted the same, that ALWAYS reports CPU_WT_ALLOC info. This will help in debugging problems with certain hardware, because on K6-2's I get unreliability with write allocation on. For instance, I updated my BIOS lately and observed a crash. On boot -v, I noted that the BIOS was kind enough to turn on write allocation, but on a CPU that it doesn't seem to work well on. I propose an option to turn OFF write allocation instead of just one to turn it on. I also propose the change in CPU info printouts to (more correct spacing and extra line): CPU: AMD-K6(tm) 3D processor (300.69-MHz 586-like CPU) Origin = "AuthenticAMD" Id = 0x58c Stepping = 12 Features = 0x8021bf Write Allocation: Disabled 15-16M Caching Enable: No The changes would be better spacing, a write allocation line (for whatever CPUs are supported, notably the K5, K6, K6-[23]), and changing "class" to the more sensible "like" (i.e. a K6 really is 686-class, but being socket 7 is 586-like). Comments? Brian Feldman _ __ ___ ___ ___ green@unixhelp.org _ __ ___ | _ ) __| \ http://www.freebsd.org/ _ __ ___ ____ | _ \__ \ |) | FreeBSD: The Power to Serve! _ __ ___ ____ _____ |___/___/___/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message