A computer system has 1 MB of byte-addressable main memory and 8 kB of 2-way set...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
A computer system has 1 MB of byte-addressable main memory and 8 kB of 2-way set associative cache memory. One cache line is 4 bytes. (i) Determine the number of cache lines. [1 mark] (ii) Determine the size of the "tag" and "set" fields of the memory address. [4 marks] (iii) Figure Q1(d)(iii) shows a portion of the main memory contents (all numbers are in hexadecimal). Draw a diagram showing the cache contents after memory location ABCDE (hexadecimal) is accessed. [5 marks] Address ABCDA ABCDB ABCDC ABCDD ABCDE ABCDF ABCEO ABCE1 Contents 12 34 56 78 9A BC DE FO Figure Q1(d)(iii) A computer system has 1 MB of byte-addressable main memory and 8 kB of 2-way set associative cache memory. One cache line is 4 bytes. (i) Determine the number of cache lines. [1 mark] (ii) Determine the size of the "tag" and "set" fields of the memory address. [4 marks] (iii) Figure Q1(d)(iii) shows a portion of the main memory contents (all numbers are in hexadecimal). Draw a diagram showing the cache contents after memory location ABCDE (hexadecimal) is accessed. [5 marks] Address ABCDA ABCDB ABCDC ABCDD ABCDE ABCDF ABCEO ABCE1 Contents 12 34 56 78 9A BC DE FO Figure Q1(d)(iii)
Expert Answer:
Answer rating: 100% (QA)
i To determine the number of cache lines we first need to calculate the total size of the cache memory in bytes and then divide it by the size of each ... View the full answer
Related Book For
Practical Introduction To Data Structures And Algorithm Analysis Java Edition
ISBN: 9780136609117
1st Edition
Authors: Clifford A. Shaffer
Posted Date:
Students also viewed these operating system questions
-
I have a piece of property worth $600,000 with a basis of $100,000. I would like $300,000 of the value to go to charity and I would like to keep $300,000 of the value. Ignoring non-tax related...
-
Define the contextual-equivalence relation ` M =ctx M0 : for pairs of PCF terms M, M0 , PCF types , and PCF type environments . [3 marks] (ii) For PCF terms M and N with respective typings ` M : and...
-
A computer system has a 128 byte cache. It uses four-way set-associative mapping with 8 bytes in each block. The physical address size is 32 bits, and the smallest addressable unit is 1 byte. a) Draw...
-
What is t he principle of motor?
-
A health insurance policy pays 65 percent of physical therapy cost after a $200 deductible. In contrast, an HMO charges $15 per visit for physical therapy. How much would a person save with the HMO...
-
Locate Revenue Rulings 2016-15 and 2017-2, identify the topics, and find the dates of the Revenue Ruling. What are the applicable Code sections for each revenue ruling? Give the proper citations for...
-
English Bay Beach Company manufactures suntan lotion, called Surtan, in 11 -ounce plastic bottles. Surtan is sold in a competitive market. As a result, management is very cost-conscious. Surtan is...
-
Perform a horizontal analysis for the MLC income statement (Table 4-7) for 2011 and 2012. Write an explanation of this analysis.
-
In Exercises 7-9, use the diagram ST=12 U Q R to find the given length. 7. CU 7x-10 8. UR 9. the radius of C C 3x+6 S V T
-
What are the two elements that an employee must show to make a successful Title VII claim? Do you think the motivating factor standard is appropriate for discrimination claims based on national...
-
1) Given the following information, what is the variance of the returns on this stock? Variance= ____% 2) What is the variance of the returns on a portfolio that is invested 70 percent in stock Q and...
-
]The controller of Mustika Sdn Bhd is concerned about the how much the company's costs have risen over the past few months. Since the majority of the company's costs are mixed, it is hard to tell if...
-
Want` a` house` in` 6 `years. `hopes `to` be `able `to` put `down` $25,000 `at `that` time. `Bank `term`deposit` wants` to `invest `in `will` pay` 7.5% annully.` how `much `will` she `need` to `put...
-
Ten -year `bond `has` a `par` value `of` $1,000:` a `7.5% coupon `rate:` and `a` yield` to `maturity `of `8.25%.` Assuming `the` coupons` are` paid `semi-annually,` the `market` price` is `closest`...
-
What `is` the `YTM `of `a `four-year` bond` with `par` value` of `$1,200 `and a `4.2%` coupon `rate `when` the` bond` priced `at` $932.35: `assume `coupons` are `paid` annually
-
The MoMi Corporation's cash flow from operations before interest and taxes was $2.4 million in the year just ended, and it expects that this will grow by 5% per year forever. To make this happen, the...
-
What would a case study look like based off of the criteria/ format listed below: a 39 yo Caucasian female client with substance abuse history of opiates and methamphetamine. A mental health...
-
What are some of the various ways to implement an awareness program?
-
Assume that the values A through H are stored in a self-organizing list, initially in ascending order. Consider the three self-organizing list heuristics: count, move-to-front, and transpose. For...
-
Prove, using a reduction argument such as given in Section 17.3.2, that the problem of determining if an arbitrary program executes a particular statement within that program is unsolvable.
-
Implement a compression and decompression scheme that is based on Huffman coding.
-
Presented below is a draft set of financial statements for Chips Limited. The following additional information is available: 1 Purchase invoices for goods received on 29 June 2016 amounting to 23,000...
-
Why are accounting rules needed when preparing financial statements?
-
An accounting error, which was regarded as significant in nature and size, was not discovered until a later reporting period. How should it be dealt with?
Study smarter with the SolutionInn App