Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(1) Translation Lookaside Buffer (TLB) can be considered as a cache of Page Table Entries (PTE), where each cache block is just a single page

(1) Translation Lookaside Buffer (TLB) can be considered as a cache of Page Table Entries (PTE), where each cache block is just a single page table entry. Consider there is a 32-bit single-core CPU with a 128 entry fully-associative TLB. Each memory page is 4KB. Consider that both the virtual memory address and physical memory address are 32 bits.

Please answer the following questions.

  1. During the address translation, how many bits are used for offset inside a page?

  2. How many bits are used for indexing different sets?

  3. How many bits are used for the tag?

  4. Consider there is an application that uses 200 MB physical memory. How many page table entries are needed by this application? Can all these entries be cached in the TLB?

Step by Step Solution

3.47 Rating (157 Votes )

There are 3 Steps involved in it

Step: 1

A Number of bits used for offset inside a page ceillog page size log4KB 12 bits B Her... 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

Computer Networking A Top-Down Approach

Authors: James F. Kurose, Keith W. Ross

5th edition

136079679, 978-0136079675

More Books

Students also viewed these Operating System questions