00:01
So, here the question is in three parts for part a to find the number of sets.
00:06
So, number of set is equals to catch size divide by block size multiply by associativity.
00:15
So, let's plug the values 1 0 2 power 4 bytes divide by 8 bytes multiply by 1.
00:25
So, here number of sets are 128 sets.
00:37
Here to find miss rate of the direct map catch you need to consider the memory access pattern.
00:43
So, memory access pattern is so basically each memory address correspond to a different set in a cache therefore to count how many unique set of pattern access.
00:57
So, here is 0 cross 0 0 cross 8 0 cross 10 0 cross 18 0 cross 20 0 cross 28.
01:10
So, each address correspond different set in cache.
01:14
So, basically total miss total misses 6 number of memory 2 3 4 5 6 now miss rate...