A computer system has a word-addressable main memory consisting of 256K X-bit words. It also has a 4K-word cache organiz

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

A computer system has a word-addressable main memory consisting of 256K X-bit words. It also has a 4K-word cache organiz

Post by answerhappygod »

A Computer System Has A Word Addressable Main Memory Consisting Of 256k X Bit Words It Also Has A 4k Word Cache Organiz 1
A Computer System Has A Word Addressable Main Memory Consisting Of 256k X Bit Words It Also Has A 4k Word Cache Organiz 1 (72.12 KiB) Viewed 16 times
Here X = 5, Y = 4
A computer system has a word-addressable main memory consisting of 256K X-bit words. It also has a 4K-word cache organized in a set associative manner with 4 block frames per set and 64-words per block. The cache is Y times faster than main memory. Assume the cache is initially empty. Suppose the CPU fetches 3584 words from locations 0,1,2,3..., 3583 in order. It then repeats this fetch sequence 14 more times. Assume no interleaved memory and no read-through policy. Assuming the LRU algorithm is used for block replacement, estimate the speedup (ratio of time without cache to time with cache) resulting from use of the cache.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply