设为首页
收藏本站
用户名
Email
自动登录
找回密码
密码
登录
注册
快捷导航
平台
Portal
论坛
BBS
文库
项目
群组
Group
我的博客
Space
搜索
搜索
热搜:
shell
linux
mysql
本版
用户
LinuxSir.cn,穿越时空的Linuxsir!
»
论坛
›
Linux 综合讨论区 —— LinuxSir.cn
›
硬件设备 Linux 驱动
›
cpufreqd求助
返回列表
查看:
907
|
回复:
0
cpufreqd求助
[复制链接]
shitbaby
shitbaby
当前离线
积分
652
IP卡
狗仔卡
发表于 2006-6-11 18:21:54
|
显示全部楼层
|
阅读模式
cpufreqd 安装好了
但是我在ac工作模式下,cpu还是100%工作,如何设置成ondemand类型??
在电池模式下,cpu又只锁定在60%性能工作
好像都是死的,不是很灵活
joey@debian:~$ cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a "#", and everything on the line after them are ignored.
ide-cd
ide-disk
ide-generic
psmouse
sbp2
sr_mod
speedstep-ich
#cpufreq_powersave
#cpufreq_performance
cpufreq_ondemand
复制代码
我的模块
cpufreqd。conf
joey@debian:~$ cat /etc/cpufreqd.conf
# this is a comment
#
# you need: 1 [General] section,
# 1 or more [Profile] sections
# 1 or more [Rule] sections
#
# a section ends at the first blank line
#
# [Rule] sample:
# [Rule]
# name=sample_rule
# ac=on # (on/off)
# battery_interval=0-10
# cpu_interval=30-60
# programs=xine,mplayer
# profile=sample_profile
#
# [Profile] sample:
# [Profile]
# name=sample_profile
# minfreq=10%
# maxfreq=100%
# policy=performance
#
# see CPUFREQD.CONF(5) manpage for a complete reference
[General]
pidfile=/var/run/cpufreqd.pid
poll_interval=2
pm_type=acpi #(acpi, apm or pmu)
# Uncomment the following line to enable ACPI workaround (see cpufreqd.conf(5))
# acpi_workaround=1
verbosity=4 #(if you want a minimal logging set to 5)
[Profile]
name=hi_boost
minfreq=66%
maxfreq=100%
policy=performance
[Profile]
name=medium_boost
minfreq=33%
maxfreq=66%
policy=performance
[Profile]
name=lo_boost
minfreq=0%
maxfreq=33%
policy=performance
[Profile]
name=lo_power
minfreq=0%
maxfreq=33%
policy=powersave
# conservative mode when not AC
[Rule]
name=conservative
ac=off # (on/off)
battery_interval=0-100
cpu_interval=0-40
profile=lo_boost
# need some power
[Rule]
name=lo_cpu_boost
ac=off # (on/off)
battery_interval=0-100
cpu_interval=30-80
profile=medium_boost
# need big power (not if battery very low)
[Rule]
name=hi_cpu_boost
ac=off # (on/off)
battery_interval=50-100
cpu_interval=70-100
profile=medium_boost
# full power when AC
[Rule]
name=AC_on
ac=on # (on/off)
profile=hi_boost
# full power when watching DVDs and not AC:
# this is the last rule and takes less
# precedence with respect to the others
[Rule]
name=dvd_watching
ac=off # (on/off)
battery_interval=0-100
programs=xine,mplayer,avidemux
cpu_interval=0-100
profile=hi_boost
复制代码
回复
使用道具
举报
提升卡
置顶卡
沉默卡
喧嚣卡
变色卡
显身卡
返回列表
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
|
注册
本版积分规则
发表回复
回帖后跳转到最后一页
Copyright © 2002-2023
LinuxSir.cn
(http://www.linuxsir.cn/) 版权所有 All Rights Reserved.
Powered by
RedflagLinux!
技术支持:
中科红旗
|
京ICP备19024520号
快速回复
返回顶部
返回列表