1,011 views
1 votes
1 votes
Can anyone diagrammatically explain what is the difference between Page size vs Page table entry size in a page table?

1 Answer

1 votes
1 votes

In a page table, the page size is the size of each page of memory that is stored in the page table. The page table entry size is the size of each entry in the table that corresponds to a memory page.

Here is a diagram to illustrate the difference between page size and page table entry size:

Page Table:

Page Table Entry 1 Page Table Entry 2 Page Table Entry 3 ...
Page 1 Page 2 Page 3 ...

 

 

In this example, the page size is the size of each page of memory (Page 1, Page 2, Page 3, etc.), and the page table entry size is the size of each entry in the page table (Page Table Entry 1, Page Table Entry 2, Page Table Entry 3, etc.).

The page size is typically larger than the page table entry size, as the page table entry size is only required to store the necessary information to locate and access the page of memory, while the page size is the actual size of the page of memory that is stored in the page table.

For example, the page size may be 4KB (4,096 bytes), while the page table entry size may be only 4 bytes. This means that each page of memory is 4KB in size, but each entry in the page table is only 4 bytes in size, and contains the necessary information to locate and access the corresponding page of memory.

Related questions

2 votes
2 votes
1 answer
1
3lurryface asked Jan 9, 2019
1,104 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
0 answers
4
rahul sharma 5 asked Dec 6, 2017
588 views
Does inverted page table takes less memory to store a processes as compared to single/multilevel paging?Please explain reason also