feat: dynamic CPU governor (performance during tasks, powersave at idle)
Switch to performance governor when task queue starts processing, back to powersave when queue drains. Removes bee-cpuperf.service. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
[Unit]
|
||||
Description=Set CPU governor to performance
|
||||
DefaultDependencies=no
|
||||
After=sysinit.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/sh -c 'for f in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do [ -f "$f" ] && echo performance > "$f"; done'
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -1 +0,0 @@
|
||||
/etc/systemd/system/bee-cpuperf.service
|
||||
Reference in New Issue
Block a user