Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1302483
| From | Leo Yan <leo.yan@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v3 4/4] thermal: power_allocator: document k_pu_ratio/k_po_ratio |
| Date | 2016-01-06 10:00 +0100 |
| Message-ID | <qNS6K-7dw-13@gated-at.bofh.it> (permalink) |
| References | <qNS6J-7dw-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Document k_pu_ratio and k_po_ratio's purpose, and refine formula to demonstrate to use ratio to calculate k_pu/k_po. Signed-off-by: Leo Yan <leo.yan@linaro.org> --- Documentation/thermal/power_allocator.txt | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/Documentation/thermal/power_allocator.txt b/Documentation/thermal/power_allocator.txt index a1ce223..8958dab 100644 --- a/Documentation/thermal/power_allocator.txt +++ b/Documentation/thermal/power_allocator.txt @@ -114,13 +114,20 @@ whilst temperature is low, and may lead to temperature overshooting. The default value for `k_pu` is: - 2 * sustainable_power / (desired_temperature - switch_on_temp) + k_pu_ratio * sustainable_power / (desired_temperature - switch_on_temp) This means that at `switch_on_temp` the output of the controller's -proportional term will be 2 * `sustainable_power`. The default value -for `k_po` is: +proportional term will be k_pu_ratio * `sustainable_power`. - sustainable_power / (desired_temperature - switch_on_temp) +The default value for `k_po` is: + + k_po_ratio * sustainable_power / (desired_temperature - switch_on_temp) + +k_pu_ratio's default value is 2 and k_po_ratio's default value is 1. +These two vairants mean the ratio value compared against sustainable power, +so smaller ratio will result in thermal slower ramp. User can set these two +ratio value from sys filesystem nodes, finally k_pu and k_po will be +calculated by updated ratio value. Focusing on the proportional and feed forward values of the PID controller equation we have: -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v3 0/4] thermal: re-calculate k_po/k_pu when update sustainable power Leo Yan <leo.yan@linaro.org> - 2016-01-06 10:00 +0100
[PATCH v3 2/4] thermal: power_allocator: change k_pu_ratio/k_po_ratio as percentage Leo Yan <leo.yan@linaro.org> - 2016-01-06 10:00 +0100
[PATCH v3 4/4] thermal: power_allocator: document k_pu_ratio/k_po_ratio Leo Yan <leo.yan@linaro.org> - 2016-01-06 10:00 +0100
[PATCH v3 1/4] thermal: power_allocator: rework proportional parameter Leo Yan <leo.yan@linaro.org> - 2016-01-06 10:00 +0100
[PATCH v3 3/4] thermal: add sys node for k_pu_ratio/k_po_ratio Leo Yan <leo.yan@linaro.org> - 2016-01-06 10:00 +0100
Re: [PATCH v3 0/4] thermal: re-calculate k_po/k_pu when update sustainable power Javi Merino <javi.merino@arm.com> - 2016-01-06 11:10 +0100
Re: [PATCH v3 0/4] thermal: re-calculate k_po/k_pu when update sustainable power Leo Yan <leo.yan@linaro.org> - 2016-01-06 12:20 +0100
Re: [PATCH v3 0/4] thermal: re-calculate k_po/k_pu when update sustainable power Daniel Thompson <daniel.thompson@linaro.org> - 2016-01-06 12:30 +0100
Re: [PATCH v3 0/4] thermal: re-calculate k_po/k_pu when update sustainable power Javi Merino <javi.merino@arm.com> - 2016-01-06 16:10 +0100
csiph-web