2021-10-20 15:22:27 +11:00

9 lines
604 B
Plaintext

The simulation was run with the following command:
java A3 30 3 process1.txt process2.txt process3.txt
The simulation made the following assumptions:
-Issuing a page fault and subsequently blocking a process takes no time (this explains why all four processes are able to issue a page fault "simultaneously" at t=0)
-Execution of a swapped page can occur immediately after the page arrives in main memory (e.g. page 1 of process1 arrived in main memory at t=6 and executed at t=6, then a page fault was issued for page 2 at t=7.
-Working is shown for the Fixed Allocation with Local Replacement policy