Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider a demand paging system where an integer is stored in 4 bytes, page size is 5 1 2 bytes, uses LRU page replacement algorithm
Consider a demand paging system where an integer is stored in bytes, page size is bytes, uses LRU page replacement algorithm and each process can be assigned frames. A process executes the following code where the code occupies of page and integers x and y are stored in general purpose registers of the processor.
int x y a;
ex
CO
y
whiley
axy
a How many pages are needed for the array if all the elements of the array are stored contiguously.
b How many page faults will this program generate? Jerstify the answer.
c Calculate the amount of internal fragmentation in bytes.
d If the program makes the following page references: What is the working set Wt Delta with t equal to time at th reference assuming window size equal to references?
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