57.5k views
0 votes
Consider a computer system with a 40-bit logical address space and 8-KiB page size. The system supports up to 2GiB of physical memory. (Give all answers as powers of 2.)

How many entries are there in a conventional single-level page table? Explain?

1 Answer

6 votes

Final answer:

A computer system with a 40-bit logical address space and an 8-KiB page size will have 2^24 entries in a single-level page table. This calculation is based on the total logical address space divided by the page size.

Step-by-step explanation:

The question revolves around a computer system with a 40-bit logical address space and an 8-KiB page size. To determine the number of entries in a conventional single-level page table, you need to calculate the total number of pages possible within the logical address space.

First, let's identify the total number of logical pages:

Logical address space: 2^40 bits

  1. Number of bits needed to address a single byte: 2^3 (as there are 8 bytes in a Kilobyte)
  2. So, the number of logical pages = 2^(40-13-3) = 2^24

Therefore, a conventional single-level page table must contain an entry for each of these pages, meaning there would be 2^24 entries in the page table.

User Moe Sisko
by
9.4k points