# Andrew S. Tanenbaum (OS) Edition 4 Exercise 3 Question 48 (Page No. 260)

54 views
Can you think of any situations where supporting virtual memory would be a bad idea, and what would be gained by not having to support virtual memory? Explain.

I think the only time virtual memory provides a  disadvantage is when there is ample of physical memory for operations to be run. As in this case virtual memory slows the speed of operations.

If there is 1tb of physical memory there is no need of having  a virtual memory.

## Related questions

1
102 views
Virtual memory provides a mechanism for isolating one process from another. What memory management difficulties would be involved in allowing two operating systems to run concurrently? How might these difficulties be addressed?
Write a program that simulates a toy paging system that uses the $\text{WSClock}$ algorithm. The system is a toy in that we will assume there are no write references (not very realistic), and process termination and creation are ignored (eternal life). The ... per $1000$ memory references. Explain what is needed to extend the program to handle a page reference stream that also includes writes.
Write a program that simulates a paging system using the aging algorithm. The number of page frames is a parameter. The sequence of page references should be read from a file. For a given input file, plot the number of page faults per $1000$ memory references as a function of the number of page frames available.