Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Operating Systems Question Q1. Answer al the following questions about paged memory management:(5 pts each) a) How much space needs to be allocated for a

Operating Systems Questionimage text in transcribed

Q1. Answer al the following questions about paged memory management:(5 pts each) a) How much space needs to be allocated for a single-level page table for a machine with a 32 bit virtual memory address and a 1K page size? (b) Describe two ways in which the page table size requirements could be reduced without changing the address space or page size. Estimate the reduced size for one of these approaches. (c) Given a logical address space of 32 bits, an outer page table and an inner page table of 10 bits where it supports two different page sizes having a page offset of 12 and 22 bits respectively. How many pages are possible if half of the outer page table entries point to the inner page table and half point directly to the larger pages? How many inner page tables are there? d) How much space needs to be allocated n the minimum and maximum cases for a two-level page table for a machine with a 32-bit virtual memory address, a 1K page size, and which has four times as many inner pages as outer pages? Assume any stored page table value requires 32 bits. e For the two-level paging approach above, if a Translation Lookaside Buffer (TLB) is used and can cache both inner and outer page tables, write down the formula for the Effective Access Time (EAT) for a page reference assuming a hit rate of ?, a TLB access time of 60 ns and a memory access time of 200 ns. What must ? be for EAT-280 ns? Assume that either both page tables are in the TLB or neither are Q1. Answer al the following questions about paged memory management:(5 pts each) a) How much space needs to be allocated for a single-level page table for a machine with a 32 bit virtual memory address and a 1K page size? (b) Describe two ways in which the page table size requirements could be reduced without changing the address space or page size. Estimate the reduced size for one of these approaches. (c) Given a logical address space of 32 bits, an outer page table and an inner page table of 10 bits where it supports two different page sizes having a page offset of 12 and 22 bits respectively. How many pages are possible if half of the outer page table entries point to the inner page table and half point directly to the larger pages? How many inner page tables are there? d) How much space needs to be allocated n the minimum and maximum cases for a two-level page table for a machine with a 32-bit virtual memory address, a 1K page size, and which has four times as many inner pages as outer pages? Assume any stored page table value requires 32 bits. e For the two-level paging approach above, if a Translation Lookaside Buffer (TLB) is used and can cache both inner and outer page tables, write down the formula for the Effective Access Time (EAT) for a page reference assuming a hit rate of ?, a TLB access time of 60 ns and a memory access time of 200 ns. What must ? be for EAT-280 ns? Assume that either both page tables are in the TLB or neither are

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Illuminated

Authors: Catherine Ricardo

2nd Edition

1449606008, 978-1449606008

More Books

Students also viewed these Databases questions

Question

What is the purpose of the Salary Structure Table?

Answered: 1 week ago

Question

What is the scope and use of a Job Family Table?

Answered: 1 week ago