From owner-freebsd-current@FreeBSD.ORG Fri Sep 15 14:10:11 2006 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 3F5DB16A407 for ; Fri, 15 Sep 2006 14:10:11 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 767C243D45 for ; Fri, 15 Sep 2006 14:10:09 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D5B2.dip.t-dialin.net [84.165.213.178]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k8FDlfoG021822; Fri, 15 Sep 2006 15:47:42 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (webmail.Leidinger.net [192.168.1.102]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k8FEA5jV069962; Fri, 15 Sep 2006 16:10:05 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from psbru.cec.eu.int (psbru.cec.eu.int [158.169.131.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Fri, 15 Sep 2006 16:09:53 +0200 Message-ID: <20060915160953.s9fij7r2so8cggkk@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Fri, 15 Sep 2006 16:09:53 +0200 From: Alexander Leidinger To: Michael Butler References: <450AA6D4.3050009@protected-networks.net> In-Reply-To: <450AA6D4.3050009@protected-networks.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) / FreeBSD-7.0 X-Virus-Scanned: by amavisd-new Cc: freebsd-current@freebsd.org Subject: Re: PQ_CACHESIZE now too small? 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: Fri, 15 Sep 2006 14:10:11 -0000 Quoting Michael Butler (from Fri, 15 Sep =20 2006 09:12:52 -0400): > I note in /sys/vm/vm_page.h we have .. > > /* Backward compatibility for existing PQ_*CACHE config options. */ > #if !defined(PQ_CACHESIZE) > #if defined(PQ_HUGECACHE) > #define PQ_CACHESIZE 1024 If you post to current@, you should quote code from -current... while =20 the numbers are still the same, the corresponding code has switched to =20 auto-tuning at boot time instead from the the fixed tuning at compile =20 time you presented here. > .. given the ever-increasing availability of L2 cache (even my core duo > laptop has 2MB of unified cache between two cores), are these numbers > now too small? > > Alternatively, are these parameters subject to the laws of diminishing > returns? I was told there are other ways of doing the page coloring which don't =20 depend on such magic numbers which need to be reviewed from time to =20 time. Bye, Alexander. --=20 I'm sorry I missed. =09=09-- Squeaky Fromme http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137