Exercise 8.8 A cache has the following parameters: b, block size given in numbers of words;...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Exercise 8.8 A cache has the following parameters: b, block size given in numbers of words; S, number of sets; N, number of ways; and A, number of address bits. (a) In terms of the parameters described, what is the cache capacity, C? (b) In terms of the parameters described, what is the total number of bits required to store the tags? (c) What are S and N for a fully associative cache of capacity C words with block size b? (d) What is S for a direct mapped cache of size C words and block size b? Exercise 8.9 A 16-word cache has the parameters given in Exercise 8.8. Consider the following repeating sequence of LDR addresses (given in hexadecimal): 40 44 48 4C 70 74 78 7C 80 84 88 8C 90 94 98 9C 0 4 8 C 10 14 18 1C 20 Assuming least recently used (LRU) replacement for associative caches, determine the effective miss rate if the sequence is input to the following caches, ignoring startup effects (i.e., compulsory misses). (a) direct mapped cache, b= 1 word (b) fully associative cache, b = 1 word (c) two-way set associative cache, b = 1 word (d) direct mapped cache, b=2 words Exercise 8.8 A cache has the following parameters: b, block size given in numbers of words; S, number of sets; N, number of ways; and A, number of address bits. (a) In terms of the parameters described, what is the cache capacity, C? (b) In terms of the parameters described, what is the total number of bits required to store the tags? (c) What are S and N for a fully associative cache of capacity C words with block size b? (d) What is S for a direct mapped cache of size C words and block size b? Exercise 8.9 A 16-word cache has the parameters given in Exercise 8.8. Consider the following repeating sequence of LDR addresses (given in hexadecimal): 40 44 48 4C 70 74 78 7C 80 84 88 8C 90 94 98 9C 0 4 8 C 10 14 18 1C 20 Assuming least recently used (LRU) replacement for associative caches, determine the effective miss rate if the sequence is input to the following caches, ignoring startup effects (i.e., compulsory misses). (a) direct mapped cache, b= 1 word (b) fully associative cache, b = 1 word (c) two-way set associative cache, b = 1 word (d) direct mapped cache, b=2 words
Expert Answer:
Answer rating: 100% (QA)
a Given that Number of setsS Number of ways N Block size b words Number of address bits A To calcula... View the full answer
Related Book For
Digital Design and Computer Architecture
ISBN: 978-0123944245
2nd edition
Authors: David Harris, Sarah Harris
Posted Date:
Students also viewed these databases questions
-
A cache has the following parameters: b, block size given in numbers of words; S, number of sets; N, number of ways; and A, number of address bits. (a) In terms of the parameters described, what is...
-
A transistor has the following parameters in a common-emitter circuit: What is the voltage amplification of the transistor? How many decibels gain is this? hie 2.640 h e 72, hre 2.6 x10 Ri 100 k
-
Assume that the XYZ firm has the following parameters in a world with no taxes: ( = .2................... instantaneous standard deviation, T = 4 years ............ maturity of debt, V = $2,000...
-
Prove that point B in Figure 18.1 is not Pareto effi cient. Food Fo FB OA Abner E C B Contract curve UAB UBB MB -Medicine Z Belinda Mo Figure 18.1 Edgeworth Box for Exchange; Pareto Efficient Points...
-
The total assets and liabilities at the beginning and end of the year for Luther Company follow. Determine Luther Company's net income or loss for the year under each of the following alternatives:...
-
1. Did Dr. Ortega have a reasonable expectation of privacy, at least as to his desk and file cabinets? 2. Why didnt the Supreme Court require that the employer have a warrant based on probable cause...
-
When the plaintiff was 16, he was employed by Kmart as a cashier. At the end of his training, he was required to read Kmarts policy agreement, which included an agreement to submit all employment...
-
Staircase Equipment Company uses a job order cost system. The following data summarize the operations related to production for April 2010, the first month of operations: a. Materials purchased on...
-
Costs transferred in from Department A to Department B Blank______. Multiple choice question. will not be complete with respect to work done in Department A must be at least 50% complete will always...
-
Nikki Castle started making lifejackets for dogs in her basement part-time 10 years ago after getting a puppy. She wanted to go canoeing but was unable to find a suitable lifejacket for her puppy, so...
-
Why should auditors expect to be more challenged on their findings?
-
The main policy goal of unemployment insurance is to reduce the a. search effort of the unemployed. b. income uncertainty that workers face. c. role of unions in wage setting. d. amount of frictional...
-
If a customer loses a debit card and others use it to make unauthorized purchases, how much is the customer required to pay?
-
Aston has a checking account in Banner Bank. He writes a check on the account payable to Charlotte. When the check is presented for payment, Banner will be liable to Aston if the bank a. pays the...
-
An American buys a pair of shoes made in Italy. How do the U.S. national income accounts treat the transaction? a. Net exports and GDP both rise. b. Net exports and GDP both fall. c. Net exports...
-
What types of cultural differences can business managers experience? Give examples.
-
IDK had an NOL in 2022 that it elected to carryforward to 2023 in the following scenarios 2022 2023 (Scenario1) 2023 (Scenario2) Income (Loss) (75,000) 50,000 125,000 before NOL NOL allowed n/a...
-
Separate variables and use partial fractions to solve the initial value problems in Problems 18. Use either the exact solution or a computer-generated slope field to sketch the graphs of several...
-
Which of the circuits in Figure 3.68 are synchronous sequential circuits? Explain. (a) (b) (c) (d) CLK
-
Is the circuit in Figure 3.66 combinational logic or sequential logic? Explain in a simple fashion what the relationship is between the inputs and outputs. What would you call this circuit? CLK
-
Write MIPS assembly code for swapping the contents of two registers, $t0 and $t1. You may not use any other registers.
-
A Pepsi promotion encouraged consumers to collect Pepsi points and redeem them for merchandise. If they did not have quite enough points for the prize they wanted, they could buy additional points...
-
John and Jennifer Margeson entered into a contract to sell a weight-loss franchise business called Inches-A-Weigh to Theresa Artis. The parties memorialized their agreement in an Asset Purchase...
-
What is the mirror-image rule?
Study smarter with the SolutionInn App