Assume you are given a uniprocessor system with one gigabyte of memory and a 300 gigabyte disk. The OS on the machine has a demand paged virtual memory system with a local page replacement policy and a multi-level feedback queue (MLFQ) CPU scheduler. On the system there are two compute-intensive jobs running: Job-A and Job-B. Job-A has a working set of 50 gigabytes while Job-B has a working set of 100 megabytes. Assume you left the system to run for a while until it reached a steady state with both jobs running.
a. Which job would you expect to have a higher CPU scheduling priority from the MLFQ scheduler?
b. Assume you add a second CPU to system, how would this affect the priorities of the jobs?
c. Assume you switch from a local to a global page replacement policy, how does this change affect the priorities of the jobs?
Justify your answer and state any assumptions you make.