Unlock full CPU freq (#447)

* 3s savings

* limit

* bump

* revert that
This commit is contained in:
Adeeb Shihadeh
2025-01-26 16:13:29 -08:00
committed by GitHub
parent 06f0663895
commit 62d2cc4264
3 changed files with 6 additions and 2 deletions
+4
View File
@@ -5,5 +5,9 @@ for i in {0..7}; do
echo "related" | sudo tee /sys/bus/msm_subsys/devices/subsys${i}/restart_level
done
# use max freq to boot up quickly, then limit
echo 1689600 | sudo tee /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq
echo 1689600 | sudo tee /sys/devices/system/cpu/cpufreq/policy4/scaling_max_freq
# boot wifi
echo 1 | sudo tee /sys/kernel/boot_wlan/boot_wlan
@@ -38,7 +38,7 @@ if __name__ == "__main__":
# includes /sbin/init -> weston being ready to display stuff
ts['weston'] = get_journal_time("Finished weston-ready.service") - tot_since_kern()
ts['comma'] = get_journal_time("Started comma.service") - tot_since_kern()
ts['comma'] = get_journal_time("Starting comma.service") - tot_since_kern()
# print
tot = 0