Virtual computer system, and physical resource reconfiguration method and program thereof

Information

  • Patent Application
  • 20070226449
  • Publication Number
    20070226449
  • Date Filed
    March 21, 2007
    17 years ago
  • Date Published
    September 27, 2007
    17 years ago
Abstract
Provided is a virtual computer system capable of finding a configuration whose total sum of memory access delays is smaller than that of a current configuration. In a virtual computer system in which with memory access times within a node and between nodes differing from each other, a hypervisor controls a plurality of virtual processors which execute a process on a plurality of nodes, the hypervisor includes a unit which obtains a total sum of memory access delay time on the virtual machine based on affinity information indicative of a latency or a band of communication between the virtual processors and traffic between the virtual processors, and a unit which reconfigures physical resources based on the total sum of delay time.
Description

BRIEF DESCRIPTION OF THE DRAWINGS

The present invention will be understood more fully from the detailed description given herebelow and from the accompanying drawings of the preferred embodiment of the invention, which, however, should not be taken to be limitative to the invention, but are for explanation and understanding only.


In the drawings:



FIG. 1 is a diagram showing a system configuration of an embodiment of the present invention;



FIG. 2 is a diagram showing an all-connected NUMA system used in the embodiment of the present invention;



FIG. 3 is a diagram showing an example of a table of affinity information used in the embodiment of the present invention;



FIG. 4 is a block diagram for use in obtaining a total sum of the volume of data transmitted in inter-process communication executed on a virtual machine in the embodiment of the present invention;



FIG. 5 is flow chart showing operation of a memory access delay estimation unit 102 in FIG. 1;



FIG. 6 is a flow chart showing operation of a configuration?) decision unit 104 in FIG. 1;



FIG. 7 is a flow chart showing operation executed on the side of a hypervisor in inter-process communication measurement;



FIG. 8 is a flow chart showing operation of a hook mechanism on the side of an OS in inter-process communication measurement; and



FIG. 9 is a diagram of a configuration for changing affinity information without stopping operation of the OS.


Claims
  • 1. A virtual computer system in which with memory access times within a node and between nodes differing from each other, a hypervisor controls a virtual processor which executes a process on a plurality of nodes, wherein said hypervisor includinga unit which obtains a total sum of memory access delay time on said virtual machine based on affinity information indicative of a latency or a band of communication between said virtual processors and traffic between said virtual processors, anda unit which reconfigures a physical resource based on said total sum of delay time.
  • 2. The virtual computer system according to claim 1, wherein said unit which obtains a total sum of delay time includesa unit which obtains said affinity information,a unit which obtains said traffic, anda unit which calculates said total sum of delay time from a product of said affinity information and said traffic.
  • 3. The virtual computer system according to claim 1, wherein said unit which reconfigures a physical resource includesa unit which determines whether to reconfigure said physical resource or not according to said total sum of delay time, anda unit which assigns a physical resource according to a predetermined policy when the determination is made that reconfiguration is to be executed.
  • 4. The virtual computer system according to claim 1, wherein said unit which obtains a total sum of delay time includesa unit which obtains said affinity information,a unit which obtains said traffic, anda unit which calculates said total sum of delay time from a product of said affinity information and said traffic, andsaid unit which reconfigures a physical resource includesa unit which determines whether to reconfigure said physical resource or not according to said total sum of delay time, anda unit which assigns a physical resource according to a predetermined policy when the determination is made that reconfiguration is to be executed.
  • 5. The virtual computer system according to claim 2, wherein said unit which obtains the affinity information polls said affinity information with respect to said physical resource to update said affinity information when the contents of the information are changed.
  • 6. A resource reconfiguration method in a virtual computer system in which with memory access times within a node and between nodes differing from each other, a hypervisor controls a virtual processor which executes a process on a plurality of nodes, comprising the steps of: obtaining a total sum of memory access delay time on said virtual machine based on affinity information indicative of a latency or a band of communication between said virtual processors and traffic between said virtual processors, andreconfiguring a physical resource based on said total sum of delay time.
  • 7. The resource reconfiguration method according to claim 6, wherein said step of obtaining a total sum of delay time includesthe step of obtaining said affinity information,the step of obtaining said traffic, andthe step of calculating said total sum of delay time from a product of said affinity information and said traffic.
  • 8. The resource reconfiguration method according to claim 6, wherein said step of reconfiguring a physical resource includesthe step of determining whether to reconfigure said physical resource or not according to said total sum of delay time, andthe step of assigning a physical resource according to a predetermined policy when the determination is made that reconfiguration is to be executed.
  • 9. The resource reconfiguration method according to claim 6, wherein said step of obtaining a total sum of delay time includesthe step of obtaining said affinity information,the step of obtaining said traffic, andthe step of calculating said total sum of delay time from a product of said affinity information and said traffic, andsaid step of reconfiguring a physical resource includesthe step of determining whether to reconfigure said physical resource or not according to said total sum of delay time, andthe step of assigning a physical resource according to a predetermined policy when the determination is made that reconfiguration is to be executed.
  • 10. The resource reconfiguration method according to claim 7, wherein at said step of obtaining the affinity information, said affinity information is updated when the contents of the information are changed by polling said affinity information with respect to said physical resource.
  • 11. A program for causing a computer to execute a resource reconfiguration method in a virtual computer system in which with memory access times within a node and between nodes differing from each other, a hypervisor controls a virtual processor which executes a process on a plurality of nodes, comprising the functions of: a function of obtaining a total sum of memory access delay time on said virtual machine based on affinity information indicative of a latency or a band of communication between said virtual processors and traffic between said virtual processors, anda function of reconfiguring a physical resource based on said total sum of delay time.
Priority Claims (1)
Number Date Country Kind
2006-077930 Mar 2006 JP national