• edited by
1,947 views
1 1 vote



Need help Anyone?

Suppose that you wish to design a virtual memory system with the following characteristics:
- The size of a page table entry is 4 bytes.
- Each page table must fit into a single physical frame.
- The system must be able to support virtual address spaces as large as $2^{38}$ bytes ( 256 GB )

Suppose that you decide to use a multi-level paging scheme with no more than two levels of page tables. The minimum page size that your system must have is $\qquad$ KB

3 Answers

2 2 votes

Lets say ,page size = 2^x byte.

so no of bits required for offset =x.

now page table entry = 4 B

now ,max no of entry one page can store is 2^x/4 =2^(x-2).

so each inner and outer level page table fit completely in one page frame . so we can write,

x-2 x-2 x

outer level                                          inner level                                      offset,

now it sums up to virtual address space .2^38.

(x-2)+(x-2)+x=38

x=14.

so page size =16 KB

Position:
Show:

Related questions

3 3 votes
1 1 answer
4.5k
4.5k views
Gate Madrista asked Jan 17, 2017
4,477 views
Consider a system with 2 level paging applicable the page table is divided into 8k pages of size 16kB.The memory is byte addresable if the physical address space is 128MB...
3 3 votes
2 answers 2 answers
2.1k
2.1k views
bhanu kumar 1 asked Jan 18, 2019
2,101 views
Suppose that you wish to design a virtual memory system with the following characteristics:i. The size of a page table entry is 4 bytes.ii. Each page table must fit into ...
5 5 votes
2 2 answers
259
259 views
GO Classes asked Aug 14
259 views
A virtual-memory system has:$48$-bit virtual addresses $32$ KB pages $32$ TB physical memory Two-level page tables Both levels stored in physical memory Every second-leve...
4 4 votes
1 1 answer
182
182 views
GO Classes asked Aug 10
182 views
Consider a system with:$6$-level page tables$1$ KB page tables at each level$4$-byte page-table entriesHow much page-table space, in KB, is required to allow a process to...