99.2k views
5 votes
It is __________ to reread a page from the file system than to write it to swap space and then to reread it from there.

a) useless
b) less efficient
c) more efficient
d) None of these

1 Answer

5 votes

Final Answer:

It is more efficient to reread a page directly from the file system than to write it to swap space and subsequently reread it from there. Option C is answer.

Step-by-step explanation:

When a page is accessed from the file system, it can be read directly into memory. On the other hand, if the system decides to write the page to swap space and later retrieve it, this involves additional disk I/O operations and introduces latency.

Writing to swap space is generally a mechanism used when the system needs to free up memory, but it introduces overhead. Rereading directly from the file system avoids unnecessary write and read operations, making the process more efficient.

Therefore, option C, "more efficient," accurately describes the comparison between these two approaches.

User Freefrog
by
7.8k points