🎬️ 实时查看CPU主频

watch grep \"cpu MHz\" /proc/cpuinfo
sudo dmidecode -t memory
cat /proc/cpuinfo
cat /proc/meminfo

查看cpu调度策略,通常情况下应该是'ondemand'或'powersave'

cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

查看你的qnap设备支持哪些调度器

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors

调整cpu调度策略

echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
echo powersave | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
echo ondemand | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
echo conservative | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
echo userspace | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor