Objectives
- Define, through simulation, which is the best cache configuration for a trace of execution.
- Remember concepts related to cache, from MC722.
Activity
Read software documentation
money. You'll use
execution traces already collected and detect what is the best cache setting for some of the programs. Get the files on my IC3 homedir (cd ~ rodolfo / mc723).
- dineroIV: ~ rodolfo / mc723 / dinero4sbc (here is already dineroIV with compressed trace support, see extra instructions for use on traces page)
- traces: ~ rodolfo / mc723 / traces (you can use it directly from here, or copy it to a temporary directory to speed up the execution)
Due to the large size of the files and the latency of the network, each student will have two exercise options (choose at will):
- Simulate a program with two levels of cache and find the best configuration for both levels (L1 of instructions, L1 of data and L2 unified). You can use any of the 46 traces that are available (each program has two traces, f2b and m2b, see information on that on the traces page).
- Simulate 4 programs with a cache level and find the best configuration (L1 of instructions and L1 of data). Choose 4 different programs from the set of programs, do not get an f2b version along with m2b.
Remarks:
- I purposely reduced the size of all traces to 20 files instead of 101.
- Is data missing to choose the best configuration? Define them and give a brief justification in the report.
Delivery
Submit a report for at most
2 pages, describing the activity performed, the input files and containing a graph indicating the cache sizes. Indicate the best cache configuration and justify.
- Delivery fee: 17/03/06 as 8:00
by email
- Format: file PDF.
- Email Subject: MC723: E1 Delivery - o_numero_do_your_ra_sem_as_letras_ra