Method and Device for Adjusting Virtual Resource and Computer Readable Storage Medium
First Claim
1. A method for adjusting a virtual resource used in a virtual system, the method comprising:
- providing at least one virtual machine in the virtual system, the at least one virtual machine having a maximum I/O (Input/Output) load threshold, a minimum I/O load threshold, a maximum operation load threshold and a minimum operation load threshold;
retrieving an I/O loading amount and an operation loading amount from a total data loading amount of the virtual system;
determining a relationship of the I/O loading amount and the maximum I/O load threshold and the minimum I/O load threshold and determining a relationship of the operation loading amount and the maximum operation load threshold and the minimum operation load threshold;
adjusting a number of the at least one virtual machine according to the relationship of the I/O loading amount and the maximum I/O load threshold and the minimum I/O load threshold, and adjusting an unit resource amount of the at least one virtual machine according to the relationship of the operation loading amount and the maximum operation load threshold and the minimum operation load threshold.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for adjusting a virtual resource used in a virtual system is provided. The method comprises the following steps. At least one virtual machine is provided in the virtual system, and the at least one virtual machine has maximum and minimum thresholds of I/O (Input/Output) loading and maximum and minimum thresholds of operation loading. An I/O loading amount and an operation loading amount of the total loading amount of the virtual system are retrieved. The relationship of the I/O loading amount and the maximum and minimum thresholds of I/O loading is determined to adjust the number of the virtual machine, and the relationship of the operation loading amount and the maximum and minimum thresholds of operation loading is determined as well to adjust an unit resource amount of the virtual machine.
34 Citations
23 Claims
-
1. A method for adjusting a virtual resource used in a virtual system, the method comprising:
-
providing at least one virtual machine in the virtual system, the at least one virtual machine having a maximum I/O (Input/Output) load threshold, a minimum I/O load threshold, a maximum operation load threshold and a minimum operation load threshold; retrieving an I/O loading amount and an operation loading amount from a total data loading amount of the virtual system; determining a relationship of the I/O loading amount and the maximum I/O load threshold and the minimum I/O load threshold and determining a relationship of the operation loading amount and the maximum operation load threshold and the minimum operation load threshold; adjusting a number of the at least one virtual machine according to the relationship of the I/O loading amount and the maximum I/O load threshold and the minimum I/O load threshold, and adjusting an unit resource amount of the at least one virtual machine according to the relationship of the operation loading amount and the maximum operation load threshold and the minimum operation load threshold. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A device for adjusting virtual resource used in a virtual system having at least one virtual machine, wherein the device comprises:
-
a retrieving module for retrieving an I/O loading amount and an operation loading amount of a total data loading amount of the virtual system; a determining module to determine the relation of the I/O loading amount and a maximum I/O load threshold and a minimum I/O load threshold of the at least one virtual machine and determining the relation of the operation loading amount and a maximum operation load threshold and a minimum operation load threshold of the at least one virtual machine; and an adjusting module to adjust the number of the at least one virtual machine according to the relation of the I/O loading amount and the maximum I/O load threshold and the minimum I/O load threshold and to adjust an unit resource amount of the virtual machine according to the relation of the operation loading amount and the maximum operation load threshold and the minimum operation load threshold. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A computer readable storage medium to store a computer program to execute a method for adjusting virtual resource used in a virtual system, the method comprises the steps of:
-
providing at least one virtual machine in the virtual system having a maximum I/O load threshold, a minimum I/O load threshold, a maximum operation load threshold and a minimum operation load threshold; retrieving an I/O loading amount and an operation loading amount of the total data loading amount of the virtual system; determining a relationship of the I/O loading amount and the maximum I/O load threshold and the minimum I/O load threshold, and determining a relationship of the operation loading amount and the maximum operation load threshold and the minimum operation load threshold; adjusting the number of the at least one virtual machine according to the relationship of the I/O loading amount and the maximum I/O load threshold and the minimum I/O load threshold and adjusting an unit resource amount of the at least one virtual machine according to the relationship of the operation loading amount and the maximum operation load threshold and the minimum operation load threshold.
-
Specification