老人家 发表于 2024-3-19 11:11:43

杜甫设置CPU高性能模式

cpus=`ls /sys/devices/system/cpu/|grep -Eo "cpu+"`for cpu in $cpus;dofile=/sys/devices/system/cpu/$cpu/cpufreq/scaling_governorecho -e "OLD($cpu): \033

也可以直接for cpu in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
反正都一样吧

根据这里说的https://hostloc.com/thread-607914-1-1.html

但是我没感觉到效果,应该是睿频也能到那么高,执行了之后反而ffmpeg速度变慢了

https://i2.wp.com/telegra.ph/file/364ebfcc07174b0255513.png

原帖那个老哥发的通配符,直接用好像bash里不支持,只能一个一个来

https://i2.wp.com/telegra.ph/file/9f7a6f115e781fd4eae4c.png

灌水王 发表于 2024-3-19 11:12:01

打电话叫机房给你母鸡设置超频最快:lol




* Linux常用命令:rpm --checksig package.rpm 确认一个rpm包的完整性



* 资源 https://t.me/MJJ_aliyundrive
* MJJ频道 https://t.me/wearemjj
* Linux命令大全 https://www.linuxcool.com
* HostLoc频道 https://t.me/myhostloc
   https://cf-ipfs.com/ipfs/QmPiK7R2tGrg9PamRDu6fk3fEca3P7MHMzRr2Dn2ovGhK3

灌水王 发表于 2024-3-19 11:12:25

这个对小鸡有效不

灌水王 发表于 2024-3-19 11:13:08

bios设置好了 软件改意义不大。

lenom 发表于 2024-3-19 11:13:22

root@host ~ # cat /etc/rc.local
#!/bin/sh -e
swapoff -a
sysctl -w vm.dirty_background_ratio=50
sysctl -w vm.dirty_ratio=70
cpufreq-set -g performance
exit 0https://cdn.jsdelivr.net/gh/master-of-forums/master-of-forums/public/images/patch.gif
页: [1]
查看完整版本: 杜甫设置CPU高性能模式