mirror of
https://github.com/zach-sb/COMP2240-Assignment3.git
synced 2025-11-09 04:37:38 +11:00
9 lines
604 B
Plaintext
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 |