This is the mail archive of the
sid@sources.redhat.com
mailing list for the SID project.
configrun-sid patch: cache support
- To: sid at sources dot redhat dot com
- Subject: configrun-sid patch: cache support
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- Date: Thu, 27 Sep 2001 17:29:45 -0400
Hi -
Taking advantage of Ben Elliston's generalized cache model
(see sid/component/cache), the configrun-sid script now presents
options to insert data and/or instruction caches into the CPU's
bus path to memory. It makes it easy to experiment with
hypothetical cache configurations.
For a toy program, here's some teaser output:
% arm-elf-sid --icache=direct/8kb/16 --dcache=4way/64kb/32/random hello-arm.x
hello world
icache profile report
reads: 1343
read hits: 69%
writes: 0
write hits: 0%
replacements: 409
flushes: 0
dcache profile report
reads: 762
read hits: 88%
writes: 1005
write hits: 52%
replacements: 90
flushes: 0
- FChE
PGP signature