Abstract:
The present invention relates to a method and a device for adjusting memory of a virtual machine. The method includes: checking memory usages of virtual machines according to a preset memory usage threshold to determine multiple virtual machines whose memory is to be adjusted; determining, according to parameters preselected by the multiple virtual machines whose memory is to be adjusted, priority levels of the virtual machines whose memory is to be adjusted; and adjusting, according to the priority levels of the virtual machines whose memory is to be adjusted, memory of the virtual machines whose memory is to be adjusted. According to embodiments of the present invention, memory of a virtual machine on which a key application or service is deployed is adjusted in time and prevents a process of a priority service from being affected due to delayed memory adjustment.
Abstract:
A method for allocating a central processing unit resource to a virtual machine, including determining, according to a change in the number of virtual machines in an advanced resource pool, the number of allocated physical cores in the advanced resource pool; and adjusting, according to the number of the allocated physical cores in the advanced resource pool, the number of allocated physical cores in a default resource pool, where the advanced resource pool and the default resource pool are resource pools that are obtained by dividing physical cores of a central processing unit according to service levels of the resource pools.
Abstract:
A method for allocating a central processing unit resource to a virtual machine, including determining, according to a change in the number of virtual machines in an advanced resource pool, the number of allocated physical cores in the advanced resource pool; and adjusting, according to the number of the allocated physical cores in the advanced resource pool, the number of allocated physical cores in a default resource pool, where the advanced resource pool and the default resource pool are resource pools that are obtained by dividing physical cores of a central processing unit according to service levels of the resource pools.
Abstract:
A method for allocating a central processing unit resource to a virtual machine, including determining, according to a change in the number of virtual machines in an advanced resource pool, the number of allocated physical cores in the advanced resource pool; and adjusting, according to the number of the allocated physical cores in the advanced resource pool, the number of allocated physical cores in a default resource pool, where the advanced resource pool and the default resource pool are resource pools that are obtained by dividing physical cores of a central processing unit according to service levels of the resource pools.
Abstract:
A method for allocating a central processing unit resource to a virtual machine, including determining, according to a change in the number of virtual machines in an advanced resource pool, the number of allocated physical cores in the advanced resource pool; and adjusting, according to the number of the allocated physical cores in the advanced resource pool, the number of allocated physical cores in a default resource pool, where the advanced resource pool and the default resource pool are resource pools that are obtained by dividing physical cores of a central processing unit according to service levels of the resource pools.