The invention discloses a heterogeneous multi-kernel power capping method through coordination of DVFS and
task mapping. The method comprises the steps that firstly, computational node
power consumption, CPU
power consumption and GPU
power consumption scripts can be measured after program execution is completed for a heterogeneous
system, then, selected parallel test benchmark programs are modified for obtaining the
execution time of different kernel functions; different frequencies are set for a CPU and a GPU, application programs are operated only on the CPU and the GPU, detailed operation information is obtained and comprises the total
execution time, the
execution time of each kernel function, computational node power consumption, CPU power consumption and GPU power consumption; on thebasis of the operation information, a predicted model is designed and includes a predicted execution
time model and a power consumption model; finally, on the basis of the predicted model,
system power consumption and execution time under different CPU frequencies, GPU frequencies and task distribution schemes are obtained to be filled in a configuration table, and according to an improved greedyalgorithm, the best configuration scheme is found. By adopting the heterogeneous multi-kernel power capping method, the
system power consumption budget is limited while the system performance can beimproved.