From owner-freebsd-current@FreeBSD.ORG Mon Jan 2 20:26:11 2006 Return-Path: X-Original-To: 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 70B9716A41F for ; Mon, 2 Jan 2006 20:26:11 +0000 (GMT) (envelope-from mbsd@pacbell.net) Received: from ylpvm12.prodigy.net (ylpvm12-ext.prodigy.net [207.115.57.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CEE743D48 for ; Mon, 2 Jan 2006 20:26:10 +0000 (GMT) (envelope-from mbsd@pacbell.net) Received: from pimout5-ext.prodigy.net (pimout5-int.prodigy.net [207.115.4.21]) by ylpvm12.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id k02KQAKI028321 for ; Mon, 2 Jan 2006 15:26:10 -0500 X-ORBL: [71.139.60.194] DomainKey-Signature: a=rsa-sha1; s=sbc01; d=pacbell.net; c=nofws; q=dns; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id: references:mime-version:content-type; b=BYuqZZ2pdR48F7CtDgOagIsE09Bb8W54L4FGsHD7SvSTLyrHxlMMCYWyNKvbbJLa1 zwGgWVUXSGEV1S0mkQrGA== Received: from inspiron.home (ppp-71-139-60-194.dsl.snfc21.pacbell.net [71.139.60.194]) by pimout5-ext.prodigy.net (8.13.4 outbound domainkey aix/8.13.4) with ESMTP id k02KPvvK031294; Mon, 2 Jan 2006 15:26:03 -0500 Date: Mon, 2 Jan 2006 12:25:58 -0800 (PST) From: =?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= X-X-Sender: mikko@inspiron.home To: Alexander Leidinger In-Reply-To: <20060102200347.2bumr7okkkgossww@netchild.homeip.net> Message-ID: <20060102122209.G59712@inspiron.home> References: <20060102101653.GA65178@stud.fit.vutbr.cz> <20060102200347.2bumr7okkkgossww@netchild.homeip.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Divacky Roman , current@freebsd.org Subject: Re: AMD cache values for page colouring 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: Mon, 02 Jan 2006 20:26:11 -0000 On Mon, 2 Jan 2006, Alexander Leidinger wrote: > Divacky Roman wrote: > > [no cachesize detection] >> my CPU is: >> CPU: AMD Athlon(tm) XP 2500+ (1834.88-MHz 686-class CPU) >> Origin = "AuthenticAMD" Id = 0x6a0 Stepping = 0 >> Features=0x383fbff >> AMD Features=0xc0400800 > > So the AMD64 code works (on AMD processors) but the IA32 (on AMD) fails. > Either I did something completely wrong, or it's a small typo I do overlook > (tomatoes on the eyes...). Not sure it is AMD specific. % sysctl vm.stats.pagequeue vm.stats.pagequeue.prime2: 5 vm.stats.pagequeue.prime1: 9 vm.stats.pagequeue.cachenways: 0 vm.stats.pagequeue.cachesize: 0 vm.stats.pagequeue.page_colors: 32 The CPU is: CPU: Intel(R) Pentium(R) M processor 1.80GHz (1794.19-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6d6 Stepping = 6 Features=0xafe9f9bf Features2=0x180 $.02, /Mikko