Re: L1/L2 Cache Coloring from Userland ?

Harald Koenig (koenig@tat.physik.uni-tuebingen.de)
Fri, 19 Sep 1997 11:50:56 +0200


--+5n6rz5pIUxbDcmJ
Content-Type: text/plain; charset=us-ascii

On Sep 17, J.D. Bakker wrote:

> Is there any way for a program to control or find out to which L1/L2 cache
> lines/regions certain areas of memory are mapped ? Take the following
> example:

long time ago I've saved the attached posting from Harm Hanemaaijer

Newsgroups: comp.os.linux.development
From: hhanemaa@cs.ruu.nl (Harm Hanemaaijer)
Subject: Direct-mapped caches and cache miss penalty (long)
Message-ID: <CHMF75.Eor@cs.ruu.nl>
Date: Mon, 6 Dec 1993 16:01:52 GMT

Harald

--
All SCSI disks will from now on                     ___       _____
be required to send an email notice                0--,|    /OOOOOOO\
24 hours prior to complete hardware failure!      <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig,                                         \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik                              //  /     \\  \
koenig@tat.physik.uni-tuebingen.de                     ^^^^^       ^^^^^

--+5n6rz5pIUxbDcmJ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="cache-test.c"

/*