It's UWAweek 47

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.
Displaying selected article
Showing 1 of 828 articles.
Currently 79 other people reading this forum.


 UWA week 40 (2nd semester, week 10) ↓
SVG not supported

Login to reply

👍?
helpful
11:05am Thu 3rd Oct, Kristiaan M.

so if the RAM has page numbers 0-7 from processes 0 and 1 all initially time step 0, and the disc has processes 2-3, and we receive the instruction '0' there is nothing to move in from the disc as all of process 0 is in RAM. We need to evict the first page loaded (page 0 in process 0 in RAM slot index 0) and gets moved into the disc now there are 7 slots loaded into the RAM and 9 slots loaded in the disc so now there is a page in disc that can be loaded into RAM from process 0 (the page that was evicted from RAM) and this page now gets moved into the empty slot in the RAM so basically the only thing that changes is the time step of the first page when being evicted and selected (increases by 2) is this correct?

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy