Question: According to the 1 scpu command run on a Keller Hall 1 - 2 6 2 machine, the L 1 cache of a Keller 1
According to the scpu command run on a Keller Hall machine, the L cache of a Keller
machine is kilobytes where kilobyte bytes Assume the cache has a byte block
size.
Suppose we are running a C program on one of the Keller machines that features an int array
with elements. Assume the array is aligned to the L cache's block size ie the array's
starting address is a multiple of Our program performs a linear search over the array for a
value that is not stored in the array.
Calculate how many cache misses will occur during this search. You should ignore the loop
variable eg as it will be held in a register throughout.
Show your work in the calculating the number of cache misses in the box below use descriptions
as necessary, but also include equations
Do we need to know anything about the specific addresses in use here? Explain why or why not.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
