Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Paging. Use paging - linear - translate.py to answer the following.Exercise 1 0 . use the simulator to study how linear page tables change size
Paging. Use paginglineartranslate.py to answer the following.Exercise use the simulator to study how linear page tables change size given different parameters. Compute the size of linear page tables as different parameters change. Some suggested inputs are below; by using the v flag, you can see how many pagetable entries are filled.First, to understand how linear page table size changes as the address space grows, run with these flags:P k a m p m v n P k a m p m v n P k a m p m v n As the address space grows, the page table size will increase linearly. Each new page in the address space requires one new page table entry.python paginglineartranslate.py P k a lm p m v n python paginglineartranslate.py P k a m p m v n Exercise To understand how linear page table size changes as page size grows, repeat Exercise with the following parameters.P k a m p m v n P k a m p m v n P k a m p m v n python paginglineartranslate.py P lk m p m v n python paginglineartranslate.py P k a m p m v n P k a m p m v n As the page size grows, the page table size will decrease. Larger pages mean each page table entry maps a larger region of memory, so fewer entries are needed.Exercise Let us analyze the expected trends. How should pagetable size change as the address space grows? How about as the page size grows? Why should we not use big pages in general?Exercise Which of these parameters are unrealistic? Why?P a p v s P k a k p m v s P m a m p m v s Exercise Can you find the limits of where the program doesnt work anymore? For example, what happens if the addressspace size is bigger than physical memory?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started