Consider a 32-bit computer with the following virtual memory architecture: - Each page is 2KB (211...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Consider a 32-bit computer with the following virtual memory architecture: - Each page is 2KB (211 bytes). - Physical memory is 32 GB (2^35 bytes). Note: that is not mean 2^32 bytes. - Associated with each virtual page are 7 bits in the page table, including control and reserved bits. The exact nature of these bits is unimportant for this question. For completeness, they are: three bits controlled by the kernel (PTE_P, PTE_U, and PTE_W); 2 bits controlled by the hardware (Accessed and Dirty); and 2 bits reserved for the kernel (for example, PTE_COW). - The machine has a two-level page table structure analogous to the one used in JOS: each process has a page directory, each entry of which points to a page table. Each entry in the page directory has the same number of control and reserved bits as a page table entry: (1) What is the minimum number of bits in a second-level page table entry, and explain briefly. (2) What is the minimum number of bits in a page directory entry, and explain briefly. (3) Now assume that the entry size is rounded up to the nearest multiple of 4 bytes. Further assume that a page directory or page table must fit on a page. Programs on this machine use 32-bit quantities as instruction operands, but when the operand is an address, not all of these 32 bits are examined by the processor. How many address bits are actually used in this architecture? (4) How large is the per-process virtual memory space? Consider a 32-bit computer with the following virtual memory architecture: - Each page is 2KB (211 bytes). - Physical memory is 32 GB (2^35 bytes). Note: that is not mean 2^32 bytes. - Associated with each virtual page are 7 bits in the page table, including control and reserved bits. The exact nature of these bits is unimportant for this question. For completeness, they are: three bits controlled by the kernel (PTE_P, PTE_U, and PTE_W); 2 bits controlled by the hardware (Accessed and Dirty); and 2 bits reserved for the kernel (for example, PTE_COW). - The machine has a two-level page table structure analogous to the one used in JOS: each process has a page directory, each entry of which points to a page table. Each entry in the page directory has the same number of control and reserved bits as a page table entry: (1) What is the minimum number of bits in a second-level page table entry, and explain briefly. (2) What is the minimum number of bits in a page directory entry, and explain briefly. (3) Now assume that the entry size is rounded up to the nearest multiple of 4 bytes. Further assume that a page directory or page table must fit on a page. Programs on this machine use 32-bit quantities as instruction operands, but when the operand is an address, not all of these 32 bits are examined by the processor. How many address bits are actually used in this architecture? (4) How large is the per-process virtual memory space?
Expert Answer:
Answer rating: 100% (QA)
1 The minimum number of bits in a secondlevel page table entry is 7 since each entry in the page dir... 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 programming questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Write a literature review for your study. See below for an example of a literature review. Your literature review should provide both analysis and synthesis of previous studies as related to the...
-
Yamini and Fatima, two students of Class IX of a school, together contributed Rs. 100 towards the Prime Ministers Relief Fund to help the earthquake victims. Write a linear equation which satisfies...
-
A blue puck with mass 0.0400 kg sliding with a velocity of magnitude 0.200 m/. on a frictionless, horizontal air table, makes a perfectly elastic, head-on collision with a red puck with mass m,...
-
Consider the voltaic cell Zn(s) | Zn2+(aq)||Cr3+(aq) |Cr(s) Write the half-cell reactions and the overall cell reaction. Make a sketch of this cell and label it. Include labels showing the anode,...
-
How many times can you define a function?
-
Smoky Mountain Corporation makes two types of hiking bootsXtreme and the Pathfinder. Data concerning these two product lines appear below: The company has a traditional costing system in which...
-
Determine if the following equations can be solved by separation of variables, and if they are, it solves the problems. 1. 5x7dy+9xy5 = 0 dx 2. -xe +y=0 3. 5xy'-11y = 0 Graph both equations, the...
-
Use INDEX and MATCH functions to fill in a table that extracts the amounts shipped between each pair of cities in the accompanying data, which shows the solution to an optimization model that finds...
-
A triangle ABC is drawn to circumscribe a circle of radius 4 cm such that the segments BD and DC into which BC is divided by the point of contact D are of lengths 8 cm and 6 cm respectively (see...
-
According to the Pew Research Center, the average informed person has how many sources of daily information?
-
How can performance management systems be used to identify and nurture high-potential talent within the organization ?
-
What is the process of capability assessment in an organization? Explain briefly
-
Identify the reason why many early social thinkers were concerned with social change.
-
Is growth of the Internet, in terms of users, expected to continue indefinitely? What, if anything, will cause it to slow? What do you think is the main motivation for the creation of Internet2?
-
You own Summertime outdoor theatre, putting on shows. (evaluated for accuracy and proper format) Financial information for the 2021 season is below: Total fixed costs: $1,600,000 Variable costs per...
-
Funds are separate fiscal and accounting entities, each with its own self-balancing set of accounts. The newly established Society for Ethical Teachings maintains two funds-a general fund for...
-
Many computer applications involve searching through a set of data and sorting the data. A number of efficient searching and sorting algorithms have been devised in order to reduce the runtime of...
-
The importance of having a good branch predictor depends on how oft en conditional branches are executed. Together with branch predictor accuracy, this will determine how much time is spent stalling...
-
Write down the next-state and output-function tables for the traffic light controller described in Exercise B.41. Exercise B.41 We wish to add a yellow light to our traffic light example on page...
-
1. The United States has a comparatively large but declining number of banks. a. The large number of banks in the United States is explained by restrictions on branching, both within and across state...
-
Nondepository institutions are playing an increasingly important role in the financial system. Five types of financial intermediary may be classified as nondepository institutions. a. Insurance...
-
List and explain the six parts of the financial system.
Study smarter with the SolutionInn App