#设置CPU4工作(如改为0,CPU4-7就是高性能模式)
echo 1 > /sys/devices/system/cpu/cpu4/online
#设置CPU4调度模式为interactive
echo "interactive" > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor
#以下是interactive模式的句柄
echo "25000 800000:50000" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/above_hispeed_delay
echo 90 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/go_hispeed_load
echo 40000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/timer_rate
echo 998400 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/hispeed_freq
echo 0 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/io_is_busy
echo "1 800000:90" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/target_loads
echo 40000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/min_sample_time
echo 40000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/sampling_down_factor
#设置最低频率为800MHZ 。更改scaling_min_freq为scaling_max_freq则为设置最高频率
echo 800000 > /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq
# enable thermal core_control now
#温度控制核心
echo 1 > /sys/module/msm_thermal/core_control/enabled
# Bring up all cores online
#使所有核心工作 。1是工作 。0是离线 。
echo 1 > /sys/devices/system/cpu/cpu1/online
echo 1 > /sys/devices/system/cpu/cpu2/online
echo 1 > /sys/devices/system/cpu/cpu3/online
echo 0 > /sys/devices/system/cpu/cpu4/online
echo 0 > /sys/devices/system/cpu/cpu5/online
echo 0 > /sys/devices/system/cpu/cpu6/online
echo 0 > /sys/devices/system/cpu/cpu7/online
推荐阅读
- 解释什么叫难受香菇 香菇难受什么意思
- 解析名扬中外是什么意思 名扬中外的解释
- 解释什么叫三级培训 三级培训是指哪三级
- 稽核的解释
- 解释navi怎么用 navione如何免费升级
- 做梦下雨怎么解释
- 社区护理学名词解释
- 来自商业顾问的解释,ibm simon
- 看图不解释
- 运动摄像机,求高手解释,啥叫运动摄像机,和普通的摄像机有哪些区