2. [Total: 25%] In this task, we deal with virtual memory and related topics. Assume you...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
2. [Total: 25%] In this task, we deal with virtual memory and related topics. Assume you work on an embedded system that provides a hardware MMU. The memory page size is 4 KB, and there are in total at most 8 pages. The system only uses one level of paging, i.e., there is a single page table. The given device has 16 KB of physical memory, and 1 MB of permanent Flash storage. (a) Briefly explain the concept of virtual memory, and the role it plays in providing process isolation (max. 3 sentences). [5%] (b) How many bits does a virtual memory address have in the given scenario? Which bits are used to index the page table, and which bits for the byte offset within a page? [5%] (c) How many bits does a physical memory address have? Explain your answer. [3%] (d) The contents of the page table of a process (all addresses in hex) are as follows: page number page base address 0 Ox1000 1 0x3000 2 not mapped 3 not mapped 4 not mapped 5 0x0000 not mapped 0x2000 6 7 Resolve the virtual address 0x78CD to a physical memory address. Briefly explain the process. [7%] (e) Is the available memory sufficient to store the complete addressable virtual memory? If not, how could the limitation in physical memory be overcome? [5%] 2. [Total: 25%] In this task, we deal with virtual memory and related topics. Assume you work on an embedded system that provides a hardware MMU. The memory page size is 4 KB, and there are in total at most 8 pages. The system only uses one level of paging, i.e., there is a single page table. The given device has 16 KB of physical memory, and 1 MB of permanent Flash storage. (a) Briefly explain the concept of virtual memory, and the role it plays in providing process isolation (max. 3 sentences). [5%] (b) How many bits does a virtual memory address have in the given scenario? Which bits are used to index the page table, and which bits for the byte offset within a page? [5%] (c) How many bits does a physical memory address have? Explain your answer. [3%] (d) The contents of the page table of a process (all addresses in hex) are as follows: page number page base address 0 Ox1000 1 0x3000 2 not mapped 3 not mapped 4 not mapped 5 0x0000 not mapped 0x2000 6 7 Resolve the virtual address 0x78CD to a physical memory address. Briefly explain the process. [7%] (e) Is the available memory sufficient to store the complete addressable virtual memory? If not, how could the limitation in physical memory be overcome? [5%]
Expert Answer:
Related Book For
Computer organization and architecture designing for performance
ISBN: 978-0136073734
8th edition
Authors: william stallings
Posted Date:
Students also viewed these programming questions
-
Portray in words what transforms you would have to make to your execution to some degree (a) to accomplish this and remark on the benefits and detriments of this thought.You are approached to compose...
-
Q1. You have identified a market opportunity for home media players that would cater for older members of the population. Many older people have difficulty in understanding the operating principles...
-
The mid-day wind speed, in knots, at a coastal resort is normally distributed with mean 12.8 and standard deviation . a. Given that 15% of the recorded wind speeds are less than 10 knots, find the...
-
Lee Ltd. recently signed a lease for equipment from Photon Inc. The lease term is five years and requires equal rental payments of $32,000 at the beginning of each year. The equipment has a fair...
-
On December 31, 2008, Carme Company had significant amounts of accounts receivables as a result of credit sales to its customers. Carme uses the allowance method based on credit sales to estimate bad...
-
Almost every patient in hospital is sent for laboratory investigation where sample collection is the foremost process. Based on laboratory test results, decisions about admissions, discharge and...
-
Figure shows a probability-impact (or risk mapping) matrix that is frequently used as part of the risk analysis prioritization process. Here, ordinal probability-of-occurrence and...
-
You are Professional Accountant ( SA ) for registered accountants. A client of yours in the SME sector is speculating shares on listed company on the JSE. The detail and name of the listed company is...
-
Explain the typical costs included in the purchase cost of an intangible asset.
-
Are there similar financial institutions to Raven Indigenous Capital Partners in Australia? If so, are they also pursuing impact investing to provide finance to Australian Indigenous entrepreneurs?...
-
1) Calculate a forward Exchange rate 2)Calculate the CDN $ proceeds Export Euros 6,000,000 Canada Interest rate 3% per annum (365 day year) France Interest Rate 2% per annum Spot Rate 1.35000...
-
Brandy has $150,000 left to pay on her current mortgage and is going to refinance to a lower interest rate and shorter term. The new APR is 3.75% and she is switching to a 15-year term. What is her...
-
OnlineEduc has an EPS of 5, with 12 million shares outstanding. The shares are trading at 13 each. It is thinking of acquiring ClassRoom that has an EPS of 1, with 10 million shares outstanding which...
-
What are the decision board of direcotrs make at a medical center?
-
YOU have just graduated from Deakin as an accounting and finance graduate. During your time at Deakin, you were organized and diligent with your studies and thus graduated with flying colors. This...
-
Access the Federation of Tax Administrators Internet site at www. taxadmin.org/state-tax-forms and indicate the titles of the following state tax forms and publications: a. Minnesota Form M-100 b....
-
For the hexadecimal main memory addresses 111111, 666666,BBBBBB, show the following information, in hexadecimal format: a. Tag, Line, and Word values for a direct-mapped cache, using the format of...
-
Many processors provide logic for performing arithmetic on packed decimal numbers. Although the rules for decimal arithmetic are similar to those for binary operations, the decimal results may...
-
Convert the following decimal numbers to their hexadecimal equivalents: a. 16 b. 80 c. 2560 d. 3000 e. 62,500
-
Following are several tests of controls introduced in the chapter: Examine periodic reports by non-Purchasing Department personnel regarding purchase prices and practices. Observe Receiving...
-
Harold Brodkey plans to apply sequential sampling to the receiving controls used by the Ozyck Corporation, a December 31, 1999 year end manufacturer and supplier of home lighting fixtures. Based on a...
-
Few departments within a corporation, not-for-profit institution, or governmental entity can have quite as significant an influence on cost containment as Purchasing, since the purchasing function...
Study smarter with the SolutionInn App