Virtual Memory

Definition & Meaning

VM meaning

Last updated 23 month ago

What is Virtual Memory (VM)?

What does VM stand for?

Virtual Memory (VM) is a Function advanced for the Kernel of an running machine (OS) that Simulates extra major memory inclusive of RAM (random get admission to memory) or disc garage. This technique entails the manipulation and control of reminiscence by using permitting the loading and execution of larger programs or multiple programs simultaneously. It also allows each program to perForm as if it had countless memory, and is often taken into consideration Greater fee powerful than purchasing extra RAM.

Virtual memory lets in Software Program to use extra memory by way of making use of the tough disc force (HDD) as Transient garage. Most critical processing gadgets (CPUs) provide memory control Devices (MMUs) that aid virtual reminiscence. The MMU supports the “Web Page Tables” which can be used to convert the “actual” and “virtual” addresses located in reminiscence and on the HDD.

An OS that uses virtual reminiscence Frees up space by way of shifting statistics from the HDD which isn't always straight away required. When the Records is wanted, it is copied lower back to the HDD. When all RAM is getting used, VM swaps facts to the HDD and then lower back once more. Thus, VM allows a larger overall machine memory; however, complicated Code writing is required.

What Does Virtual Memory Mean?

In the 1940s and 1950s, prior to VM, huge programs carried out logic to manipulate number one and secondary Storage. The process became referred to as masking. When a program was bigger than reminiscence garage, the manner allowed Components of the program that had been not continuously was treated as an overlay. Each man or woman overlay might overwrite Modern-day overlay in reminiscence. The Programming for overlaying cHanged into great. One of the main motives for creating VM became now not for additional number one reminiscence but for ease of programming. By 1969 the effectiveness of virtual reminiscence changed into found out; and it have become widely applied.

VM literally tries to apply extra RAM, or disc garage memory, than really exists. This technique allows the CPU to deal with larger and multiple applications simultaneously. VM is an normal working sySTEM (OS) and Hardware program that utilizes an HDD by temporally storing and conTrolling memory. The system of manipulating and coPing with memory lets in every Software to feature as though it had almost infiNite memory. The transient reminiscence garage is managed by means of a memory Control Unit (MMU), additionally referred to as a “paged reminiscence control unit” (PMMU).

“Real” reminiscence is split into small sections called “pages.” The pages are commonly 4 Kilobytes in length. When all RAM or disc memory is used, any web page now not used is written to Digital memory in what is referred to as a change record. When the Swap File is needed, it's miles then translated lower back to “actual” reminiscence, a system referred to as page swapping.

One of the few drawbacks of the use of VM is that there may be excessive web page swapping, specifically if a user has severa open Packages. This can purpose programs to sigNiFicantly slow down because the CPU spends tons time writing to the HDD. The enormous reduction in overall performance is referred to as Thrashing.

Share Virtual Memory article on social networks

Your Score to Virtual Memory article

Score: 5 out of 5 (1 voters)

Be the first to comment on the Virtual Memory

10380- V4

tech-term.com© 2023 All rights reserved