Consider a memory system with 4-way set associative cache of size 8K bytes. Cache block size...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Consider a memory system with 4-way set associative cache of size 8K bytes. Cache block size is 8 bytes. Processor sends out 32-bit memory address to read/write required instruction or data. Index V. Tag Data Index 32-bit Address Byte offer V Tag Data V. Tag Data How many blocks exist in the cache? How many sets are in the cache? ( What is the number of bits for Index field? What is the number of bit for Tag field? 410-1 multiplexor Data Tag Data b) Consider a memory system with level 1 and level 2 caches, main memory and hard disk with the following configurations. - It takes 10ns to access level 1 cache, 100ns to access level 2 cache, 500ns to access main memory and 1000ns to access hard disk. - A program makes 100 memory references of which 20 are hit in level 1 cache, 56 are hit in level 2 cache, 12 are hit in main memory, and the remaining 12 are hit in hard disk. Calculate the average access time of this memory system. For simplification, you may assume all memory accesses are reads. Consider a memory system with 4-way set associative cache of size 8K bytes. Cache block size is 8 bytes. Processor sends out 32-bit memory address to read/write required instruction or data. Index V. Tag Data Index 32-bit Address Byte offer V Tag Data V. Tag Data How many blocks exist in the cache? How many sets are in the cache? ( What is the number of bits for Index field? What is the number of bit for Tag field? 410-1 multiplexor Data Tag Data b) Consider a memory system with level 1 and level 2 caches, main memory and hard disk with the following configurations. - It takes 10ns to access level 1 cache, 100ns to access level 2 cache, 500ns to access main memory and 1000ns to access hard disk. - A program makes 100 memory references of which 20 are hit in level 1 cache, 56 are hit in level 2 cache, 12 are hit in main memory, and the remaining 12 are hit in hard disk. Calculate the average access time of this memory system. For simplification, you may assume all memory accesses are reads.
Expert Answer:
Answer rating: 100% (QA)
a 1 Number of blocks Cache size Block size 8K bytes 8 bytes 10... View the full answer
Related Book For
Computer Organization and Design The Hardware Software Interface
ISBN: 978-0124077263
5th edition
Authors: David A. Patterson, John L. Hennessy
Posted Date:
Students also viewed these operating system questions
-
What lessons can be gleaned from historical case studies of organizational decline within advanced economies, and how might these insights inform contemporary strategic management practices?
-
Consider a memory system that uses a 32-bit address to address at the byte level, plus a cache that uses a 64-byte line size. a. Assume a direct mapped cache with a tag field in the address of 20...
-
Consider a memory system with the following parameters: Tc = 100 ns Cc = 0.01 cents > bit Tm = 1,200 ns Cm = 0.001 cents > bit a. What is the cost of 1 MByte of main memory? b. What is the cost of 1...
-
Write the C++ code for a function that receives an integer, a double number, and the address of a double variable from the calling statement. The function should multiply the integer by the double...
-
What are common reasons for a private firm to go public? What are the advantages and disadvantages or doing so? Be specific.
-
Compare and contrast the differences between computing depreciation expense for tangible personal property and depreciation expense for real property under both the regular tax and alternative tax...
-
What are two examples of voluntary deductions from an employee's gross pay?
-
At December 31, 2012, the trial balance of Oliker Company contained the following amounts before adjustment. Instructions(a) Prepare the adjusting entry at December 31, 2012, to record bad debts...
-
Record your aseptic experiment in a table directly in your notebook (Page number: ______). You must also include your results and a conclusion in your notebook (Page number: ______). Learning how...
-
Using the information in Table 7.1, construct another table showing how a lump-sum franchise tax of $30 affects the various average cost curves of the firm. Table 7.1 Average Variable Cost, AVC =...
-
1. Write a program called Leap Year Calculator.java thatrequests a user to input any year as an integer. Determine if the year entered is a leap year or not based on the following criteria: A year is...
-
The company has spent 5.75m in the last twenty-four months on this unique smart television set called the Boxe, and initial tests carried out have confirmed its technical viability and the directors...
-
Sam has the following incomes and tax related items Net Employment Income $45,600.00 Net Business Profit $27,310.00 Capital Gains $31,620.00 Allowable Capital Losses $20,825.00 Contribution to RRSP...
-
2. Consider a mechatronic application where a microprocessor based controller is used in a system that manages the environment within a building (i.e. a building management system). a. Comment on the...
-
Net credit sales total $ 1 comma 8 8 3 comma 5 5 0 $ 1 , 8 8 3 , 5 5 0 . Beginning and ending accounts receivable are $ 7 3 comma 0 0 0 $ 7 3 , 0 0 0 and $ 5 6 comma 9 0 0 $ 5 6 , 9 0 0 ,...
-
You are importing 25 level 1 EV chargers and 25 level 2 EV chargers from china to Canada, which value is $5000 and $6250 Continue your operation for 1 year-12 month From 0(zero) cost and revenue Each...
-
Eight years ago, Charlie established a trust under which he retained income for his life with remainder to his son Ken. On finding that he had a terminal disease, Charlie transferred his life...
-
In Exercises 1558, find each product. (9 - 5x) 2
-
Consider the following MIPS loop: 1. Assume that the register $t1 is initialized to the value 10. What is the value in register $s2 assuming $s2 is initially zero? 2. For each of the loops above,...
-
Calculate 3.41796875 10 -3 (6.34765625 10 -3 1.05625 10 2 ) by hand, assuming each of the values are stored in the 16-bit half precision format described in Exercise 3.27 (and also described in...
-
Calculate by hand 8.625 10 1 divided by -4.875 10 0 . Show all the steps necessary to achieve your answer. Assume there is a guard, a round bit, and a sticky bit, and use them if necessary. Write...
-
Consider a publicly-held company whose products you are familiar with. Some examples might include: Access the companys public website and search for its most recent annual report. (Note: Some...
-
The 2014 financial statements of LVMH Moet Hennessey-Louis Vuitton S.A. are presented in Appendix C of this book. LVMH is a Paris-based holding company and one of the worlds largest and best-known...
-
San Francisco Sea Salt's controller prepared the following statements of cash flow (in thousands of dollars) for the past two years, the current year (2020), and the upcoming year (2021): After...
Study smarter with the SolutionInn App