In this video, we break down the concept of 2 Level Paging, an important memory management technique used in operating systems. Learn how multi-level paging enhances memory efficiency by reducing page table sizes and optimizing virtual address translation. Perfect for computer science students or anyone interested in understanding virtual memory systems.
Don't forget to like, subscribe, and hit the notification bell for more tech tutorials!
#OperatingSystems #MemoryManagement #2LevelPaging #Paging #VirtualMemory #ComputerScience #TechTutorial #LearnWithMe #OSFundamentals #CSLectures
---------------------------------------------
#Chapter5
#MemoryManagement
#TwoLevelPaging
Suppose the size of page table is greater than that of frame table, so it cannot fit in frame that’s why we use multiple page tables.
Because it divides the page table in smaller parts which can get fit in frame table.
Let’s see an example to get better understanding of the topic.
Question: Physical address space = 256 MB = 228, logical address space = 4 GB, frame size = 4 KB = 212, page table entry = 2 B. Solve and find that whether outer page table is required or not.
Answer: As we know that frame number = physical address space – frame size
Frame number = 228 – 212 = 216
Size of page table = 210 x 2 = 2 MB
Size of frame and page is not equal. So, we have to divide page into smaller parts.
Therefore,
2 MB/ 4 KB = 221/212 = 29
Now we will make another page table and it will be known as outer page table, which will have 29 entries.
Total size of outer page table = 29 x 2 B = 1 KB
#OperatingSystem #OS #asadnomanee #banglalecture #CSE
#Lecturelia #MBSTU #MBSTU_CSE
#lecturelia #banglatutorial #bangla