Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ii. Level 1 cache uses a 'hit rate' to determine the percentage of data and instructions that are needed by registers found in level

ii. Level 1 cache uses a 'hit rate' to determine the percentage of data and instructions that are needed by

ii. Level 1 cache uses a 'hit rate' to determine the percentage of data and instructions that are needed by registers found in level 1 cache. Typically, the hit rate of modern level 1 cache is just under 100%. Suppose that 1800 words of data need to be moved into the registers. If the hit rate is 96%, how many words are found in level 1 cache? iii. If the hit rate of the level 1 cache is instead 98%, how many words are found in level 1 cache? iv. It takes 1 nanosecond (1 x 10- seconds) to move a word from L1 cache to the registers and 10 nanoseconds to move a word from L2 cache to the registers. Assuming that all of the words that are not in L1 cache are in L2 cache, what is the percentage reduction in the time it takes to get the 1800 words of data into the registers if the hit rate is increased from 96% to 98%? Round your answer to the nearest tenth of a per cent. Hint: start by calculating the time to load the words available from L1 cache plus the time to load those from L2 cache, for each hit rate.

Step by Step Solution

3.49 Rating (149 Votes )

There are 3 Steps involved in it

Step: 1

To solve this problem well first calculate the number of words found in the L1 cache for each hit rate then determine the time it takes to load the wo... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Operating Systems Internals and Design Principles

Authors: William Stallings

8th edition

133805913, 978-0133805918

Students also viewed these Programming questions