Power consumption adjustment method and apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorsDi Hu, Xing Fu, Dmytro Kutra, Yurii Mariiash, Zhen Liu
Life of this patent
Estimating the term…
Abstract
A power consumption adjustment method includes: adjusting, based on state information of a processing unit, a time parameter corresponding to a power limit, determining power consumption of the processing unit based on an adjusted time parameter, and adjusting a frequency and a voltage of the processing unit based on the power consumption and the power limit of the processing unit. The time parameter corresponding to the power limit may be used to represent a time point at which an overclocking adjustment is performed on the processing unit.
Claims20
A method, comprising:
- adjusting, based on state information of a processing unit, a time parameter corresponding to a power limit, to obtain an adjusted time parameter, wherein the time parameter comprises an overclocking time parameter, and the adjusted time parameter comprises an adjusted overclocking time parameter;
- determining power consumption of the processing unit based on the adjusted time parameter;
- and
- adjusting a frequency and a voltage of the processing unit based on the power consumption and the power limit of the processing unit;
- and
- wherein determining the power consumption of the processing unit based on the adjusted time parameter comprises:
- weighting current power consumption of the processing unit and historical power consumption of the processing unit based on a weight allocation of the current power consumption of the processing unit and the historical power consumption of the processing unit, to obtain first exponentially weighted moving average power consumption of the processing unit, wherein the weight allocation of the current power consumption and the historical power consumption are indicated by the adjusted overclocking time parameter.
A processor, comprising:
- a processing unit;
- and
- a power consumption regulator connected to the processing unit,
- wherein the power consumption regulator is configured to:
- adjust, based on state information of the processing unit, a time parameter corresponding to a power limit, to obtain an adjusted time parameter, wherein the time parameter comprises an overclocking time parameter, and the adjusted time parameter comprises an adjusted overclocking time parameter;
- determine power consumption of the processing unit based on the adjusted time parameter;
- and
- adjust a frequency and a voltage of the processing unit based on the power consumption and the power limit of the processing unit;
- and
- wherein determining the power consumption of the processing unit based on the adjusted time parameter comprises:
- weighting current power consumption of the processing unit and historical power consumption of the processing unit based on a weight allocation of the current power consumption of the processing unit and the historical power consumption of the processing unit, to obtain first exponentially weighted moving average power consumption of the processing unit, wherein the weight allocation of the current power consumption and the historical power consumption are indicated by the adjusted overclocking time parameter.
An electronic device, comprising at least one processor, wherein the at least one processor is coupled to at least one memory, and the at least one processor is configured to execute at least one computer program stored in the at least one memory, that causes the electronic device to:
- adjust, based on state information of a processing unit, a time parameter corresponding to a power limit, to obtain an adjusted time parameter, wherein the time parameter comprises an overclocking time parameter, and the adjusted time parameter comprises an adjusted overclocking time parameter;
- determine power consumption of the processing unit based on the adjusted time parameter;
- and
- adjust a frequency and a voltage of the processing unit based on the power consumption and the power limit of the processing unit;
- and
- wherein determining the power consumption of the processing unit based on the adjusted time parameter comprises:
- weighting current power consumption of the processing unit and historical power consumption of the processing unit based on a weight allocation of the current power consumption of the processing unit and the historical power consumption of the processing unit, to obtain first exponentially weighted moving average power consumption of the processing unit, wherein the weight allocation of the current power consumption and the historical power consumption are indicated by the adjusted overclocking time parameter.
Dependencies are inferred from the claim text.