From owner-freebsd-current Sun Dec 27 07:04:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA00920 for freebsd-current-outgoing; Sun, 27 Dec 1998 07:04:28 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from janus.syracuse.net (janus.syracuse.net [205.232.47.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA00915 for ; Sun, 27 Dec 1998 07:04:26 -0800 (PST) (envelope-from green@unixhelp.org) Received: from localhost (green@localhost) by janus.syracuse.net (8.8.8/8.8.7) with ESMTP id KAA02272; Sun, 27 Dec 1998 10:04:04 -0500 (EST) Date: Sun, 27 Dec 1998 10:04:04 -0500 (EST) From: Brian Feldman X-Sender: green@janus.syracuse.net To: Mike Smith cc: current@FreeBSD.ORG Subject: Re: K6-2 (3?) CPU_WT_ALLOC In-Reply-To: <199812262155.NAA01495@dingo.cdrom.com> 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 On Sat, 26 Dec 1998, Mike Smith wrote: > > Can anyone else using this patch speak up about their experiences? > It'd be good to see it committed, but I have no hardware on which to > test it... In a dmesg, if this line looks as such: Origin = "AuthenticAMD" Id = 0x58c Stepping=12 where Id = 0x58X, this is a K6-2 model 8/[F:8]+, or on Id = 0x59X a K6-3 (just guessing here, but I think it'll be right :) in which case enable_K6_2_wt_alloc will be called rather than enable_K6_wt_alloc. So for K6-2 machines, the (cpu_id & 0xff0) > 0x570 will be the enabling variable, and the new wt_alloc routine will take effect; if anyone wants to test this out (actually, to use it permanently really!) try it on a K6-2 described as above. If anyone does need to check my work, look for doc 21326e on www.amd.com, "Implementation of Write Allocation in the K86 Processors", where the WHCR differences between models are fully defined. > -- > \\ Sometimes you're ahead, \\ Mike Smith > \\ sometimes you're behind. \\ mike@smith.net.au > \\ The race is long, and in the \\ msmith@freebsd.org > \\ end it's only with yourself. \\ msmith@cdrom.com 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