
As I watched the lecture on “Operating System Functions” I was first a bit confused on how virtual memory and file swapping worked, but after watching Professor Olson explain it a few times I believe I have a decent understanding on the matter.
The use of virtual memory becomes necessary when the amount of memory in a computer is not sufficient to handle all tasks thrown at it by the operating system, system utilities, and application software. When this overload occurs the operating system will come in and create more room for data by creating this “virtual” memory. The OS creates virtual memory by “swapping” files among the computer’s RAM and storage. The computer’s RAM needs to contain all frequently and recently used data, and all data not being used frequently or recently will be swapped into storage. If data that is rarely used is in storage and needs to be used to perform a task then the OS will swap it into the RAM and bring some other data not frequently used into storage.
The use of virtual memory is beneficial in the fact that it allows a computer to exceed its maximum memory capacity, but it also will make a computer much slower. As Professor Olson stated the most efficient way to handle this problem would be to buy more RAM to install into your computer.
The use of virtual memory becomes necessary when the amount of memory in a computer is not sufficient to handle all tasks thrown at it by the operating system, system utilities, and application software. When this overload occurs the operating system will come in and create more room for data by creating this “virtual” memory. The OS creates virtual memory by “swapping” files among the computer’s RAM and storage. The computer’s RAM needs to contain all frequently and recently used data, and all data not being used frequently or recently will be swapped into storage. If data that is rarely used is in storage and needs to be used to perform a task then the OS will swap it into the RAM and bring some other data not frequently used into storage.
The use of virtual memory is beneficial in the fact that it allows a computer to exceed its maximum memory capacity, but it also will make a computer much slower. As Professor Olson stated the most efficient way to handle this problem would be to buy more RAM to install into your computer.
