assignments:a2
Differences
This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
assignments:a2 [2007/08/01 13:58] – external edit 127.0.0.1 | assignments:a2 [2018/10/03 23:27] – aboelaze | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Assignment 2 ====== | ====== Assignment 2 ====== | ||
+ | |||
+ | - What is the number of overhead bits for a 64KB cache with these parameters (tag+dirty+valid)? | ||
+ | - Direct mapped with 64-word block size | ||
+ | - 4-way set associative with 64-word block size | ||
+ | - Direct mapped with 32-word block size | ||
+ | - 4-way set associative with 32-word block size | ||
+ | - Is it necessary to have the page size be a power of 2? Could it be any size? would it be practical | ||
+ | - Consider a toy cache with 8-byte block size and capacity of 64 bytes. which of these references are hits and which are miss | ||
+ | |||
+ | 0xB8 | ||
+ | |||
+ | 0xBC | ||
+ | |||
+ | 0xFC | ||
+ | |||
+ | 0xB4 | ||
+ | |||
+ | 0x77 | ||
+ | |||
+ | 0xF0 | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
assignments/a2.txt · Last modified: 2018/10/11 18:40 by aboelaze