Question: Suppose we are processing 1 0 0 data items on a CPU cache. Each data item is 3 2 bytes in size. And each I
Suppose we are processing data items on a CPU cache. Each data item is bytes in size. And each IO operation will fetch a byte cache line. Suppose the data items on the cache are contiguously stored.
In this case, is sequential reading faster than random reading? How much faster?
What if each data item is bytes in size instead of bytes? Seek time can be ignored for CPU cache.
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
