Open In App

Memory ballooning in the OS

Overview :
You might have studied many memory management systems OS uses to utilize the memory, but a special type of memory management is used nowadays to manage memory, and this is system is known as Memory ballooning. Its frequent use is observed in virtual memory dealing platforms, like VMWare, open-source KVM, etc. The most basic image of this system can be done by imagining that there is a balloon, filled with air, kept in a cuboidal box like the same shape your OS looks. Now, imagine there is a pump attached to the mouth of the balloon, and it can be made large, but up to some extent only. This extent can be the unclaimed memory previously used by the previous virtual machines. 

Communication :
The communication between these virtual machines is done by the hypervisor.



Balloon drivers :
Now, we will see how balloon drivers in each connected guest machine are responding in the Memory ballooning.

Ballooning software in the VM :
Softwares like VMWare require that you should first install the ballooning software in the VM to start using your VM in VMWare.



    (active memory)<(host memory)

 Advantages :
Now, let’s take a look at its advantages are as follows.

Disadvantages :
As the Memory, ballooning seems to be a very good option for implementation, but it holds some disadvantages are as follows.

Article Tags :