Information processing apparatus and method for monitoring and allocating processor loads
AssigneeFujitsu Limited
InventorAtsushi Sakai
Life of this patent
Estimating the term…
Abstract
An information processing apparatus includes a memory and a processor coupled to the memory. The processor is configured to monitor each of loads of processor cores performing processes for which a parallel operation is inhibited. The processor cores are included in the information processing apparatus. The processor is configured to identify a first process that is being performed by a first processor core having a load that equals or exceeds a predetermined threshold value of a first load from among the processor cores based on a correspondence relationship between the processes and the first processor core.
Claims7
An information processing apparatus, comprising:
- a memory stores relation information indicating correspondence relationships between processes and processor cores;
- and
- a processor coupled to the memory, the processor configured to:
- monitor each of loads of the processor cores performing the processes for which a parallel operation is inhibited, the processor cores being included in the information processing apparatus;
- identify a first process that is being performed by a first processor core having a load that equals or exceeds a predetermined threshold value of a first load from among the processor cores based on a correspondence relationship between the processes and the first processor core;
- determine, upon the first process being started up by the first processor core, whether the first process is a non-parallel process based on information indicative of a non-parallel process, the non-parallel process being a process for which a parallel operation is inhibited;
- identify, upon determining that the first process is a non-parallel process, the first process based on the relation information stored in the memory;
- determine whether the load of the first processor core equals or exceeds a predetermined threshold value of a second load;
- and
- allocate, upon determining that the load of the first processor core equals or exceeds the predetermined threshold value of the second load, the first process to a second processor core of the processor cores, the second processor core being different from the first processor core;
- and
- update the relation information stored in the memory, based on a correspondence relationship between the first process and the second processor core.
A non-transitory computer-readable recording medium having stored therein a program that causes a computer to execute a process, the process comprising:
- monitoring each of loads of processor cores performing processes for which a parallel operation is inhibited, the processor cores being included in the computer;
- and
- identifying a first process that is being performed by a first processor core having a load that equals or exceeds a predetermined threshold value of a first load from among the processor cores based on a correspondence relationship between the processes and the first processor core
- determining, upon the first process being started up by the first processor core, whether the first process is a non-parallel process based on information indicative of a non-parallel process, the non-parallel process being a process for which a parallel operation is inhibited;
- identifying, upon determining that the first process is a non-parallel process, the first process based on the relation information stored in the memory;
- determining whether the load of the first processor core equals or exceeds a predetermined threshold value of a second load;
- and
- allocating, upon determining that the load of the first processor core equals or exceeds the predetermined threshold value of the second load, the first process to a second processor core of the processor cores, the second processor core being different from the first processor core;
- and
- updating the relation information stored in the memory, based on a correspondence relationship between the first process and the second processor core.
An information processing method, comprising:
- acquiring, by a computer, load information of each of loads on respective physical CPU (Central Processing Unit) cores;
- determining whether loads on the respective physical CPU cores are greater than or equal to a threshold value of a first load;
- identifying a guest ID corresponding to a virtual machine guest having a respective virtual CPU core that uses a first physical CPU core determined to have a load greater than or equal to the threshold value of the first load;
- identifying a process ID of a process being performed by the respective virtual CPU core;
- verifying the load on the respective virtual CPU core performing the process having the process ID;
- determining whether the load of the respective virtual CPU core performing the process having the process ID is greater than or equal to a second threshold value of a second load;
- and
- moving the process having the process ID from the respective virtual CPU core to another virtual CPU core when the load of the respective virtual CPU core performing the process is determined to be greater than or equal to the second threshold value of the second load.
Dependencies are inferred from the claim text.