CN105378670B - A kind of Poewr control method and device - Google Patents

A kind of Poewr control method and device Download PDF

Info

Publication number
CN105378670B
CN105378670B CN201480000441.XA CN201480000441A CN105378670B CN 105378670 B CN105378670 B CN 105378670B CN 201480000441 A CN201480000441 A CN 201480000441A CN 105378670 B CN105378670 B CN 105378670B
Authority
CN
China
Prior art keywords
hpe
value
time
sampling
performance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201480000441.XA
Other languages
Chinese (zh)
Other versions
CN105378670A (en
Inventor
钱天进
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN105378670A publication Critical patent/CN105378670A/en
Application granted granted Critical
Publication of CN105378670B publication Critical patent/CN105378670B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Supply And Distribution Of Alternating Current (AREA)
  • Feedback Control In General (AREA)
  • Debugging And Monitoring (AREA)

Abstract

A kind of Poewr control method and device, can guarantee the performance of HPE group.This method include in heterogeneous processor include at least two isomeries processing engine HPE HPE group to be controlled in the performance indicator of every kind of HPE and the working frequency of corresponding this kind of HPE of the performance indicator sampled at least once;According to the performance index value for sampling every kind of obtained HPE every time, the performance characterization value for sampling corresponding HPE group to be controlled every time is determined;The performance characterization value for sampling corresponding HPE group to be controlled according to the operating frequency value for sampling every kind of obtained HPE every time and every time, determines the related coefficient between the operating frequency value of every kind of HPE and the performance characterization value of HPE group to be controlled;The related coefficient is bigger, and the operating frequency value for characterizing corresponding HPE is bigger to the effect of the performance characterization value of HPE group to be controlled;According to determining related coefficient, power control is carried out to every kind of HPE.

Description

A kind of Poewr control method and device
Technical field
The present invention relates to field of computer technology, in particular to the power control of isomery processing engine in a kind of heterogeneous processor Method and device processed.
Background technique
With the development of science and technology, extensive use has been obtained in heterogeneous processor, schematic diagram is as shown in Figure 1, one different Can exist in structure processor a variety of HPE (Heterogeneous Processing Engine, isomery handle engine), such as HPE1 is CPU (Central Processing Unit, central processing unit) corresponding HPE, and HPE2 is GPU (Graphic Processing Unit, image processing unit) corresponding HPE, HPE1 and HPE2 be different types of HPE.Heterogeneous processor In a variety of HPE may be constructed HPE group and run an application, in HPE group, a HPE is used as primary processor, other HPE works For acceleration processing unit, memory, heat-sinking capability and the power of heterogeneous processor are shared, each HPE in HPE group is to the HPE group The performance of the application of operation has an impact.
When carrying out power control to HPE in heterogeneous processor in the prior art, BAPM (Bidirectional is generallyd use Application Power Management, bidirectional applications power management) algorithm, more than the heat space of heterogeneous processor Amount is each HPE distribution power.However, existing power control scheme tends to maximally utilize the heat radiation energy of heterogeneous processor Power does not ensure that the performance of HPE group.
Summary of the invention
The embodiment of the present invention provides the Poewr control method and device of HPE in a kind of heterogeneous processor, can guarantee HPE group Performance.
In a first aspect, providing a kind of Poewr control method, comprising:
To the property in heterogeneous processor including every kind of HPE that at least two isomeries are handled in the HPE group to be controlled of engine HPE Energy index and the working frequency of corresponding this kind of HPE of the performance indicator are sampled at least once;
According to the performance index value for sampling every kind of obtained HPE every time, determination samples corresponding HPE group to be controlled every time Performance characterization value;
The property of corresponding HPE group to be controlled is sampled according to the operating frequency value for sampling every kind of obtained HPE every time and every time Energy characterization value, determines the related coefficient between the operating frequency value of every kind of HPE and the performance characterization value of HPE group to be controlled;Wherein, The related coefficient is bigger, and the operating frequency value for characterizing corresponding HPE is bigger to the effect of the performance characterization value of HPE group to be controlled;
According to the related coefficient between the operating frequency value of every kind of HPE and the performance characterization value of HPE group to be controlled, to every kind HPE carries out power control.
With reference to first aspect, in the first possible implementation, according to the performance for sampling every kind of obtained HPE every time Index value determines the performance characterization value for sampling corresponding HPE group to be controlled every time, comprising:
According to the performance index value for sampling every kind of obtained HPE every time, the performance for sampling corresponding every kind of HPE every time is determined Characterization value;
According to the performance characterization value for sampling corresponding every kind of HPE every time, determination samples corresponding HPE group to be controlled every time Performance characterization value.
The possible implementation of with reference to first aspect the first, in the second possible implementation, according to each The performance index value of every kind of obtained HPE is sampled, determines the performance characterization value for sampling corresponding every kind of HPE every time, comprising:
For every kind of HPE, when the performance index value for this kind of HPE that sampling obtains is a kind of, determine that sampling corresponds to every time The performance characterization value of this kind of HPE be the performance index value for sampling this kind of obtained HPE every time;
When the performance index value for this kind of HPE that sampling obtains is at least two, using analytic hierarchy process (AHP), Network Analysis Method Or more attribute efficiency Decision Methods, at least two performance index values for sampling this kind of obtained HPE every time are calculated, with true The fixed performance characterization value for sampling corresponding this kind of HPE every time.
The possible implementation of with reference to first aspect the first, in the third possible implementation, according to each The performance characterization value of corresponding every kind of HPE is sampled, determines the performance characterization value for sampling corresponding HPE group to be controlled every time, comprising:
Using analytic hierarchy process (AHP), Network Analysis Method or more attribute efficiency Decision Methods, to sampling corresponding every kind of HPE every time Performance characterization value calculated, sample the performance characterization value of corresponding HPE group to be controlled every time to determine.
With reference to first aspect, the first possible implementation of first aspect, the possible reality of second of first aspect The third possible implementation of existing mode or first aspect, in the fourth possible implementation, according to adopting every time The operating frequency value for every kind of HPE that sample obtains and the performance characterization value for sampling corresponding HPE group to be controlled every time, determine every kind Related coefficient between the operating frequency value of HPE and the performance characterization value of HPE group to be controlled, comprising:
Using multiple linear regression method, Multiple Non Linear Regression method or multiple correlation coefficient method, each sampling is obtained The operating frequency value of every kind of HPE and the performance characterization value for sampling corresponding HPE group to be controlled every time are calculated, with every kind of determination Related coefficient between the operating frequency value of HPE and the performance characterization value of HPE group to be controlled.
With reference to first aspect, the first possible implementation of first aspect, the possible reality of second of first aspect Existing mode, the third possible implementation of first aspect or the 4th kind of possible implementation of first aspect, the In five kinds of possible implementations, before every kind of HPE progress power control, further includes:
Determine that the difference between the current memory bandwidth of heterogeneous processor and theoretical memory bandwidth is greater than pre-set bandwidths difference.
With reference to first aspect, the first possible implementation of first aspect, the possible reality of second of first aspect Existing mode, the third possible implementation of first aspect, the 4th kind of possible implementation or first of first aspect 5th kind of possible implementation of aspect, in a sixth possible implementation, according to the operating frequency value of every kind of HPE with Related coefficient between the performance characterization value of HPE group to be controlled carries out power control to every kind of HPE, comprising:
According to the corresponding relationship in preset coefficient section and operating frequency value, determine the operating frequency value of every kind of HPE with to Control the corresponding operating frequency value in coefficient section at the related coefficient between the performance characterization value of HPE group;Wherein, coefficient Coefficient value in section is bigger, and the corresponding operating frequency value in coefficient section is bigger;
According to determining operating frequency value, power control is carried out to every kind of HPE.
The 6th kind of possible implementation with reference to first aspect, in the 7th kind of possible implementation, according to determination Operating frequency value, before carrying out power control to every kind of HPE, further includes:
Anticipation is completely cured power control is carried out to every kind of HPE according to determining operating frequency value after, the power of heterogeneous processor is not The power maximum value allowed more than heterogeneous processor.
Second aspect provides a kind of power control device, comprising:
Sampling unit, for in the HPE group to be controlled comprising at least two isomeries processing engine HPE in heterogeneous processor The performance indicator of every kind of HPE and the working frequency of corresponding this kind of HPE of the performance indicator sampled at least once;
First determination unit, for determining sampling pair every time according to the performance index value for sampling every kind of obtained HPE every time The performance characterization value for the HPE group to be controlled answered;
Second determination unit, for corresponding with each sampling according to the operating frequency value for sampling every kind of obtained HPE every time HPE group to be controlled performance characterization value, determine every kind of HPE operating frequency value and HPE group to be controlled performance characterization value it Between related coefficient;Wherein, the related coefficient is bigger, characterizes performance of the operating frequency value to HPE group to be controlled of corresponding HPE The effect of characterization value is bigger;
Control unit, for according to the phase between the operating frequency value of every kind of HPE and the performance characterization value of HPE group to be controlled Relationship number carries out power control to every kind of HPE.
In conjunction with second aspect, in the first possible implementation, first determination unit is specifically used for according to every The secondary performance index value for sampling every kind of obtained HPE, determines the performance characterization value for sampling corresponding every kind of HPE every time;According to every The secondary performance characterization value for sampling corresponding every kind of HPE, determines the performance characterization value for sampling corresponding HPE group to be controlled every time.
In conjunction with the first possible implementation of second aspect, in the second possible implementation, described first Determination unit is specifically used for being directed to every kind of HPE, when the performance index value for this kind of HPE that sampling obtains is a kind of, determines each The performance characterization value for sampling corresponding this kind of HPE is the performance index value for sampling this kind of obtained HPE every time;It is obtained when sampling When the performance index value of this kind of HPE is at least two, using analytic hierarchy process (AHP), Network Analysis Method or more attribute efficiency decisions Method calculates at least two performance index values for sampling this kind of obtained HPE every time, samples corresponding be somebody's turn to do every time to determine The performance characterization value of kind HPE.
In conjunction with the first possible implementation of second aspect, in the third possible implementation, described first Determination unit is specifically used for using analytic hierarchy process (AHP), Network Analysis Method or more attribute efficiency Decision Methods, corresponds to each sampling The performance characterization value of every kind of HPE calculated, to determine the performance characterization value for sampling corresponding HPE group to be controlled every time.
In conjunction with second aspect, the possible implementation of the first of second aspect, the possible reality of second of second aspect The third possible implementation of existing mode or second aspect, in the fourth possible implementation, described second really Order member is specifically used for using multiple linear regression method, Multiple Non Linear Regression method or multiple correlation coefficient method, to each sampling The operating frequency value of every kind of obtained HPE and the performance characterization value for sampling corresponding HPE group to be controlled every time are calculated, with true Related coefficient between the operating frequency value of fixed every kind of HPE and the performance characterization value of HPE group to be controlled.
In conjunction with second aspect, the possible implementation of the first of second aspect, the possible reality of second of second aspect Existing mode, the third possible implementation of second aspect or the 4th kind of possible implementation of second aspect, the In five kinds of possible implementations, described control unit determines at isomery before being also used to carry out power control to every kind of HPE The difference managed between the current memory bandwidth of device and theoretical memory bandwidth is greater than pre-set bandwidths difference.
In conjunction with second aspect, the possible implementation of the first of second aspect, the possible reality of second of second aspect Existing mode, the third possible implementation of second aspect, the 4th kind of possible implementation or second of second aspect 5th kind of possible implementation of aspect, in a sixth possible implementation, described control unit is specifically used for basis The corresponding relationship in preset coefficient section and operating frequency value determines the operating frequency value of every kind of HPE and the property of HPE group to be controlled The corresponding operating frequency value in coefficient section at related coefficient between energy characterization value;Wherein, the coefficient in coefficient section Value is bigger, and the corresponding operating frequency value in coefficient section is bigger;According to determining operating frequency value, power control is carried out to every kind of HPE System.
In conjunction with the 6th kind of possible implementation of second aspect, in the 7th kind of possible implementation, the control Unit is also used to according to determining operating frequency value, and before carrying out power control to every kind of HPE, anticipation is completely cured according to determining work After working frequency value carries out power control to every kind of HPE, the power of heterogeneous processor is no more than the power of heterogeneous processor permission most Big value.
According to the power control device that the Poewr control method that first aspect provides, second aspect provide, to HPE to be controlled The working frequency of corresponding this kind of HPE of performance indicator and the performance indicator of every kind of HPE in group is sampled, according to To sampled value determine the related coefficient between the operating frequency value of every kind of HPE and the performance characterization value of HPE group to be controlled, the phase Relationship number is bigger, and the operating frequency value for characterizing corresponding HPE is bigger to the effect of the performance characterization value of HPE group to be controlled, i.e., corresponding The working frequency of HPE is bigger to the effect of the performance of HPE group to be controlled, therefore, according to the operating frequency value of every kind of HPE with it is to be controlled Related coefficient between the performance characterization value of HPE group processed carries out power control to every kind of HPE, can guarantee HPE group to be controlled Performance.
Detailed description of the invention
Attached drawing is used to provide further understanding of the present invention, and constitutes part of specification, is implemented with the present invention Example is used to explain the present invention together, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the structural schematic diagram of heterogeneous processor;
Fig. 2 is the flow chart of Poewr control method provided in an embodiment of the present invention;
Fig. 3 is the detail flowchart for the Poewr control method that the embodiment of the present invention 1 provides;
Fig. 4 is the detail flowchart for the Poewr control method that the embodiment of the present invention 2 provides;
Fig. 5 is the structural schematic diagram for the power control device that the embodiment of the present invention 3 provides;
Fig. 6 is the structural schematic diagram for the power control apparatus that the embodiment of the present invention 4 provides.
Specific embodiment
In order to provide the HPE power control scheme that can guarantee HPE group performance in heterogeneous processor, the embodiment of the present invention is mentioned A kind of Poewr control method and device are supplied, preferred embodiment of the present invention will be described below in conjunction with Figure of description, answers Work as understanding, preferred embodiments described herein are only used to illustrate and explain the present invention, is not intended to limit the present invention.And In the case where not conflicting, the features in the embodiments and the embodiments of the present application be can be combined with each other.
The embodiment of the present invention provides a kind of Poewr control method, as shown in Fig. 2, specifically comprising the following steps:
Step 201, in heterogeneous processor include at least two isomeries processing engine HPE HPE group to be controlled in it is every The performance indicator of kind HPE and the working frequency of corresponding this kind of HPE of the performance indicator are sampled at least once;
Step 202, basis sample the performance index value of every kind of obtained HPE every time, and determination samples corresponding to be controlled every time The performance characterization value of HPE group processed;
Step 203, basis sample the operating frequency value of every kind of obtained HPE every time and sample every time corresponding to be controlled The performance characterization value of HPE group determines related between the operating frequency value of every kind of HPE and the performance characterization value of HPE group to be controlled Coefficient;Wherein, the related coefficient is bigger, characterizes the operating frequency value of corresponding HPE to the work of the performance characterization value of HPE group to be controlled With bigger;
Step 204, according to the phase relation between the operating frequency value of every kind of HPE and the performance characterization value of HPE group to be controlled Number carries out power control to every kind of HPE.
Wherein, the related coefficient between the operating frequency value of HPE and the performance characterization value of HPE group to be controlled has characterized corresponding The operating frequency value of HPE characterizes the working frequency of corresponding HPE to the effect size of the performance characterization value of HPE group to be controlled To the effect size of the performance of HPE group to be controlled.The related coefficient is bigger, and the working frequency of corresponding HPE is to HPE group to be controlled The effect of performance is bigger;Conversely, the related coefficient is smaller, the effect of the working frequency of corresponding HPE to the performance of HPE group to be controlled It is smaller.
As it can be seen that using Poewr control method provided in an embodiment of the present invention, according to the operating frequency value of every kind of HPE with it is to be controlled Related coefficient between the performance characterization value of HPE group processed carries out power control to HPE, power control compared with the prior art Scheme, can guarantee the performance of HPE group to be controlled, and then can guarantee the application performance of HPE group operation to be controlled, user experience More preferably.
With reference to the accompanying drawing, power control scheme provided in an embodiment of the present invention is carried out specifically with specific embodiment It is bright.
Embodiment 1:
Fig. 3 show the flow chart of the Poewr control method of HPE in the heterogeneous processor of the offer of the embodiment of the present invention 1, tool Body includes:
Step 301, for every kind of HPE in HPE group to be controlled, to the performance indicator and the performance indicator of this kind of HPE The working frequency of corresponding this kind of HPE is sampled.
Wherein, sampling number can be primary, preferably, sampling number be it is multiple, by expand data sample, make power The reasonability of control is higher.
When actual implementation, the corresponding correlated performance of every kind of HPE of tool timed collection that similar CodeXL can be used is counted The value of device and corresponding operating frequency value, using the value of performance counter as the performance index value of corresponding HPE.A kind of HPE can There can be a working frequency, it is also possible to there are multiple working frequencies, if a kind of HPE has multiple working frequencies, can take Working frequency sampled value of the average operating frequency as this kind of HPE.
Wherein, a kind of HPE may only include a kind of performance indicator, it is also possible to include multiple performance index, such as GPU pairs The performance indicator of the HPE answered mainly includes following seven kinds:
ALU Insts PTI:Compute instructions per thousand instructions, arithmetical logic The computations number of every thousand instructions in unit (ALU);
ALU Busy:The percentage of GPU Time ALU instructions are processed, figure As the percentage of time of processing arithmetic logic unit instruction in processing unit (GPU);
The ratio of ALU Fetch Ratio:ALU prefetched instruction;
GPU Clock Busy:GPU utilization rate;
Write Unit Stalled:The % of GPU Time main memory write/store unit is Stalled, main memory writes/and storage cell is suspended the percentage for accounting for GPU time;
Fetch Unit Stalled:The % of GPU Time main memory fetch/load unit is Stalled, main memory obtain/import unit and be suspended the percentage for accounting for GPU time;
Fetch from memory PTI:Main memory reads per thousand instructions, often Thousand instruction main memories read number.
For the HPE comprising multiple performance index, one of, a variety of or over-all properties can be referred to according to the actual situation Mark is sampled.
The performance index value of the HPE sampled in this step 301 may for one kind, it is also possible to for two kinds or two kinds with On.
In embodiments of the present invention, it is assumed that include m kind HPE in HPE group to be controlled, carry out n times sampling, then sample every time The operating frequency value of the every kind of HPE arrived is as shown in the table:
Wherein, fijThe operating frequency value that expression i-th samples the working frequency of jth kind HPE, 1≤i≤n, 1≤j≤m。
Assuming that every kind of HPE samples s kind performance indicator, then the performance characterization of every kind of obtained HPE is sampled every time Value is as shown in the table:
Wherein, rijkThe performance index value that expression i-th samples the kth kind performance indicator of jth kind HPE, 1 ≤k≤s。
Step 302, basis sample the performance index value of every kind of obtained HPE every time, and determination samples every kind corresponding every time The performance characterization value of HPE.
It can be directly determined every time for every kind of HPE when the performance index value for this kind of HPE that sampling obtains is a kind of The performance characterization value for sampling corresponding this kind of HPE is the performance index value for sampling this kind of obtained HPE every time;It is obtained when sampling When the performance index value of this kind of HPE is at least two, it can be determined using analytic hierarchy process (AHP), Network Analysis Method or more attribute efficiency Plan method calculates at least two performance index values for sampling this kind of obtained HPE every time, is sampled every time with determination corresponding The performance characterization value of this kind of HPE.
The performance characterization value of the every kind of HPE sampled every time in 301 tables through the above steps, can determine and adopt every time The performance characterization value of the corresponding every kind of HPE of sample is as shown in the table:
Wherein, RijIndicate that i-th samples the performance characterization value of corresponding jth kind HPE.
Step 303, basis sample the performance characterization value of corresponding every kind of HPE every time, and determination samples corresponding to be controlled every time The performance characterization value of HPE group processed can specifically use analytic hierarchy process (AHP), Network Analysis Method or more attribute efficiency Decision Methods, right The performance characterization value for sampling corresponding every kind of HPE every time is calculated, to determine the property for sampling corresponding HPE group to be controlled every time It can characterization value.
Above-mentioned analytic hierarchy process (AHP), Network Analysis Method or more attribute efficiency Decision Methods are merely illustrative, are common decision-making party Method is not intended to limit the present invention.Other decision-making techniques in the prior art can also be used as the property that HPE is determined in step 302 The realization algorithm of the performance characterization value of HPE group to be controlled is determined in energy characterization value and step 303.
That determines in 302 tables through the above steps samples the performance characterization value of corresponding every kind of HPE every time, can be true Make sample every time corresponding HPE group to be controlled performance characterization value it is as shown in the table:
Sampling number HPE group performance characterization value to be controlled
1st sampling p1
2nd sampling p2
…… ……
N-th sampling pn
Wherein, piIndicate that i-th samples the performance characterization value of corresponding HPE group to be controlled.
Step 304, basis sample the operating frequency value of every kind of obtained HPE every time and sample every time corresponding to be controlled The performance characterization value of HPE group determines related between the operating frequency value of every kind of HPE and the performance characterization value of HPE group to be controlled Coefficient can specifically use multiple linear regression method, Multiple Non Linear Regression method or multiple correlation coefficient method, to sampling every time To every kind of HPE operating frequency value and sample the performance characterization value of corresponding HPE group to be controlled every time and calculated, with determination Related coefficient between the operating frequency value of every kind of HPE and the performance characterization value of HPE group to be controlled.
Above-mentioned multiple linear regression method, Multiple Non Linear Regression method or multiple correlation coefficient method are merely illustrative, are common Mathematical statistics method is not intended to limit the present invention.Other mathematical statistics methods in the prior art can also be used as step 304 The realization algorithm of middle determining related coefficient.
The operating frequency value and above-mentioned steps 303 of the every kind of HPE sampled every time in 301 tables through the above steps That determines in table samples the performance characterization value of corresponding HPE group to be controlled every time, can determine the working frequency of every kind of HPE Related coefficient between value and the performance characterization value of HPE group to be controlled is as shown in the table:
HPE type Related coefficient
HPE1 b′1
HPE2 b′2
…… ……
HPEm b′m
Wherein, b 'jIndicate the phase relation between the operating frequency value of jth kind HPE and the performance characterization value of HPE group to be controlled Number.
Whether the difference between step 305, the current memory bandwidth for judging heterogeneous processor and theoretical memory bandwidth is greater than Pre-set bandwidths difference.
When the difference between the current memory bandwidth for determining heterogeneous processor and theoretical memory bandwidth is no more than pre-set bandwidths When difference, illustrate the current memory bandwidth of heterogeneous processor close to theoretical memory bandwidth, at this point, entering step 306;
When the difference between the current memory bandwidth for determining heterogeneous processor and theoretical memory bandwidth is poor greater than pre-set bandwidths When value, illustrate the current memory bandwidth of heterogeneous processor not close to theoretical memory bandwidth, at this point, entering step 307.
Wherein, pre-set bandwidths difference can be set by user according to actual application scenarios demand.
The power reduction of step 306, at least one HPE of control, the power control procedures terminate.
When the difference between the current memory bandwidth for determining heterogeneous processor and theoretical memory bandwidth is no more than pre-set bandwidths When difference, show that the memory bandwidth of heterogeneous processor has become bottleneck, at this time by reducing the power of HPE, releasing memory band Width can be improved the Energy Efficiency Ratio of system.
When implementation, it can achieve the purpose that reduce HPE power by reducing working frequency or the operating voltage of HPE.
Further, the power that can control part HPE in this step 306 reduces, and also can control the power of whole HPE Reduce, specifically can according to the actual situation depending on.
Step 307, according to the corresponding relationship in preset coefficient section and operating frequency value, determine the work frequency of every kind of HPE The corresponding operating frequency value in coefficient section at related coefficient between rate value and the performance characterization value of HPE group to be controlled; Wherein, the coefficient value in coefficient section is bigger, and the corresponding operating frequency value in coefficient section is bigger.
In the embodiment of the present invention 1, coefficient section can specifically include three:
Coefficient section 1, less than the section of the first prescribed coefficient value;
Coefficient section 2, more than or equal to the first prescribed coefficient value, less than the section of the second prescribed coefficient value;
Coefficient section 3, more than or equal to the section of the second prescribed coefficient value;
Wherein, the second prescribed coefficient value is greater than the first prescribed coefficient value, i.e., has marked off 3 using two prescribed coefficient values Coefficient section.
The corresponding operating frequency value in preset coefficient section 1 is f1, and the corresponding operating frequency value in coefficient section 2 is f2, is The corresponding operating frequency value of number interval 3 is f3, wherein f1 < f2 < f3.
In other embodiments of the invention, coefficient section specifically also may include that two, four or other quantity are a, I.e. coefficient section can specifically include x, mark off x coefficient section using x-1 prescribed coefficient value, wherein x for greater than etc. In 2 positive integer.
Step 308, anticipation are completely cured power control is carried out to every kind of HPE according to determining operating frequency value after, heterogeneous processor Power whether meet power requirement, that is, judge after carrying out power control to every kind of HPE according to determining operating frequency value, isomery The power of processor whether be more than heterogeneous processor allow power maximum value.
After determining according to determining operating frequency value to every kind of HPE progress power control, the power of heterogeneous processor is full Sufficient power requirement enters step 309 when the power of heterogeneous processor is no more than the power maximum value that heterogeneous processor allows;
After determining according to determining operating frequency value to every kind of HPE progress power control, the power of heterogeneous processor is not Meet power requirement and enters step 310 when the power of heterogeneous processor is more than the power maximum value that heterogeneous processor allows.
Step 309, according to the operating frequency value determined in step 307, power control, the power control are carried out to every kind of HPE Process processed terminates.
It has been determined that the operating frequency value of a corresponding grade can when this step 309 is implemented for every kind of HPE in step 307 It is determining operating frequency value to directly control the working frequency of every kind of HPE, achievees the purpose that power control, control can also be passed through The operating voltage for making every kind of HPE makes the operating frequency value of the working frequency determination of every kind of HPE, achievees the purpose that power control.
Step 310, the operating frequency value for reducing at least one HPE determined in step 307, according to the work frequency after reduction Rate value carries out power control to every kind of HPE.
After determining according to determining operating frequency value to every kind of HPE progress power control, the power of heterogeneous processor is not When meeting power requirement, i.e., carrying out power control to every kind of HPE according to determining operating frequency value will lead to heterogeneous processor Power is more than the power maximum value that heterogeneous processor allows, at this time cannot be according to the operating frequency value determined in step 307, to every Kind HPE carries out power control, but should reduce the operating frequency value of the part HPE or whole HPE that determine in step 307, so Afterwards further according to the operating frequency value after reduction, power control is carried out to every kind of HPE.
As it can be seen that the Poewr control method provided using the embodiment of the present invention 1, is considered each when carrying out power control Connection and effect of each HPE to HPE group performance between HPE, can guarantee HPE group performance, and contemplate at isomery The conditions such as memory bandwidth, the power requirement of device are managed, the reasonability and reliability of power control can be further increased.
Poewr control method provided in an embodiment of the present invention is illustrated with specific example below.
Embodiment 2:
It altogether include two kinds of HPE in HPE group to be controlled in the embodiment of the present invention 2, every kind of HPE all has two kinds of performances and refers to Mark.
Fig. 4 show the flow chart of the Poewr control method of the offer of the embodiment of the present invention 2, specifically includes:
Step 401 is directed to every kind of HPE, to the two kinds of performance indicators and this corresponding kind of the performance indicator of this kind of HPE The working frequency of HPE carries out double sampling.
I.e. in this law inventive embodiments 2, HPE type m=2, the performance indicator sampling of sampling number n=2, every kind of HPE Type s=2.
Assuming that the operating frequency value for sampling every kind of obtained HPE every time is as shown in the table:
The performance index value for sampling every kind of obtained HPE every time is as shown in the table:
Step 402, basis sample the performance index value of every kind of obtained HPE every time, are determined using analytic hierarchy process (AHP) each The performance characterization value of corresponding every kind of HPE is sampled, specifically:
R11=X1×r111+X2×r112;R12=X1′×r121+X2′×r122
R21=X1″×r211+X2″×r212;R22=X1″′×r221+X2″′×r222
Wherein, RijIndicate that i-th samples the performance characterization value of corresponding jth kind HPE, rijkIndicate i-th to jth kind HPE The performance index value that is sampled of kth kind performance indicator, i=1,2, j=1,2, k=1,2;X1、X2、X1′、X2′、X1″、 X2″、X1″′、X2" ' be weight coefficient, the specific determining method of weight coefficient is the prior art, and this will not be detailed here.
Assuming that the performance characterization value of the every kind of HPE sampled every time in 401 tables through the above steps, using step analysis The performance characterization value of what method was determined sample every time corresponding every kind of HPE is as shown in the table:
Step 403, basis sample the performance characterization value of corresponding every kind of HPE every time, are determined using analytic hierarchy process (AHP) each The performance characterization value of corresponding HPE group to be controlled is sampled, specifically:
p1=X1″″×R11+X2″″×R12
p2=X1″″×R21+X2″″×R22
Wherein, piIndicate that i-th samples the performance characterization value of corresponding HPE group to be controlled;X1″″、X2″″、X1″″、X2" " is Weight coefficient.
Assuming that determines in 402 tables through the above steps samples the performance characterization value of corresponding every kind of HPE every time, use The performance characterization value for corresponding HPE group to be controlled that analytic hierarchy process (AHP) was determined sample every time is as shown in the table:
Sampling number HPE group performance characterization value to be controlled
1st sampling 5
2nd sampling 6
Step 404, basis sample the operating frequency value of every kind of obtained HPE every time and sample every time corresponding to be controlled The performance characterization value of HPE group determines the operating frequency value of every kind of HPE and the property of HPE group to be controlled using multiple linear regression method Related coefficient between energy characterization value, specifically:
If F1=(f11, f21), F2=(f12, f22), P=(p1, p2);Wherein, fijIndicate work of the i-th to jth kind HPE The operating frequency value that frequency is sampled;
Above-mentioned calculated value is substituted into following equation groups:
It acquires
Further according to formulaCalculate jth kind HPE operating frequency value and HPE group to be controlled performance characterization value it Between related coefficient.
Phase relation between the operating frequency value of the every kind of HPE finally determined and the performance characterization value of HPE group to be controlled Number is as shown in the table:
HPE type Related coefficient
HPE1 0.82
HPE2 0.36
Whether the difference between step 405, the current memory bandwidth for judging heterogeneous processor and theoretical memory bandwidth is greater than Pre-set bandwidths difference.
Assuming that the theoretical memory bandwidth of heterogeneous processor is 16GB/s, pre-set bandwidths difference is 2GB/s.
If the current memory bandwidth of heterogeneous processor is 15GB/s, in the current memory bandwidth and theory of heterogeneous processor The difference between bandwidth is deposited no more than pre-set bandwidths difference, enters step 406;
If the current memory bandwidth of heterogeneous processor is 2GB/s, in the current memory bandwidth and theory of heterogeneous processor The difference deposited between bandwidth is greater than pre-set bandwidths difference, enters step 407.
The power reduction of two kinds of step 406, control HPE, with releasing memory bandwidth, which terminates.
Step 407, according to the corresponding relationship in preset coefficient section and operating frequency value, determine the work frequency of every kind of HPE The corresponding operating frequency value in coefficient section at related coefficient between rate value and the performance characterization value of HPE group to be controlled.
In the embodiment of the present invention 2, coefficient section specifically includes three:
Coefficient section 1, the section less than 0.5;
Coefficient section 2, more than or equal to the 0.5, section less than 0.8;
Coefficient section 3, the section more than or equal to 0.8;
The corresponding operating frequency value in preset coefficient section 1 is f1, and the corresponding operating frequency value in coefficient section 2 is f2, is The corresponding operating frequency value of number interval 3 is f3, wherein f1 < f2 < f3.
Since the related coefficient between the operating frequency value of HPE1 and the performance characterization value of HPE group to be controlled is 0.82, is fallen Enter coefficient section 3, therefore the corresponding operating frequency value of HPE1 is f3;The performance of the operating frequency value of HPE2 and HPE group to be controlled Related coefficient between characterization value is 0.36, falls into coefficient section 1, therefore the corresponding operating frequency value of HPE2 is f1.
Step 408, anticipation are completely cured power control is carried out to every kind of HPE according to determining operating frequency value after, heterogeneous processor Power whether be more than heterogeneous processor allow power maximum value.
After determining according to determining operating frequency value to every kind of HPE progress power control, the power of heterogeneous processor is not More than heterogeneous processor allow power maximum value when, enter step 409;When determine according to determining operating frequency value to every kind After HPE carries out power control, when the power of heterogeneous processor is more than the power maximum value that heterogeneous processor allows, enter step 410。
Step 409, according to the operating frequency value determined in step 407, power control, the power control are carried out to every kind of HPE Process processed terminates.
Step 410, the operating frequency value for reducing the every kind of HPE determined in step 407, according to the working frequency after reduction Value carries out power control to every kind of HPE, which terminates.
Embodiment 3:
Based on the same inventive concept, the Poewr control method provided according to that above embodiment of the present invention, correspondingly, the present invention Embodiment also provides a kind of power control device, and structural schematic diagram is as shown in figure 5, specifically include:
Sampling unit 501, for the HPE to be controlled in heterogeneous processor including at least two isomeries processing engine HPE The working frequency of corresponding this kind of HPE of performance indicator and the performance indicator of every kind of HPE in group is adopted at least once Sample;
First determination unit 502, for according to the performance index value for sampling every kind of obtained HPE every time, determination to be adopted every time The performance characterization value of the corresponding HPE group to be controlled of sample;
Second determination unit 503, for according to the operating frequency value for sampling every kind of obtained HPE every time and sampling pair every time The performance characterization value for the HPE group to be controlled answered determines the operating frequency value of every kind of HPE and the performance characterization value of HPE group to be controlled Between related coefficient;Wherein, the related coefficient is bigger, characterizes property of the operating frequency value to HPE group to be controlled of corresponding HPE The effect of energy characterization value is bigger;
Control unit 504, for according between the operating frequency value of every kind of HPE and the performance characterization value of HPE group to be controlled Related coefficient, power control is carried out to every kind of HPE.
Further, the first determination unit 502, specifically for according to the performance indicator for sampling every kind of obtained HPE every time Value determines the performance characterization value for sampling corresponding every kind of HPE every time;According to the performance characterization for sampling corresponding every kind of HPE every time Value determines the performance characterization value for sampling corresponding HPE group to be controlled every time.
Further, the first determination unit 502 is specifically used for being directed to every kind of HPE, when the property for this kind of HPE that sampling obtains When energy index value is a kind of, determine that the performance characterization value for sampling corresponding this kind of HPE every time is to sample this kind of obtained HPE every time Performance index value;When the performance index value for this kind of HPE that sampling obtains is at least two, using analytic hierarchy process (AHP), network Analytic approach or more attribute efficiency Decision Methods, count at least two performance index values for sampling this kind of obtained HPE every time It calculates, to determine the performance characterization value for sampling corresponding this kind of HPE every time.
Further, the first determination unit 502 is specifically used for using analytic hierarchy process (AHP), Network Analysis Method or more attributes Efficiency Decision Method calculates the performance characterization value for sampling corresponding every kind of HPE every time, with determine sample every time it is corresponding to Control the performance characterization value of HPE group.
Further, the second determination unit 503 is specifically used for using multiple linear regression method, Multiple Non Linear Regression method Or multiple correlation coefficient method, corresponding HPE to be controlled is sampled to the operating frequency value for sampling every kind of obtained HPE every time and every time The performance characterization value of group is calculated, between the operating frequency value of every kind of HPE of determination and the performance characterization value of HPE group to be controlled Related coefficient.
Preferably, control unit 504 determines working as heterogeneous processor before being also used to carry out power control to every kind of HPE Difference between preceding memory bandwidth and theoretical memory bandwidth is greater than pre-set bandwidths difference.
Further, control unit 504, specifically for being closed according to preset coefficient section and the corresponding of operating frequency value System, determines coefficient at the related coefficient between the operating frequency value of every kind of HPE and the performance characterization value of HPE group to be controlled The corresponding operating frequency value in section;Wherein, the coefficient value in coefficient section is bigger, and the corresponding operating frequency value in coefficient section is got over Greatly;According to determining operating frequency value, power control is carried out to every kind of HPE.
Preferably, control unit 504, be also used to according to determining operating frequency value, to every kind of HPE carry out power control it Before, anticipation is completely cured power control is carried out to every kind of HPE according to determining operating frequency value after, the power of heterogeneous processor is no more than different The power maximum value that structure processor allows.
The function of above-mentioned each unit can correspond to the respective handling step in any shown process of Fig. 2-4, no longer superfluous herein It states.
Embodiment 4:
Based on the same inventive concept, the embodiment of the present invention also provides a kind of power control apparatus, structural schematic diagram such as Fig. 6 It is shown, including processor 601, memory 602 and communication bus 600, in which: communication bus 600 is between equipment each section Connection communication;Processor 601 is for executing the executable module stored in memory 602, such as computer program.Memory 602 may include high-speed random access memory (RAM:Random Access Memory), it is also possible to further include non-unstable Memory (non-volatile memory), such as magnetic disk storage.
In some embodiments, memory 602 stores program 6021, can be executed with device 601 processed, program 6021 It include: to the performance for including every kind of HPE that at least two isomeries are handled in the HPE group to be controlled of engine HPE in heterogeneous processor Index and the working frequency of corresponding this kind of HPE of the performance indicator are sampled at least once;It is obtained according to each sampling The performance index value of every kind of HPE determines the performance characterization value for sampling corresponding HPE group to be controlled every time;According to sampling every time To every kind of HPE operating frequency value and every time sample the performance characterization value of corresponding HPE group to be controlled, determine every kind of HPE's Related coefficient between operating frequency value and the performance characterization value of HPE group to be controlled;Wherein, the related coefficient is bigger, characterization The operating frequency value of corresponding HPE is bigger to the effect of the performance characterization value of HPE group to be controlled;According to the working frequency of every kind of HPE Related coefficient between value and the performance characterization value of HPE group to be controlled carries out power control to every kind of HPE.
In some embodiments, program 6021 specifically includes: according to the performance indicator for sampling every kind of obtained HPE every time Value determines the performance characterization value for sampling corresponding every kind of HPE every time;According to the performance characterization for sampling corresponding every kind of HPE every time Value determines the performance characterization value for sampling corresponding HPE group to be controlled every time.
In some embodiments, program 6021 specifically includes: every kind of HPE is directed to, when the property for this kind of HPE that sampling obtains When energy index value is a kind of, determine that the performance characterization value for sampling corresponding this kind of HPE every time is to sample this kind of obtained HPE every time Performance index value;When the performance index value for this kind of HPE that sampling obtains is at least two, using analytic hierarchy process (AHP), network Analytic approach or more attribute efficiency Decision Methods, count at least two performance index values for sampling this kind of obtained HPE every time It calculates, to determine the performance characterization value for sampling corresponding this kind of HPE every time.
In some embodiments, program 6021 specifically includes: using analytic hierarchy process (AHP), Network Analysis Method or more attributes Efficiency Decision Method calculates the performance characterization value for sampling corresponding every kind of HPE every time, with determine sample every time it is corresponding to Control the performance characterization value of HPE group.
In some embodiments, program 6021 specifically includes: using multiple linear regression method, Multiple Non Linear Regression method Or multiple correlation coefficient method, corresponding HPE to be controlled is sampled to the operating frequency value for sampling every kind of obtained HPE every time and every time The performance characterization value of group is calculated, between the operating frequency value of every kind of HPE of determination and the performance characterization value of HPE group to be controlled Related coefficient.
In some embodiments, program 6021 further include: before carrying out power control to every kind of HPE, determine at isomery The difference managed between the current memory bandwidth of device and theoretical memory bandwidth is greater than pre-set bandwidths difference.
In some embodiments, program 6021 specifically includes: according to pair in preset coefficient section and operating frequency value It should be related to, determine at the related coefficient between the operating frequency value of every kind of HPE and the performance characterization value of HPE group to be controlled The corresponding operating frequency value in coefficient section;Wherein, the coefficient value in coefficient section is bigger, the corresponding operating frequency value in coefficient section It is bigger;According to determining operating frequency value, power control is carried out to every kind of HPE.
In some embodiments, program 6021 further include: according to determining operating frequency value, function is carried out to every kind of HPE Before rate control, anticipation is completely cured power control is carried out to every kind of HPE according to determining operating frequency value after, the power of heterogeneous processor The power maximum value allowed no more than heterogeneous processor.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device of specific function in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or Specific function in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one In a box or multiple boxes the step of specific function.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, those skilled in the art can carry out various modification and variations without departing from this hair to the embodiment of the present invention The spirit and scope of bright embodiment.In this way, if these modifications and variations of the embodiment of the present invention belong to the claims in the present invention And its within the scope of equivalent technologies, then the present invention is also intended to include these modifications and variations.

Claims (16)

1. a kind of Poewr control method characterized by comprising
The performance of every kind of HPE in HPE group to be controlled comprising at least two isomeries processing engine HPE in heterogeneous processor is referred to The working frequency of mark and corresponding this kind of HPE of the performance indicator are sampled at least once;
According to the performance index value for sampling every kind of obtained HPE every time, the performance for sampling corresponding HPE group to be controlled every time is determined Characterization value;
The performance table of corresponding HPE group to be controlled is sampled according to the operating frequency value for sampling every kind of obtained HPE every time and every time Value indicative determines the related coefficient between the operating frequency value of every kind of HPE and the performance characterization value of HPE group to be controlled;Wherein, described Related coefficient is bigger, and the operating frequency value for characterizing corresponding HPE is bigger to the effect of the performance characterization value of HPE group to be controlled;
According to the related coefficient between the operating frequency value of every kind of HPE and the performance characterization value of HPE group to be controlled, to every kind of HPE Carry out power control.
2. the method as described in claim 1, which is characterized in that according to the performance index value for sampling every kind of obtained HPE every time, Determine the performance characterization value for sampling corresponding HPE group to be controlled every time, comprising:
According to the performance index value for sampling every kind of obtained HPE every time, the performance characterization for sampling corresponding every kind of HPE every time is determined Value;
According to the performance characterization value for sampling corresponding every kind of HPE every time, the performance for sampling corresponding HPE group to be controlled every time is determined Characterization value.
3. method according to claim 2, which is characterized in that according to the performance index value for sampling every kind of obtained HPE every time, Determine the performance characterization value for sampling corresponding every kind of HPE every time, comprising:
For every kind of HPE, when the performance index value for this kind of HPE that sampling obtains is a kind of, determines and sample corresponding be somebody's turn to do every time The performance characterization value of kind HPE is the performance index value for sampling this kind of obtained HPE every time;
When the performance index value of this kind of HPE that sampling obtains is at least two, using analytic hierarchy process (AHP), Network Analysis Method or More attribute efficiency Decision Methods calculate at least two performance index values for sampling this kind of obtained HPE every time, every to determine The secondary performance characterization value for sampling corresponding this kind of HPE.
4. method according to claim 2, which is characterized in that according to the performance characterization value for sampling corresponding every kind of HPE every time, Determine the performance characterization value for sampling corresponding HPE group to be controlled every time, comprising:
Using analytic hierarchy process (AHP), Network Analysis Method or more attribute efficiency Decision Methods, to the property for sampling corresponding every kind of HPE every time Energy characterization value is calculated, to determine the performance characterization value for sampling corresponding HPE group to be controlled every time.
5. the method as described in claim 1-4 is any, which is characterized in that according to the work for sampling every kind of obtained HPE every time Frequency values and the performance characterization value for sampling corresponding HPE group to be controlled every time, determine the operating frequency value of every kind of HPE with it is to be controlled Related coefficient between the performance characterization value of HPE group, comprising:
Using multiple linear regression method, Multiple Non Linear Regression method or multiple correlation coefficient method, to sampling every kind obtained every time The operating frequency value of HPE and the performance characterization value for sampling corresponding HPE group to be controlled every time are calculated, with every kind of HPE of determination Operating frequency value and HPE group to be controlled performance characterization value between related coefficient.
6. method a method according to any one of claims 1-3, which is characterized in that before carrying out power control to every kind of HPE, also wrap It includes:
Determine that the difference between the current memory bandwidth of heterogeneous processor and theoretical memory bandwidth is greater than pre-set bandwidths difference.
7. method a method according to any one of claims 1-3, which is characterized in that according to the operating frequency value of every kind of HPE with it is to be controlled Related coefficient between the performance characterization value of HPE group carries out power control to every kind of HPE, comprising:
According to the corresponding relationship in preset coefficient section and operating frequency value, determine the operating frequency value of every kind of HPE with it is to be controlled The corresponding operating frequency value in coefficient section at related coefficient between the performance characterization value of HPE group;Wherein, coefficient section In coefficient value it is bigger, the corresponding operating frequency value in coefficient section is bigger;
According to determining operating frequency value, power control is carried out to every kind of HPE.
8. the method for claim 7, which is characterized in that according to determining operating frequency value, carry out power to every kind of HPE Before control, further includes:
Anticipation is completely cured power control is carried out to every kind of HPE according to determining operating frequency value after, the power of heterogeneous processor is no more than The power maximum value that heterogeneous processor allows.
9. a kind of power control device characterized by comprising
Sampling unit, for every in the HPE group to be controlled comprising at least two isomeries processing engine HPE in heterogeneous processor The performance indicator of kind HPE and the working frequency of corresponding this kind of HPE of the performance indicator are sampled at least once;
First determination unit, for according to the performance index value for sampling every kind of obtained HPE every time, determination to sample corresponding every time The performance characterization value of HPE group to be controlled;
Second determination unit, for according to sample every time every kind of obtained HPE operating frequency value and every time sample it is corresponding to The performance characterization value for controlling HPE group, determines between the operating frequency value of every kind of HPE and the performance characterization value of HPE group to be controlled Related coefficient;Wherein, the related coefficient is bigger, characterizes performance characterization of the operating frequency value to HPE group to be controlled of corresponding HPE The effect of value is bigger;
Control unit, for according to the phase relation between the operating frequency value of every kind of HPE and the performance characterization value of HPE group to be controlled Number carries out power control to every kind of HPE.
10. device as claimed in claim 9, which is characterized in that first determination unit is specifically used for according to sampling every time The performance index value of every kind of obtained HPE determines the performance characterization value for sampling corresponding every kind of HPE every time;According to each sampling The performance characterization value of corresponding every kind of HPE determines the performance characterization value for sampling corresponding HPE group to be controlled every time.
11. device as claimed in claim 10, which is characterized in that first determination unit is specifically used for being directed to every kind HPE determines the performance table for sampling corresponding this kind of HPE every time when the performance index value for this kind of HPE that sampling obtains is a kind of Value indicative is the performance index value for sampling this kind of obtained HPE every time;When the performance index value for this kind of HPE that sampling obtains is at least At two kinds, using analytic hierarchy process (AHP), Network Analysis Method or more attribute efficiency Decision Methods, to sampling this kind of obtained HPE every time At least two performance index values calculated, sample the performance characterization value of corresponding this kind of HPE every time to determine.
12. device as claimed in claim 10, which is characterized in that first determination unit is specifically used for using level point Analysis method, Network Analysis Method or more attribute efficiency Decision Methods, count the performance characterization value for sampling corresponding every kind of HPE every time It calculates, to determine the performance characterization value for sampling corresponding HPE group to be controlled every time.
13. the device as described in claim 9-12 is any, which is characterized in that second determination unit is specifically used for using Multiple linear regression method, Multiple Non Linear Regression method or multiple correlation coefficient method, the work to every kind of obtained HPE is sampled every time Frequency values and the performance characterization value for sampling corresponding HPE group to be controlled every time are calculated, with the working frequency of every kind of HPE of determination Related coefficient between value and the performance characterization value of HPE group to be controlled.
14. the device as described in claim 9-11 is any, which is characterized in that described control unit, be also used to every kind of HPE into Before row power control, determine that the difference between the current memory bandwidth of heterogeneous processor and theoretical memory bandwidth is greater than default band Wide difference.
15. the device as described in claim 9-11 is any, which is characterized in that described control unit is specifically used for according to default Coefficient section and operating frequency value corresponding relationship, determine the operating frequency value of every kind of HPE and the performance table of HPE group to be controlled The corresponding operating frequency value in coefficient section at related coefficient between value indicative;Wherein, the coefficient value in coefficient section is got over Greatly, the corresponding operating frequency value in coefficient section is bigger;According to determining operating frequency value, power control is carried out to every kind of HPE.
16. device as claimed in claim 15, which is characterized in that described control unit is also used to according to determining work frequency Rate value, before carrying out power control to every kind of HPE, anticipation, which is completely cured, carries out power control to every kind of HPE according to determining operating frequency value After system, the power of heterogeneous processor is no more than the power maximum value that heterogeneous processor allows.
CN201480000441.XA 2014-04-29 2014-04-29 A kind of Poewr control method and device Active CN105378670B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/076502 WO2015165045A1 (en) 2014-04-29 2014-04-29 Power control method and apparatus

Publications (2)

Publication Number Publication Date
CN105378670A CN105378670A (en) 2016-03-02
CN105378670B true CN105378670B (en) 2019-02-26

Family

ID=54358006

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201480000441.XA Active CN105378670B (en) 2014-04-29 2014-04-29 A kind of Poewr control method and device

Country Status (2)

Country Link
CN (1) CN105378670B (en)
WO (1) WO2015165045A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101819459A (en) * 2010-03-31 2010-09-01 中国人民解放军国防科学技术大学 Heterogeneous object memory system-based power consumption control method
WO2013043382A1 (en) * 2011-09-21 2013-03-28 Qualcomm Incorporated System and method for managing thermal energy generation in a heterogeneous multi-core processor
CN103116526A (en) * 2013-02-22 2013-05-22 中国人民解放军国防科学技术大学 Maximum power consumption control method for high-performance heterogeneous parallel computer
CN103119580A (en) * 2010-09-25 2013-05-22 英特尔公司 Application scheduling in heterogeneous multiprocessor computing platforms

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101819459A (en) * 2010-03-31 2010-09-01 中国人民解放军国防科学技术大学 Heterogeneous object memory system-based power consumption control method
CN103119580A (en) * 2010-09-25 2013-05-22 英特尔公司 Application scheduling in heterogeneous multiprocessor computing platforms
WO2013043382A1 (en) * 2011-09-21 2013-03-28 Qualcomm Incorporated System and method for managing thermal energy generation in a heterogeneous multi-core processor
CN103116526A (en) * 2013-02-22 2013-05-22 中国人民解放军国防科学技术大学 Maximum power consumption control method for high-performance heterogeneous parallel computer

Also Published As

Publication number Publication date
CN105378670A (en) 2016-03-02
WO2015165045A1 (en) 2015-11-05

Similar Documents

Publication Publication Date Title
CN107239336B (en) Method and device for realizing task scheduling
CN105677000B (en) The system and method for dynamic voltage frequency adjustment
CN110288094A (en) Model parameter training method and device based on federation&#39;s study
CN106406987A (en) Task execution method and apparatus in cluster
CN110069502A (en) Data balancing partition method and computer storage medium based on Spark framework
CN110380988A (en) The technology of scheduling for the power-aware for network packet processing
Sawada et al. Energy-aware clusters of servers for storage and computation applications
CN104063265A (en) Method for comprehensively evaluating virtual resources
CN109597647A (en) Data processing method and equipment
Yang et al. Carbon dioxide emission reduction quota allocation study on Chinese provinces based on two-stage Shapley information entropy model
CN107589997A (en) Ensure delay-sensitive program QoS dynamic regulating method under data center environment
CN108268534A (en) Propagating influence computational methods and device
CN109710542A (en) A kind of completely N-ary tree construction method and device
CN103886391B (en) Traffic prediction method and apparatus
CN108132840A (en) Resource regulating method and device in a kind of distributed system
CN105378670B (en) A kind of Poewr control method and device
CN106407005A (en) Concurrent process merging method and system based on multi-scale coupling
Venkatesh et al. Economic load dispatch using simulated annealing algorithm
CN106897328A (en) A kind of image search method and device
CN107589980A (en) A kind of dispatching method of cloud computing resources
CN105743720B (en) A kind of link-quality-evaluating method and its device
CN106027304B (en) A kind of information processing method and electronic equipment
CN105205627B (en) Grid power Management plan determines method and system
CN108399145A (en) A kind of CPU-GPU heterogeneous platforms share last level cache management method, framework and device
CN104793997B (en) A kind of data processing equipment and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant