diff options
| author | Chau Ly <chaul@amperecomputing.com> | 2025-02-18 12:55:21 +0300 |
|---|---|---|
| committer | Thang Q. Nguyen <thang@os.amperecomputing.com> | 2025-02-19 07:35:17 +0300 |
| commit | cd6f787ac4a15d44ba97c5432bbb3b6d0a422508 (patch) | |
| tree | 344961093deda4dd70b455c9e56a7be9aecc6c2f /meta-openembedded/meta-python/recipes-devtools/python/python3-parse | |
| parent | 5d261d3f2813914315d978fb16cac87c9e99731f (diff) | |
| download | openbmc-cd6f787ac4a15d44ba97c5432bbb3b6d0a422508.tar.xz | |
meta-ampere: Disable rate limit of hightemp services
When CPU temp fluctuates around the hightemp threshold point, 2
hightemp assertion/deassertion services are triggered by gpio events
continuously, which can reach the default rate limit (5 starts/sec)
of the systemd services and cause missing of logs. When a service
reaches that, it won't be able to start anymore. This happens
throughout all hightemp/overtemp test cases and gives an illusion of log
dupplications.
This commit adds [Unit] StartLimitIntervalSec=0 to
ampere_hightemp_start@.service and ampere_hightemp_stop@.service to
disable the rate limit on these services.
Tested: Force CPU temp to reach hightemp (by slowering fan speeds to 10%
and run stress-ng script from Host console)
=> When CPU fluctuates around the hightemp, as long as
phosphor-multi-gpio-monitor service triggers a gpio event on this gpio
line, the corresponding service will be called.
NOTE: This only ensures systemd service calls are sufficiently executed
upon events from phosphor-multi-gpio-monitor service. This does not
guarantee the preciseness of events triggered by the mentioned service.
Signed-off-by: Chau Ly <chaul@amperecomputing.com>
Change-Id: Ieb47858e94b7e18e1c999aad29a38546a3b13f36
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-parse')
0 files changed, 0 insertions, 0 deletions
