暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

CPU超频

原创 tony 2021-08-26
1287

查看当前cpu运行频率:
cat /proc/cpuinfo | grep -i “cpu mhz”
开始设置:
cpupower -c all frequency-set -g performance
或者
cpupower frequency-set -g performance
再次查看当前cpu运行频率,既最大频率运行了。
cat /proc/cpuinfo | grep -i “cpu mhz”

来自 https://blog.csdn.net/sh13661847134/article/details/107855285

在不同的系统上,并不是所有的策略都是可用了,可以通过/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors查看支持的策略
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
performance powersave
查看当前生效的策略
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
powersave
查看当前CPU频率
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
900022
cpupower
cpupower 是一组为辅助 CPU 调频而设计的用户空间工具。
1、查看当前所有CPU的信息
cpupower -c all frequency-info
2、设置所有CPU为性能模式
cpupower -c all frequency-set -g performance
3、设置所有CPU为节能模式
cpupower -c all frequency-set -g powersave

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论