Got it

Memory Sharing in Virtualization

Created: Dec 6, 2021 12:40:35Latest reply: Dec 10, 2021 12:18:58 458 4 1 0 0
  HiCoins as reward: 0 (problem unresolved)

@feifei_xin

Memory sharing and copy-on-write means that VMs share the same physical memory space. In this case, VMs only perform read-only operations on the physical memory. When a VM needs to write data to the memory, another memory space is reserved for writing data to the memory.

Is the shared memory space a blank memory space or a compression of the same memory of the VM?

Another question is the three technologies of memory overcommitment: memory sharing, memory swapping, and memory bubble. In which case are they enabled? Is there a threshold?


  • x
  • convention:

Featured Answers
feifei_xin
Created Dec 6, 2021 13:05:53

hi,
Memory bubble: The system actively reclaims the physical memory that the virtual machine does not use temporarily, and allocates it to the virtual machine that needs to reuse the memory. Recycling and allocation of memory are performed dynamically by the system, and applications on the virtual machine are unaware. The total amount of allocated memory used by all virtual machines on the entire physical server cannot exceed the total amount of physical memory of the server.

Memory swap: virtualize external storage into memory for virtual machine use, and store temporarily unused data on the virtual machine on external storage. When the system needs to use these data, it exchanges with the data reserved in the memory.

Memory sharing: Multiple virtual machines share memory pages with the same data content.


View more
  • x
  • convention:

All Answers
olive.zhao
olive.zhao Admin Created Dec 6, 2021 12:41:37

@feifei_xin
View more
  • x
  • convention:

Navin_kay
Navin_kay Created Dec 6, 2021 13:02:38

Memory Sharing in Virtualization-4445311-1
View more
  • x
  • convention:

feifei_xin
feifei_xin Created Dec 6, 2021 13:05:53

hi,
Memory bubble: The system actively reclaims the physical memory that the virtual machine does not use temporarily, and allocates it to the virtual machine that needs to reuse the memory. Recycling and allocation of memory are performed dynamically by the system, and applications on the virtual machine are unaware. The total amount of allocated memory used by all virtual machines on the entire physical server cannot exceed the total amount of physical memory of the server.

Memory swap: virtualize external storage into memory for virtual machine use, and store temporarily unused data on the virtual machine on external storage. When the system needs to use these data, it exchanges with the data reserved in the memory.

Memory sharing: Multiple virtual machines share memory pages with the same data content.


View more
  • x
  • convention:

Unicef
Unicef MVE Created Dec 10, 2021 12:18:58

Cool answer
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.