Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This assignment is to evaluate the impact of different cache configurations on the execution times of applications. You will run three benchmark traces provided for
This assignment is to evaluate the impact of different cache configurations on the
execution times of applications. You will run three benchmark traces provided for you.
Tracedin, Tracedin and Tracedin.
You specify these file names along the path name as the input to Dinero IV You will
evaluate L and L misses when adjusting the cache configurations of L by adjusting L
configuration. Both L and L use write through and use LRU replacement algorithm.
First, you should evaluate just L cache, below are the L configurations you must vary.
Size of LI and LD is fixed to KB Block sizes should be configured as Bytes
and Bytes. Associativity as way, way and way.
Then, add L Cache of size KB repeat above tests. The block sizes and associativity
should match the Ls
OR follow the table for all the combinations you should be testing:
L size Associativity Block size
KB B
KB B
KB B
KB B
KB B
KB B
L & L size Associativity Block size
KB & KB B
KB & KB B
KB & KB B
KB & KB B
KB & KB B
KB & KB B
Cycles on Hit and Miss
The table below indicates the number of processor clocks for a hit in each of the L cache
configurations. L hit takes cycle. If there is no L cache, L miss penalty is cycles.
L miss penalty is also cycles.
Size Associative way way way
Kbyte
Use the cache simulator to get the L & L miss rate and compute the CPI for each
benchmarkcache configuration combination CPI equation can be found in class notes
and textbook Use the cycle count for hits and misses of the L & L and determine
which cache configuration will give the best performance ie the lowest CPI for each
benchmark.
You are required to make a shells script in order to easily run all possible configurations,
submit this shell script with your results.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started