Patent ID: 9348628
Filing Date: 2016-05-24
CPC Classification: G06F,Y02D

Claim Text:
1. A computer system comprising: a physical computer including one or more physical processors; a virtual machine monitor; and a virtual machine including one or more virtual processors such that the physical processors are time-shared among the virtual processors by the virtual machine monitor, wherein the virtual machine monitor: manages, for each of the virtual processors, a difference between a virtual processor halt exit time (ts) and a virtual processor halt start time (TS) as a virtual processor halt duration (X) where ts indicates a time to exit a halt state of a processor state (VS) of the respective virtual processor and TS indicates a time to start waiting to exit the halt state of the processor status of the respective virtual processor, calculates a virtual processor halt duration predicted value (E), which is an average of N previous virtual processor halt durations X of the virtual processors, where N is an integer greater than one, when receiving a halt request for one of the virtual processors running on one of the physical processors, changes the processor state from an execution state to the halt state, compares the virtual processor halt duration predicted value E with a blocking processing time cost (TB), when E<TB, makes a schedule state (SS) of the one of the virtual processors a run state in which the one of the physical processors assigned to the one of the virtual processors is not released and waits for the one of the virtual processors to exit from the halt state, and when E>=TB, makes the schedule state (SS) of the one of the virtual processors a block state in which the one of the physical processors assigned to the one of the virtual processors is released and waits for the one of the virtual processors to exit from the halt state.