mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-18 04:41:35 +00:00
Try to improve ondemand scheduler and thermal readouts
https://forum.armbian.com/topic/6398-orange-pi-zero-cpu-and-load-issues-with-538/?do=findComment&comment=58057 and https://forum.armbian.com/topic/7032-nanopi-k1-plus-to-be-released-soon/?do=findComment&comment=58172
This commit is contained in:
parent
9462893138
commit
52bef7ddf9
2 changed files with 1 additions and 2 deletions
|
@ -59,8 +59,6 @@ prepare_temp_monitoring() {
|
|||
[[ ${BOARDFAMILY} == s500 ]] && THERMAL_ZONE="thermal_zone1" || THERMAL_ZONE="thermal_zone0"
|
||||
ln -fs /sys/devices/virtual/thermal/${THERMAL_ZONE}/temp /etc/armbianmonitor/datasources/soctemp
|
||||
fi
|
||||
# remove the soctemp node on platforms where kernel support is not yet ready for thermal readouts
|
||||
cat /etc/armbianmonitor/datasources/soctemp >/dev/null 2>&1 || rm /etc/armbianmonitor/datasources/soctemp
|
||||
} # prepare_temp_monitoring
|
||||
|
||||
log_hardware_info() {
|
||||
|
|
|
@ -65,6 +65,7 @@ prepare_board() {
|
|||
echo 1 >${i}/io_is_busy
|
||||
echo 25 >${i}/up_threshold
|
||||
echo 10 >${i}/sampling_down_factor
|
||||
echo 200000 >${i}/sampling_rate
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue