Virtual Memory
With today’s modern technology, we need to ensure that our computers are able to run quick and with ease. In order to run programs with speed, individuals need to ensure that they have sufficient memory to allow for programs running. Computers come with memory, but sometimes it is not enough to run what is needed or wanted. One way to ensure speed is to use virtual memory.
Virtual memory can be described as memory that emulates RAM, and allows programs to run as though the computer has more memory than it actually does. This is a great benefit for individuals who are running various programs at one time. According to Mr. Stallings, he wrote “virtual memory allows for very effective multiprogramming and relives the user of the unnecessarily tight constraints of main memory” (p. 343, 2012). Using virtual memory is a good choice to help run programs on your system.
There are two approaches to providing virtual memory in a system. They are paging and segmentation. Paging is dividing the processes into very small fixed pages. When pages are loaded a page table is created. Segmentation is for varying of sizes. When segments are loaded a table is created for this process. A benefit is that paging and segmentation can be combined in memory management.
Some benefits of using virtual memory are freeing up your systems RAM, cheaper than buying more RAM, and using either an external hard drive or USB thumb drives also gives you space to use. Freeing up your system’s RAM is easy to do by closing out programs you are not using at the moment. This frees up space to be used by a program you are needed at the moment. RAM on some systems is not overly priced depending on the type. Individuals can spend a lot of money on upgrading their RAM if they are not careful with what they really need for their system. Two examples of virtual memory are an external hard drive or a USB thumb drive. Either of these can be used in
References: Stallings, W., (2012), Operating Systems: Internals and Design Principles (7th ed.), Boston, MA: Prentice-Hall, p. 341 Stallings, W., (2012), Operating Systems: Internals and Design Principles (7th ed.), Boston, MA: Prentice-Hall, p. 343