Suppose a byte-addressable memory with 4 frames of size 64 bytes each and a paged virtual...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Suppose a byte-addressable memory with 4 frames of size 64 bytes each and a paged virtual memory using a three-entry TLB. Suppose a process P has 10 pages of virtual memory space. Assume the following TLB and page table for process P 7 2 60 91 TLD OHN 1 2 3 4 5 6 7 6 3 1 3 1 0 0 0 1 O 0 0 1 2 1 8 7 O 9 1 1 Page Table 0 G 3 2 H 3 C Main Memory 0 1 2 3 4 5 7 8 9 A B C D E F G H I J Virtual Memory a. Assume virtual address Ox1FA. Does it result in a TLB hit or miss? If TLB hit, what's the main memory frame? If TLB miss, would it result in a page fault? If not a page fault, what's the main memory frame and what the physical address in binary? Explain your answers. b. [10 pts] Virtual address Ox138 results in a TLB hit or miss? If TLB hit, what's the main memory frame? If TLB miss, would it result in a page fault? If not a page fault, what's the main memory frame and what the physical address in binary? Explain your answers. c. [10 pts] Assume virtual address Ox08F. Does it result in a TLB hit or miss? If TLB hit, what's the main memory frame? If TLB miss, would it result in a page fault? If not a page fault, what's the main memory frame? Explain your answers. Suppose a byte-addressable memory with 4 frames of size 64 bytes each and a paged virtual memory using a three-entry TLB. Suppose a process P has 10 pages of virtual memory space. Assume the following TLB and page table for process P 7 2 60 91 TLD OHN 1 2 3 4 5 6 7 6 3 1 3 1 0 0 0 1 O 0 0 1 2 1 8 7 O 9 1 1 Page Table 0 G 3 2 H 3 C Main Memory 0 1 2 3 4 5 7 8 9 A B C D E F G H I J Virtual Memory a. Assume virtual address Ox1FA. Does it result in a TLB hit or miss? If TLB hit, what's the main memory frame? If TLB miss, would it result in a page fault? If not a page fault, what's the main memory frame and what the physical address in binary? Explain your answers. b. [10 pts] Virtual address Ox138 results in a TLB hit or miss? If TLB hit, what's the main memory frame? If TLB miss, would it result in a page fault? If not a page fault, what's the main memory frame and what the physical address in binary? Explain your answers. c. [10 pts] Assume virtual address Ox08F. Does it result in a TLB hit or miss? If TLB hit, what's the main memory frame? If TLB miss, would it result in a page fault? If not a page fault, what's the main memory frame? Explain your answers.
Expert Answer:
Answer rating: 100% (QA)
a Virtual address 0x1FA results in a TLB miss The TLB does not contain an entry for virtual page 3 which is the page containing virtual address 0x1FA Therefore a page fault will occur b Virtual addres... 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 computer network questions
-
How do the British pay for their National Health Service? What according to the film, might Americans not like about the British system?
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
ANSWER OF OF PAPER PRG SUPPLY AND DEMAND A SEVERETTE PIECE THE NECESSARY THIS LITEEL DIALER L 1. Over the past 20 years, technological advances have reduced the cost of computer chips. How do you...
-
Write an HTML document to create a form that collects favorite popular songs, including the name of the song, the composer, and the performing artist or group. This document must call one PHP script...
-
Suppose Minot Farm Equipment Corp. employs two salespeople. Each covers an exclusive territory; one is assigned to North Dakota and the other to South Dakota. These two neighboring plains states have...
-
Find all values of c that satisfy the Mean Value Theorem for Several Variables for the function ((x, y) = (4 - x2 where a = and b = o.0)
-
Suppose you started up your own landscaping business. A customer paid you $175 in advance to mow his or heV lawn while he or she was on vacation. You performed landscaping services for a local...
-
A recent annual report for FedEx included the following note: Property and Equipment Expenditures for major additions, improvements, flight equipment modifications, and certain equipment overhaul...
-
Complete the steps below using cell references to given data or previous calculations. In some cases, a simple cell reference is all you need. To copy / paste a formula across a row or down a column,...
-
write a closed-research legal memo using the case cases given, addressing whether Mr. Adler can assert an adverse possession claim to Scrub Lot 40. Please write up your memo using the issue , brief...
-
1. HEMI's Accountant asks you to evaluate HEMI's 2022 financial performance against Wajax using common-size Statements of Income. This request requires you to provide common-size statements and...
-
i.. Explain how the Kraljic Matrix can be used for formulating category strategy for products/materials for construction company. is procuring. ii. Discuss two relevant products/materials under each...
-
What are the molecular mechanisms that underlie the process of mRNA splicing, and how can aberrations in this process lead to disease ?
-
In 2002, a gargantuan iceberg broke away from the Ross Ice Sheet in Antarctica. It was approximately a rectangle with dimensions 218 km long, 25.0 km wide, and 250.0 m thick. What is the mass of this...
-
Island Novelties, Inc., of Palau makes two products, Hawaiian Fantasy and Tahitian Joy. Present revenue, cost, and sales data for the two products follow: Selling price per unit .. Variable expenses...
-
Suppose the following recurrence relation is given: tn - -6-tn-1 +8tr-2 = 0 Restate this recurrence as a characteristic equation. Then, find the roots of this equation. Now, assume (for some initial...
-
Comparative financial statements for Weller Corporation, a merchandising company, for the year ending December 31 appear below. The company did not issue any new common stock during the year. A total...
-
Proposals have been made to ?sail? spacecraft to the outer solar system using the pressure of sunlight, or even to propel interstellar spacecraft with high-powered, Earth-based lasers. Sailing...
-
Virtualization software is being aggressively deployed to reduce the costs of managing todays high performance servers. Companies like VMWare, Microsoft and IBM have all developed a range of...
-
Repeat Exercise 2.43, but this time use ll/sc to perform an atomic update of the shvar variable directly, without using lock() and unlock(). Note that in this problem there is no variable lk....
-
Problems in this exercise assume that logic blocks needed to implement a processors datapath have the following latencies: 1. If the only thing we need to do in a processor is fetch consecutive...
-
The red flag literature has been criticized for its generality. It is difficult to make general measures of problems operational. For example, a lack of management integrity has been cited as a red...
-
Related parties are generally cited as indicators of a higher risk of fraud existing for an auditee. The idea is that arms-length transactions in and of themselves exercise control over the propriety...
-
Untimely cutoffs of sales or cash recipts can occur due to delays in shipping, mishandling of consigned goods shipped as sales, retroactive posting of cash received after the year-end, or holding...
Study smarter with the SolutionInn App