From silence@nilpotent.org  Thu Nov 14 09:56:44 2002
Return-Path: <silence@nilpotent.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 12F6A37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 14 Nov 2002 09:56:44 -0800 (PST)
Received: from loops.nilpotent.org (loops.nilpotent.org [12.17.163.70])
	by mx1.FreeBSD.org (Postfix) with SMTP id 2164043E77
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 14 Nov 2002 09:56:43 -0800 (PST)
	(envelope-from silence@nilpotent.org)
Received: (qmail 81676 invoked from network); 14 Nov 2002 17:56:31 -0000
Received: from unknown (root@202.179.157.122)
  by loops.nilpotent.org with QMTP; 14 Nov 2002 17:56:31 -0000
Received: (qmail 521 invoked by uid 500); 14 Nov 2002 17:56:38 -0000
Message-Id: <20021114175638.520.qmail@homeworld.nilpotent.org>
Date: 14 Nov 2002 17:56:38 -0000
From: Faried Nawaz <fn@hungry.com>
Reply-To: Faried Nawaz <fn@hungry.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: LINT notes are murky re PQ_CACHESIZE setting
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         45294
>Category:       docs
>Synopsis:       LINT notes are murky re PQ_CACHESIZE setting
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 14 10:00:04 PST 2002
>Closed-Date:    Mon Jun 09 10:36:38 PDT 2003
>Last-Modified:  Mon Jun 09 10:36:38 PDT 2003
>Originator:     Faried Nawaz
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Hungry Programmers, Inc.
>Environment:
System: FreeBSD semuta.local 5.0-CURRENT FreeBSD 5.0-CURRENT #8: Fri Oct 4 01:01:59 PKST 2002 fn@semuta.local:/usr/obj/usr/src/sys/semuta i386

(Same problem exists in the 4.x releases.)

>Description:

LINT (or NOTES, in -current) mentions the PQ_CACHESIZE setting but doesn't
tell me what the argument refers to.  For example, the default is

options         PQ_CACHESIZE=512        # color for 512k/16k cache

What do 512k/16k refer to?  I have an AMD Athlon chip with 

Data TLB: 24 entries, fully associative
Instruction TLB: 16 entries, fully associative
L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L2 internal cache: 256 kbytes, 64 bytes/line, 1 lines/tag, 8-way associative

What do I use for PQ_CACHESIZE?  Do I even use PQ_CACHESIZE?  Is it deprecated?
Help?

>How-To-Repeat:

Read /sys/i386/conf/LINT or /sys/conf/NOTES
>Fix:

You got me there.
>Release-Note:
>Audit-Trail:

From: Hiten Pandya <hmp@FreeBSD.ORG>
To: bug-followup@freebsd.org
Cc:  
Subject: re: docs/45294 LINT notes are murky re PQ_CACHESIZE setting
Date: Wed, 28 May 2003 10:11:48 -0700

 Does the commit log (provided below) help?
 
 	revision 1.792
 	date: 2000/07/04 08:55:18;  author: jhb;  state: Exp;  lines: +4 -2
 	Replace the PQ_*CACHE options with a single PQ_CACHESIZE option that
 	you set equal to the number of kilobytes in your cache.  The old
 	options are still supported for backwards compatibility.
 
 Cheers.
 
 	-- Hiten (hmp@FreeBSD.ORG)
State-Changed-From-To: open->feedback 
State-Changed-By: hmp 
State-Changed-When: Sun Jun 1 19:29:51 PDT 2003 
State-Changed-Why:  
Waiting for Originator's followup. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=45294 

From: Faried Nawaz <fn@hungry.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc: freebsd-doc@FreeBSD.org
Subject: Re: docs/45294: LINT notes are murky re PQ_CACHESIZE setting
Date: Mon, 02 Jun 2003 22:57:28 +0500

 Hiten Pandya <hmp@FreeBSD.org> writes:
 
 > Does the commit log (provided below) help?
 
 Not completely.  Does that mean the number refers to the size of the
 L2 cache?  If so, I think LINT should mention that ("The number is the
 size of your L2 cache in KB.") -- and that would satisfy me.
 
 
 Thanks,
 
 Faried.

From: Bosko Milekic <bmilekic@unixdaemons.com>
To: freebsd-gnats-submit@FreeBSD.org, fn@hungry.com
Cc: hmp@FreeBSD.org
Subject: Re: docs/45294: LINT notes are murky re PQ_CACHESIZE setting
Date: Wed, 4 Jun 2003 10:04:10 +0000

 Yes, that's it.
 
 --=20
 Bosko Milekic
 bmilekic@unixdaemons.com
 bmilekic@FreeBSD.org
 
State-Changed-From-To: feedback->closed 
State-Changed-By: hmp 
State-Changed-When: Mon Jun 9 10:34:06 PDT 2003 
State-Changed-Why:  
Thanks Faried, Bosko.  I have committed a de-obfuscated description to NOTES. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=45294 
>Unformatted:
