Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need to solve three problems and may ? can help this problem anything asap? Assignment 2 Due: April 11 2018 (17:00) on LMS 0

I need to solve three problems and may ? can help this problem anything asap?

image text in transcribed

Assignment 2 Due: April 11 2018 (17:00) on LMS 0 points) - Consider a computer system with a logical address space of 256 pages witha Q1 (2 AKB page size, mapped onto a physical address space of 64 frames. a) (10 points) How many bits are required in the logical address? Why? Please explain b) (10 points) How many bits are required in the physical address? Why? Please explain. Q2 (20 points) - Consider a computer system with a 32-bit logical address space and 4KB page size. The system supports up to 512MB of physical memory, How many entries are there in each of the following? a) (10 points) A conventional single-level page table. Why? Please explain. b) (10 points) An inverted page table. Why? Please explain. Q3 (20 points)- Consider a demand-paging system with a paging disk that has an average access time of 5 milliseconds. Addresses are translated through a page table in main memory, with an access time of 1 microsecond per memory access. Thus, each memory reference through the page table takes two memory accesses (assuming no page faults occur). To improve this, we have added an associative memory close to the CPU that reduces access time to one memory reference for entries present in the associative memory. Assuming that 80 percent of memory accesses are resolved in the associative memory and that, 10 percent of the remaining accesses (i.e. 2 percent of the overall) result in page faults. Calculate is the effective memory access time, and explain your reasoning behind your calculation Assignment 2 Due: April 11 2018 (17:00) on LMS 0 points) - Consider a computer system with a logical address space of 256 pages witha Q1 (2 AKB page size, mapped onto a physical address space of 64 frames. a) (10 points) How many bits are required in the logical address? Why? Please explain b) (10 points) How many bits are required in the physical address? Why? Please explain. Q2 (20 points) - Consider a computer system with a 32-bit logical address space and 4KB page size. The system supports up to 512MB of physical memory, How many entries are there in each of the following? a) (10 points) A conventional single-level page table. Why? Please explain. b) (10 points) An inverted page table. Why? Please explain. Q3 (20 points)- Consider a demand-paging system with a paging disk that has an average access time of 5 milliseconds. Addresses are translated through a page table in main memory, with an access time of 1 microsecond per memory access. Thus, each memory reference through the page table takes two memory accesses (assuming no page faults occur). To improve this, we have added an associative memory close to the CPU that reduces access time to one memory reference for entries present in the associative memory. Assuming that 80 percent of memory accesses are resolved in the associative memory and that, 10 percent of the remaining accesses (i.e. 2 percent of the overall) result in page faults. Calculate is the effective memory access time, and explain your reasoning behind your calculation

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

Concepts of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

7th edition

978-1111825911, 1111825912, 978-1133684374, 1133684378, 978-111182591

More Books

Students also viewed these Databases questions