Question: (g) Assume 1 KiB page size and a 4-entry fully associative TLB with pseudo-LRU replacement. If
Fantastic news! We've Found the answer you've been seeking!
Question:
Question:
Transcribed Image Text:
(g) Assume 1 KiB page size and a 4-entry fully associative TLB with pseudo-LRU replacement. If a physical page must be allocated (i.e., the virtual page is on disk), assume the new page number is the current largest page number plus one. The initial TLB, cache, and page table states are given in the following three tables. Initial TLB: LRU1 LRU2 Valid Tag (Virtual Page Number) Physical Page Number 1 11 12 1 1 3 6 1 1 5 11 1 0 4 9 Page table: (Invalid mappings omitted) Virtual Page Number 0 Valid 1 3 1 4 1 5 1 7 1 10 1 11 1 Physical Page Number or In Disk Cache (first row has set index 0, last row has set index 3): LRU Valid 0 Tag (Base 10) 1490 0 1 22 1 27 1 1 105 1 398 1 0 1984 0 442 0 0 311 5 6 9 11 4 3 12 Screenshot Complete the following table, showing for each access wheer it is a hit in the (g) Assume 1 KiB page size and a 4-entry fully associative TLB with pseudo-LRU replacement. If a physical page must be allocated (i.e., the virtual page is on disk), assume the new page number is the current largest page number plus one. The initial TLB, cache, and page table states are given in the following three tables. Initial TLB: LRU1 LRU2 Valid Tag (Virtual Page Number) Physical Page Number 1 11 12 1 1 3 6 1 1 5 11 1 0 4 9 Page table: (Invalid mappings omitted) Virtual Page Number 0 Valid 1 3 1 4 1 5 1 7 1 10 1 11 1 Physical Page Number or In Disk Cache (first row has set index 0, last row has set index 3): LRU Valid 0 Tag (Base 10) 1490 0 1 22 1 27 1 1 105 1 398 1 0 1984 0 442 0 0 311 5 6 9 11 4 3 12 Screenshot Complete the following table, showing for each access wheer it is a hit in the
Expert Answer:
Answer rating: 100% (QA)
The detailed answer for the above question is provided below Answer Here are the final tables TLB 5 10 1 9 4 10 8 1 6 6 8 12 1 7 7 12 5 1 5 4 LRU1 LRU2 Valid Tag Virtual Page Number Physical Page Numb... 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
-
"internet radios" for streaming audio, and personal video recorders and players. Describe design and evaluation processes that could be used by a start-up company to improve the usability of such...
-
CANMNMM January of this year. (a) Each item will be held in a record. Describe all the data structures that must refer to these records to implement the required functionality. Describe all the...
-
Determine the maximum weight of the crate so that the tension developed in any cable does not exceed 450lb. 2 ft 1ft 2 f 2 ft,
-
Research into genetically modified crops has led to significant productivity gains for countries such as the United States that employ these techniques. Countries such as the European Union's member...
-
Write a code fragment that determines and prints the number of times the character 'a' appears in a String object called name.
-
In 2015, the city of San Francisco enacted an ordinance that required health warnings on advertisements for certain sugar-sweetened beverages (SSBs) that read: WARNING: Drinking beverages with added...
-
Data for Fairchild Company are presented in E23-11. Prepare a statement of cash flows using the direct method. (Do not prepare a reconciliation schedule.)
-
Consider graph G below. We want to construct a minimum spanning tree out of that. In what order are edges will be added to the Minimum Spanning Tree (MST) using Kruskal's Algorithm? Order is from...
-
Many of the expansionary periods during the twentieth century occurred during wars. Why do you think this is true?
-
Davis Plc. has in its share capital 100,000, $10 preferred shares paying 12 percent dividends. They are currently trading at $40 per share. a. Calculate the cost of preference shares. b. Calculate...
-
How do agency costs and free cash flow relate to capital structure management?
-
How might capital rationing conflict with the goal of maximizing shareholders wealth?
-
Explain the independence hypothesis as it relates to capital structure management.
-
Queens Park Plc. issued preference shares with par value $100 and annual preferred dividend of 10 percent. What is the price of Queens Park Plc preference shares if the appropriate discount rate for...
-
The production planning period for flat-screen monitors at Louisiana's Roa Electronics. Inc., is 4 months. Cost data are as follows: Regular-time cost per monitor $ 70 Overtime cost per monitor $110...
-
What mass of KBr (in grams) should you use to make 350.0 mL of a 1.30 M KBr solution?
-
If the bit pattern 00C000000 is placed into the Instruction Register, what MIPS instruction will be executed?
-
For the following C statement, what is the corresponding MIPS assembly code? Assume that the variables f, g, h, i, and j are assigned to registers $s0, $s1, $s2, $s3, and $s4, respectively. Assume...
-
Assume a program requires the execution of 50 106 FP instructions, 110 106 INT instructions, 80 106 L/S instructions, and 16 106 branch instructions. The CPI for each type of instruction is 1, 1,...
-
A summary of the Balgreen Bowling Club's cash book is shown below. From it, and the additional information, you are to construct an income and expenditure account for the year ending 31 December...
-
Why do you think non-profit-oriented organizations prepare receipts and payments accounts when they have all this information in the cash book already?
-
The following trial balance of the Grampian Golf Club was extracted from the books as on 31 December 2016: (1) Bar purchases and sales were on a cash basis. Bar inventory at 31 December 2016 was...
Study smarter with the SolutionInn App