1.在linux-5.15.11/driver/thermal/gov_power_allocator.c中,PID三个参数计算如下
即
kpu = 2 * sustainable_power / (control_temperature - current_temperature)
kpo = sustainable_power / (control_temperature - current_temperature)
ki = kpu / 10
kd = 0
请问三个参数为什么这样计算,这样计算的意义在哪?
2.IPA从计算功率,分配功率到设置状态整个过程的周期大概是多少?
上面公式描述错了,因该如下:
kpu = 2 * sustainable_power / (control_temperature - switch on temperature)
kpo = sustainable_power / (control_temperature - switch on temperature)