The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Dave Jones <davej@codemonkey.org.uk>
To: Andi Kleen <ak@suse.de>
Cc: Margit Schubert-While <margit@margit.com>, linux-kernel@vger.kernel.org
Subject: Re: L1_CACHE_SHIFT value for P4 ?
Date: Thu, 21 Nov 2002 13:47:21 +0000	[thread overview]
Message-ID: <20021121134721.GG9883@suse.de> (raw)
In-Reply-To: <20021121134250.GA31081@wotan.suse.de>

On Thu, Nov 21, 2002 at 02:42:50PM +0100, Andi Kleen wrote:

 > http://developer.intel.com/technology/itj/q12001/articles/art_2.htm
 > -> "Netburst microarchitecture" -> Level 2 Instruction and Data Cache
 > "The L2 cache is organized as an 8-way set-associative cache with 128 bytes 
 > per cache line. These 128-byte cache lines consist of two 64-byte sectors. 
 > A miss in the L2 cache typically initiates two 64-byte access requests to the 
 > system bus to fill both halves of the cache line.

Ok, this makes more sense. (and sounds familiar -- probably the same
thing I was pointed to last time this came up)
 
 > It is refering to the older 256K cached P4, but I doubt they changed it.
 > Your cache reporting may refer to the 64byte sectors or is just wrong

I think its counting just the sector. It certainly makes sense.

 > (would not be the first time that has happened - some P4 versions also
 > misreported their TLB size) 

Interesting. I should go read the errata so x86info handles that correctly..

 > For cache colouring purposes you need to use the 128 byte unit.

Agreed.

		Dave

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs

  reply	other threads:[~2002-11-21 13:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4.3.2.7.2.20021121130236.00b15370@mail.dns-host.com.suse.lists.linux.kernel>
2002-11-21 13:10 ` L1_CACHE_SHIFT value for P4 ? Andi Kleen
2002-11-21 13:23   ` Dave Jones
2002-11-21 13:42     ` Andi Kleen
2002-11-21 13:47       ` Dave Jones [this message]
2002-11-21 15:03     ` Mikael Pettersson
2002-11-21 14:39 Margit Schubert-While
  -- strict thread matches above, loose matches on Subject: below --
2002-11-21 13:25 Margit Schubert-While
2002-11-21 13:30 ` Dave Jones
2002-11-21 12:13 Margit Schubert-While

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021121134721.GG9883@suse.de \
    --to=davej@codemonkey.org.uk \
    --cc=ak@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=margit@margit.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox