Retrieved from https://studentshare.org/information-technology/1470211-the-virtual-memory-manager
https://studentshare.org/information-technology/1470211-the-virtual-memory-manager.
The virtual memory is created by the operating systems when the computer does not have enough memory when it comes to executing a program. As mentioned earlier, the hard disk and the Random access Memory are in charge of data storage. On the operating system, the applications which are executed the data is kept in the RAM, this is to ensure that the data is accessed quickly for processing. The RAM can be easily be accessed as compared to the hard disk and CD-ROM. The data in the RAM is only accessible when the computer is running (Andrews, 2007).
In case of a power shut down or the computer is shut down, all the data in the RAM are lost, and the operating system is gaining loaded into again into the RAM. The physical memory is a non-volatile memory this means it has the capabilities of storing the data even if the computer is not powered. The hard dismiss made of spherical disks known as platters which store magnetic data. The data are written, and it is later read using the read and write heads. The virtual memory comes into place when the system units lack enough the RAM space to execute an application; the virtual memory is used to transfer data from the to the paging file that frees up space in Random Access Memory.
A certain portion of the physical memory is used in the storage of files (Carr, 2008). . This is because there is a resource sharing of the available memory this increases the efficiency of the machine over time. The application, which shares the virtual memory, does trade the protection of the different address spaces for efficiency of communication. This also reduces the consumption of the physical memory. The virtual memory allows the sharing of the files and the memory by the multiplication process, with several benefits the system libraries can also be shared by mapping into the virtual address space of more than one activity (Andrews, 2008).
The activities can also share the virtual memory by mapping the same block of memory for more than an activity; the activity page can be shared during the folk time, which eliminates the need to copy all the pages of the initial activity. The virtual memory architecture deals with various advantages over that system that make the physical memory visible to programs. However, one of the main drawback is the increased number of the increased number of the physical memory which are vital for each virtual address reference.
If the two approaches are combined, the additional memory reads are needed. The operating system divides the physical memory into different partitions, the partitions can be of different sizes. Each partition can be given to a process as a virtual address space. The memory management unit of the central processing contains a relocation registers. Whenever the thread tries to access the memory location, the value of the transfer register is added to the virtual memory address which is referred to as dynamic binding.
This process translates the memory address into the physical address
...Download file to see next pages Read More