retagged by
455 views
1 votes
1 votes
closed with the note: thanks bikram sir...solved.
If we say virtual address is 34 bit and we use 3 level page table.

12 bits page offset.

first level page table =9 bits

second level page table = 5 bits

third level page table =8 bits.

My question is in third level page table there is 2^8 entries

what is meant by second level page and first level page table ?

If possible please draw diagram .
retagged by

1 Answer

1 votes
1 votes

In a 34-bit machine we subdivide the virtual address into 4 segments as follows:

9 5 8 12

first level page table =9 bits , second level page table = 5 bits and third level page table =8 bits.

12 bits page offset. The last bits of the virtual address are called the offset which is the location difference between the byte address you want and the start of the page. 

what is meant by second level page and first level page table ?

The first level is page field 9 bits . That means the page size is 29 =  512 Bytes . Program's address space have 512 pages .

The first level page table points to 512 2nd  level page tables, each pointing to 32 3rd page tables, each containing 256 pages .

Related questions

2 votes
2 votes
1 answer
1
3lurryface asked Jan 9, 2019
1,049 views
If there is 2 or more level paging for processes, is it possible to have more than 1 page fault while accessing any single addressable unit(byte or word) ?
2 votes
2 votes
2 answers
2
1 votes
1 votes
1 answer
3
Bishes asked Dec 3, 2022
940 views
Can anyone diagrammatically explain what is the difference between Page size vs Page table entry size in a page table?