Beruflich Dokumente
Kultur Dokumente
DINEROIII()
NOMBRE
dineroIII - simulador de cach, versin III
SYNOPSIS
dineroIII
-b
block_size
-u
unified_cache_size
-i
DESCRIPCION
dineroIII is a trace-driven cache
sub-block
placement.
simulator
sequence
of
program
Trace
the
is
read
(described later).
associativity,
of
memory
by
or
set
set
of
simulator
are
described later).
A trace is a fin-
interpretive execution of a
input
supports
that
with
command
in
programs.
din
block
line
format
size
options (also
method
can
simulate
either
caches.
caches.
and
separate
instruction
and
simulators
because
it supports sub-block placement (also known as sector placement) in which address tags are still associated with
cache
blocks
but
data
is
smaller sub-blocks.
transferred
useful
In
traditional
Unfor-
to
Sub-
data
transfer
and
large
blocks
to
for
associate with
Trace-driven simulation is
frequently
used
to
evaluating
can
be
isolated.
that
of
the
be
machine
being
studied.
Simulation
intractable
without
questionable
tions.
erally
accepted
model
results
model
simulation
currently
exist
any
gen-
trace-
correlations
thetic
Lastly,
workloads
solutions
simplifying assump-
can
often
lack.
that
syn-
trace-driven
of
at
least
A din
record
is
line
is
read data.
write data.
instruction fetch.
The address is a
hexadecimal
byte-address
between
and
ffffffff inclusively.
block_size
and
either
options.
unified_cache_size
Parame-
must
or
be
both
speci-
-b block_size
sets the cache block size in bytes.
Must be explicitly
-u unified_cache_size
sets the unified cache size in bytes (e.g., -u16K).
unified
cache,
both
If unified_cache_size is
posi-
must be zero.
If zero, implying
and
caches
data
separate
will
be
instruction
simulated,
both
set
Defaults to 0.
-i instruction_cache_size
sets
the
instruction
cache
Defaults
-i16384).
simulation.
to
size
in
bytes
(e.g.
must
be
positive as well.
-d data_cache_size
sets
the
Defaults
data
to
cache
size
in
bytes
(e.g.
-d1M).
be
posi-
tive as well.
-S subblock_size
sets the cache sub-block size in bytes.
indicating
that
Defaults to
(i.e. -S0).
-a associativity
sets the cache associativity.
has
associativity
has associativity 2.
1.
associativity
direct-mapped
fully
associative
data_cache_size/block_size.
-r replacement_policy
cache
cache
has
Defaults to
are
(LRU),
Valid
(FIFO),
replacement
and
(RANDOM).
-f fetch_policy
sets the cache fetch policy.
fetches
blocks
that
are
Demand-fetch
needed
to
(d),
service a cache
All
by
the
-p
The
option
other
Prefetching
prefetch
and
which
target
is
whether sub-block
placement is enabled.
always-prefetch
which
prefetches
after
every
demand reference.
m
miss-prefetch
which
prefetches
after
every
demand miss.
t
demand
to
a (sub)-block.
works
sub-block-prefetch
like
(sub-block
placement
only)
block.
At
this
point
-p prefetch_distance
sets the prefetch distance in sub-blocks
placement
is
enabled
or
in
is
the
sub-block
blocks if it is not.
if
potential
next
target
sequential
of a prefetch.
-P abort_prefetch_percent
sets the percentage of
This
prefetches
that
are
aborted.
ences blocking
prefetch
shared
cache.
references
from
reaching
-P0).
-w write_policy
selects one of two the cache
through
(w)
write
policies.
Write-
Copy-
or
the
cache is flushed.
Defaults to copy-
-A write_allocation_policy
selects whether a (sub)-block
reference.
Write-allocate
be loaded on
allocate
is
(n)
all
loaded
on
write
references
that
miss.
Non-write-
miss.
Defaults
to
write-
-D debug_flag
used by implementor to debug simulator.
of
debug_flag
after every
reference;
stacks
and
and
prints
useful
the
to
priority
the
user
to
-o output_style
sets the output style.
only
Verbose-output
at
Bus-output (2)
(3)
prints
transfer.
Defaults
to
that
is
For
for
byte-address
between
and
ffffffff inclusively
reference_count is
the
number
of
demand
references
demand
instruction
-Z skip_count
sets the number
before
of
beginning
trace
cache
references
simulation.
to
be
skipped
Defaults to none
(i.e. -Z0).
-z maximum_count
sets the maximum number of trace references to be
pro-
simula-
Defaults to 10 million
(i.e. -z10000000).
-Q flush_count
sets the number of references
Can
be
used
to
crudely
between
simulate
cache
flushes.
multiprogramming.
FILES
doc.h contains additional programmer documentation.
SEE ALSO
Mark D. Hill and Alan Jay Smith, Experimental Evaluation
of
On-Chip Microprocessor Cache Memories, Proc. Eleventh International Symposium on Computer Architecture, June 1984,
Ann
Arbor, MI.
Memories,
Computing
Surveys,
14-3,
BUGS
Not all combination of options have been thoroughly tested.
AUTHOR
Mark D. Hill
Computer Sciences Dept.
1210 West Dayton St.
Univ. of Wisconsin
Madison, WI 53706