Claims
- 1. A virtual computer system having a hypervisor that divides a physical computer into a plurality of logical partitions, that runs operating systems in the logical partitions, and that controls allocation of resources of said physical computer to the logical partitions, said virtual computer system comprising:
a user interface through which one setting or a plurality of settings concerning the control actions of said virtual computer system is entered; a load measuring means for measuring loads, which are to be accomplished by the operating systems in the logical partitions, according to the settings entered through said user interface; and an adaptive control means for determining the allocation ratios of the computer resources relative to the logical partitions according to the settings entered through said user interface and the loads to be accomplished by the operating systems in the logical partitions which are measured by said load measuring means, and for when the determined allocation ratios are different from the previous ones, instructing said hypervisor to vary the allocation ratios, wherein:
said hypervisor includes an allocation ratio varying means that dynamically varies the allocation ratios of the computer resources relative to the logical partitions in response to the instruction issued from said adaptive control means.
- 2. A virtual computer system according to claim 1, wherein:
said user interface includes a kind-of-use ratios setting means through which a kind of use ratios to be measured as loads is designated as one of the settings concerning the control actions; said load measuring means measures as loads use ratios of a kind designated through said kind-of-use ratios setting means; and said adaptive control means determines the allocation ratios of the computer resources relative to the logical partitions according to the loads measured by said load measuring means.
- 3. A virtual computer system according to claim 2, wherein: the kind of use ratios to be measured as loads which is designated through said kind-of-use ratios setting means includes at least one of CPU use ratios, memory use ratios, disk use ratios, and network use ratios; and one kind of use ratios to be measured as loads or a plurality of kinds of use ratios to be measured as loads is selected from among the kinds of use ratios to be measured as loads and designated.
- 4. A virtual computer system according to claim 1, wherein:
said user interface includes a control cycle setting means through which a control cycle is designated as one of the settings concerning the control actions; said load measuring means repeatedly measures the loads to be accomplished by the operating systems in the logical partitions at intervals of the control cycle designated through said control cycle setting means; and said adaptive control means repeatedly performs determination of allocation ratios and instruction of variation of allocation ratios at intervals of the control cycle designated through said user interface.
- 5. A virtual computer system according to claim 1, wherein:
said user interface includes an adaptive control setting means through which it is designated as one of the settings concerning the control actions whether the capability of said adaptive control means is valid or invalid; only when it is designated through said adaptive control setting means that the capability of said adaptive control means is valid, said load measuring means measures the loads to be accomplished by the operating systems in the logical partitions; and only when it is designated through said adaptive control setting means that the capability of said adaptive control means is valid, said adaptive control means determines allocation ratios and instructs variation of allocation ratios.
- 6. A virtual computer system according to claim 1, wherein:
said user interface includes a load manipulation setting means through which it is designated as one of the settings concerning the control actions whether the loads measured by said load measuring means are manipulated and what kind of manipulation is adopted; if it is designated through said load manipulation setting means that the loads are manipulated, said load measuring means measures the loads to be accomplished by the operating systems in the logical partitions, and said load measuring means or adaptive control means manipulates the measured loads according to a designation made through said load manipulation setting means; said adaptive control means determines the allocation ratios of the computer resources relative to the logical partitions according to the manipulated loads, and instructs variation of allocation ratios; if it is designated through said load manipulation setting means that the loads are not manipulated, said load measuring means measures the loads to be accomplished by the operating systems in the logical partitions, and said adaptive control means performs determination of allocation ratios and instruction of variation of allocation ratios according to the loads.
- 7. A virtual computer system according to claim 6, wherein:
said load manipulation setting means enables designation of moving average calculation or normalization; if moving average calculation is designated through said load manipulation setting means, said load measuring means or adaptive control means performs calculation of a moving average of a designated number of values of each load including the latest value thereof as manipulation of loads measured by said load measuring means, and adopts resultant values as manipulated loads; and if normalization is designated through said load manipulation setting means, said load measuring means or adaptive control means performs normalization of the latest loads as manipulation of loads measured by said load measuring means.
- 8. A virtual computer system according to claim 1, wherein:
said user interface includes an allocation ratio calculation method designating means through which a calculation method according to which said adaptive control means calculates the allocation ratios of the computer resources relative to the logical partitions on the basis of loads is designated as one of the settings concerning the control actions; and said adaptive control means determines allocation ratios according to an allocation ratio calculation method designated through said allocation ratio calculation method designating means, and instructs variation of allocation ratios.
- 9. A virtual computer system according to claim 8, wherein:
said allocation ratio calculation method designating means enables designation of a proportioning method or a threshold method; if the proportioning method is designated through said allocation ratio calculation method designating means, said adaptive control means determines the allocation ratios of the computer resources relative to the logical partitions in proportion to the loads to be accomplished by the operating systems in the logical partitions which are measured by said load measuring means, and instructs variation of allocation ratios; when the threshold method is designated through said allocation ratio calculation method designating means, if any of the loads to be accomplished by the operating systems in the logical partitions which are measured by said load measuring means exceeds a heavy-load judgment threshold, said adaptive control means decreases allocation ratios of computer resources relative to logical partitions other than the logical partition concerned, and adds the sum total of decreases to the allocation ratio relative to the logical partition concerned so as to thus determine the allocation ratio relative to the logical partition concerned, and instructs variation of allocation ratios; and if the heavy load to be accomplished by the operating system in the logical partition gets smaller than a light-load judgment threshold, said adaptive control means restores the allocation ratios of the computer resources relative to the logical partitions to the previous unvaried values, and instructs variation of allocation ratios.
- 10. A virtual computer system according to claim 1, wherein said user interface includes an allocation range setting means through which a minimum value and a maximum value for the allocation volumes or allocation ratios of the computer resources relative to the logical partitions are designated as one of the settings concerning the control actions;
when said adaptive control means determines computer resources to be allocated to the logical partitions according to the loads to be accomplished by the operating systems in the logical partitions which are measured by said load measuring means, said adaptive control means adjusts the allocation ratios or allocation volumes so that the allocation ratios or allocation volumes will range from the minimum value designated through said allocation range setting means to the maximum value designated through it, and instructs variation of allocation ratios.
- 11. A virtual computer system according to claim 10, wherein:
said hypervisor allocates logical partitions to customers who have made a contract; and said hypervisor includes a means that assists in setting a minimum value and a maximum value for an allocation ratio of a computer resource relative to a logical partition, which is assigned to a customer, according to the conditions for contract under which the customer has made a contract.
- 12. A virtual computer system according to claim 10, wherein:
said hypervisor allocates logical partitions to customers who have made a contract; said hypervisor includes a contract user interface through which each customer designates the conditions for contract; and when a customer designates the conditions for contract through said contract user interface, said contract user interface sets a minimum value and a maximum value for an allocation ratio of a computer resource relative to a logical partition assigned to the customer according to the designated conditions for contract.
- 13. A virtual computer system having a hypervisor that divides a physical computer into a plurality of logical partitions, that runs operating systems in the logical partitions, and that controls allocation of resources of said physical computer to the logical partitions, said virtual computer system comprising:
a load measuring means for measuring loads to be accomplished by the operating systems in the logical partitions; an adaptive control means for determining the allocation ratios of the computer resources relative to the logical partitions according to the loads to be accomplished by the operating systems in the logical partitions which are measured by said load measuring means, and for when the allocation ratios are different from the previous ones, instructing said hypervisor to vary the allocation ratios; and an output user interface for providing at least one of the loads measured by said load measuring means and the allocation ratios of the computer resources relative to the logical partitions which are determined by said adaptive control means, wherein:
said hypervisor includes an allocation ratio varying means that dynamically varies the allocation ratios of the computer resources relative to the logical partitions in response to the instruction issued from said adaptive control means.
- 14. A virtual computer program for allowing a hypervisor to divide a physical computer into a plurality of logical partitions and to run operating systems in the logical partitions, said program comprising:
a means for measuring loads to be accomplished by the operating systems that run in the logical partitions; a means for determining the allocation ratios of the physical computer resources relative to the logical partitions according to the loads; and a means for when the determined allocation ratios are different from the previous ones, varying the allocation ratios so that the allocation ratios of the computer resources relative to the logical partitions will equal the determined allocation ratios.
- 15. A virtual computer program having a user interface through which control-related settings are designated, allowing a hypervisor to divide a physical computer into a plurality of logical partitions and to run operating systems in the logical partitions, said program comprising:
a means for measuring loads to be accomplished by the operating systems, which run in the logical partitions, according to the settings designated through said user interface; a means for determining the allocation ratios of the physical computer resources relative to the logical partitions according to the loads; and a means for when the determined allocation ratios are different from the previous ones, varying the allocation ratios so that the allocation ratios of the computer resources relative to the logical partitions will equal the determined allocation ratios.
Priority Claims (1)
Number |
Date |
Country |
Kind |
2001-357509 |
Nov 2001 |
JP |
|
CROSS-REFFERENCE TO RELATED APPLICATION
[0001] This application is related to U.S. application Ser. No. 09/942,611 filed Aug. 24, 2001 entitled “Virtual Computer System with Dynamic Resource Allocation,” the disclosure of which is hereby incorporated by reference.