Saturday, June 8, 2019

The Virtual Memory Manager Assignment Example | Topics and Well Written Essays - 750 words

The Virtual Memory Manager - Assignment ExampleThe practical(prenominal) reposition is created by the operating systems when the reck cardinalr does not have enough depot when it comes to executing a program. As mentioned earlier, the hard disk and the Random access Memory are in level off of data storage. On the operating system, the applications which are executed the data is kept in the poke, this is to ensure that the data is accessed quickly for touch. The RAM can be considerably 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 role 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 corporeal 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 whi ch terminal 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 main course 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 skill 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 acti vities can also share the virtual memory by mapping the same block of memory for more than an activity the activity summon 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 arrest 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. all(prenominal) 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 virtu al memory address which is referred to as dynamic binding. This process translates the memory address into the physical address

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.