mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rene Rebe <rene.rebe@gmx.net>
To: rabbit@rabbit.online.bg
Cc: linux-kernel@vger.kernel.org
Subject: Re: amd k6-3 L3 cache
Date: Wed, 05 Jun 2002 12:44:24 +0200 (CEST)	[thread overview]
Message-ID: <20020605.124424.607955686.rene.rebe@gmx.net> (raw)
In-Reply-To: <20020605044616.GA3297@rabbit.online.bg>

Hi.

On: Tue, 4 Jun 2002 23:46:16 -0500,
    Peter Rabbitson <rabbit@rabbit.online.bg> wrote:
> Hi everyone. I have a question regarding hardware caches. When I compile the
> kernel on k6/2 cpu I get messages identifying L1 cache of 64k and L2 cache of
> 1024k which are the actual hardware amounts. But kernel on a k6/3+ cpu gives
> out this:
> -------
> CPU: L1 I Cache: 32K (32 bytes/line), D cache 32K (32 bytes/line)
> CPU: L2 Cache: 256K (32 bytes/line)
> CPU: After vendor init, caps: 008021bf c08029bf 00000000 00000002
> CPU:     After generic, caps: 008021bf c08029bf 00000000 00000002
> CPU:             Common caps: 008021bf c08029bf 00000000 00000002
> ------

This are the correct values - I do not know why a K6/2 kernel reports
bogus ones.

The caches (incl. the L3 cache on the mainboard) are used by the
silicon logic in you CPU and chipset automatically - no OS or BIOS
support is needed for this.

> Does this mean that I am actually loosing the benefit of having 1m of cache 
> on the motherboard (in this case L3)? Or the kernel still uses transparrent
> bios routines and stores data in L3? Or maybe such cpus shopuld run kernel
> compiled for k7/athlon cpus? I would appreciate any comments or suggestions,
> nevertheless I am more than non-proficient in programming. Just a curious
> cat in the linux community :)
> 
> Peter

k33p h4ck1n6
  René

--  
René Rebe (Registered Linux user: #248718 <http://counter.li.org>)
e-mail:   rene.rebe@gmx.net, rene@rocklinux.org
web:      www.rocklinux.org, drocklinux.dyndns.org/rene/

Anyone sending unwanted advertising e-mail to this address will be
charged $25 for network traffic and computing time. By extracting my
address from this message or its header, you agree to these terms.

      parent reply	other threads:[~2002-06-05 10:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-05  4:46 Peter Rabbitson
2002-06-05 10:11 ` Dave Jones
2002-06-05 10:44 ` Rene Rebe [this message]

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=20020605.124424.607955686.rene.rebe@gmx.net \
    --to=rene.rebe@gmx.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rabbit@rabbit.online.bg \
    /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

all inboxes | Powered by JetHome®