Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1) Consider a demand-paging system with a paging disk that has an average access/transfer time of 50 ms. Addresses are translated through a page table

1) Consider a demand-paging system with a paging disk that has an average access/transfer time of 50 ms. Addresses are translated through a page table in main memory, with an access time of 500 ns per memory access. Thus, each memory reference through the page table takes two accesses. To improve this time, we have added a TLB that reduces access time to one memory reference if the page-table entry is in the TLB. Assume that 80% of the accesses are in the TLB and that, of those remaining, 10% cause page faults. We assume that the TLB access time is 20 ns. What is the effective access time? Show both the formula and the final result.

2) We use Simulator paging-multilevel-translate.py to study how the address translation work with the multi-level paging table. We ran a configuration and obtain a complete dump of each frame of physical memory as shown in this fileimage text in transcribed. A few column index lines are inserted for easy reading. "page" on the first column means the physical frame. The value of PDBR is 30 (decimal), i.e., the page directory is held in Page 30. For the following virtual addresses, please fill in the blanks for PA with the corresponding physical address. If invalid, put Invalid in the black. In order to obtain the PA, you need to obtain the index and the correspondingly content of PDE, PTE, and Offset, respectively.

VA 0: 0x519c --> PA [ ] [ ] [ ] [ ] PDE Index PTE Index Offset || || || \/ \/ \/ PDE Content PTE Content PA Content [ ] [ ] [ ] VA 1: 0x1dd5 --> PA [ ] [ ] [ ] [ ] PDE Index PTE Index Offset || || || \/ \/ \/ PDE Content PTE Content PA Content [ ] [ ] [ ] 

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

Students also viewed these Databases questions