介绍我的笔记本的降温策略

笔记本/便携移动设备,手机平板等软硬件
回复
头像
kofshower
帖子: 1343
注册时间: 2007-03-13 11:23
联系:

介绍我的笔记本的降温策略

#1

帖子 kofshower » 2008-07-15 0:41

  • 检查系统内核是否支持sysfs:grep SYSFS /boot/config-`uname -r`,如果是CONFIG_SYSFS=y为支持
    加载 speedstep 和 cpufreq 系列的模块吧
    检测方法lsmod 可以看到
    speedstep-centrino
    cpufreq_userspace,为已加载,我的系统已经挂载了
    安装uswsusp

    代码: 全选

    加入新的模块
    包的介绍:
    uswsusp (also known as µswsusp or simply suspend) contains the programs to use the userspace software suspend facility available in Linux kernel 2.6.17-rc1 and higher. It enables you to save the state of the whole system to disk and power off your system. After restarting your system it will be put back in the exact system state you left it (this is sometimes called hibernation).
    
    It also includes a program to suspend-to-ram after the state is saved to disk. In the suspend-to-ram state the system still uses power, but is faster in resuming. In case the battery depletes the state is still on disk and resume can continue without data loss.
    
    Optional features include encrypting the system snapshot and a themeable splash screen during the suspend and resume processes.
    
    To use this package you need a Linux kernel version 2.6.17-rc1 or newer configured to use an initramfs. Hooks and scripts to integrate with initramfs-tools are provided. 
    
    安装powernowd这是比cpufreq更强大的cpu频率调节工具
    运行sudo powernowd
    可以直接作为一个daemon运行.
    pidof powernowd可以看到进程后台运行了
    可以把这个加到系统启动会话中.
    显卡频率:
    我只用过ati(本本多半是ati的吧)
    aticonfig --lsp
    列出现在运行的频率和可调节的step
    然后用aticonfig --set-powerstate=n
    n为上面的不同的step
    自己选择一个
    一般是1为最低

    下面贴一张我的本本调节后的效果,比之前开机的温度还要低上2C,比之前的平均温度大约低10C
    此外:uswsusp在很多笔记本上可以修复不能suspend的bug.起码我的笔记本就是
    如果需要休眠的话,还可以安装一个叫hibernate的包,这些策略在我的笔记本上经过测试有效
    上述方法的来源debian官方的irc
    一些方法是采纳在Debian的maillist中的建议
    Debian的邮件列表是http://www.mail-archive.com/
附件
2.png
"We are all in the mud, but some of us are looking at the stars." (Oscar Wilde)
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
头像
kofshower
帖子: 1343
注册时间: 2007-03-13 11:23
联系:

#2

帖子 kofshower » 2008-07-15 0:43

思路是这样。有时间以后再编辑。 :em01
"We are all in the mud, but some of us are looking at the stars." (Oscar Wilde)
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#3

帖子 eexpress » 2008-07-15 0:57

难道是xx?
问题都一样?
● 鸣学
头像
kofshower
帖子: 1343
注册时间: 2007-03-13 11:23
联系:

#4

帖子 kofshower » 2008-07-15 9:02

eexpress 写了:难道是xx?
问题都一样?
题目 :shock: :shock: :D
"We are all in the mud, but some of us are looking at the stars." (Oscar Wilde)
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
头像
sfree
帖子: 603
注册时间: 2007-03-17 1:24
来自: 湖南长沙

#5

帖子 sfree » 2008-07-15 10:37

这个东东可以把CPU频率固定在一个主频上么
头像
kofshower
帖子: 1343
注册时间: 2007-03-13 11:23
联系:

#6

帖子 kofshower » 2008-07-15 10:46

可以啊。
看--help

代码: 全选

Available Options:
 	-h	Print this help message
	-d	Don't detach from terminal (default is to
		detach and run in the background)
	-v	Increase output verbosity, can be used more than once.
	-q	Quiet mode, only emergency output.
	-n	Include 'nice'd processes in calculations
	-m #	Modes of operation, can be 0, 1, 2, or 3:
		0 = SINE, 1 = AGGRESSIVE (default),
		2 = PASSIVE, 3 = LEAPS
	-s #	Frequency step in kHz (default = 100000)
	-p #	Polling frequency in msecs (default = 1000)
	-c #	Specify number of threads per power-managed core
	-u #	CPU usage upper limit percentage [0 .. 100, default 80]
	-l #    CPU usage lower limit percentage [0 .. 100, default 20]
-s 啊,而且通过-u和-i可以限制cpu的使用率,本来我是用cpufreq的,可以debian的邮件列表大家推荐这个。对我上面这些很有用啊。开机温度从49降到36度,看上面截图的uptime那个是开了17小时55分钟的温度
附件
1.png
"We are all in the mud, but some of us are looking at the stars." (Oscar Wilde)
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
头像
jarodlau
帖子: 501
注册时间: 2005-09-06 20:34
联系:

#7

帖子 jarodlau » 2008-07-15 19:15

一般官方的内核都支持的,AMD的专用降频率软件,我一直都在用,好像是AMD出品的移动版本的CPU都支持

安装这个必须要有sysfs的支持,而且要挂载上,有必要的话,在/etc/fstab中加入下面红色的一行

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>

# for AMD k8 powernowd主要是这个文件系统要加载上,否则,powernowd没有办法监控频率的
sysfs /sys sysfs defaults 0 0
头像
kofshower
帖子: 1343
注册时间: 2007-03-13 11:23
联系:

#8

帖子 kofshower » 2008-07-15 22:22

jarodlau 写了:一般官方的内核都支持的,AMD的专用降频率软件,我一直都在用,好像是AMD出品的移动版本的CPU都支持

安装这个必须要有sysfs的支持,而且要挂载上,有必要的话,在/etc/fstab中加入下面红色的一行

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>

# for AMD k8 powernowd主要是这个文件系统要加载上,否则,powernowd没有办法监控频率的
sysfs /sys sysfs defaults 0 0
是啊,补充一下官方说了这对intel同样有效。我的就是迅驰
"We are all in the mud, but some of us are looking at the stars." (Oscar Wilde)
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
头像
banban
帖子: 3340
注册时间: 2008-03-23 17:01

Re: 介绍我的笔记本的降温策略

#9

帖子 banban » 2009-04-22 21:09

呵呵,O(∩_∩)O~
zhangkai1992
帖子: 236
注册时间: 2009-04-24 2:32

Re: 介绍我的笔记本的降温策略

#10

帖子 zhangkai1992 » 2009-04-24 2:36

难道是xx?
问题都一样?
头像
fanshouxiang
帖子: 229
注册时间: 2009-01-30 18:28

Re: 介绍我的笔记本的降温策略

#11

帖子 fanshouxiang » 2009-08-12 15:54

我的没有加载 speedstep 和 cpufreq 系列的模块,该怎么加载? :em06
DELL vostro 1310
Inter Core2 T8100 2.1GHz
DDR2 667MHz 1G
NVIDIA Geforce 8400M GS 128M
头像
kofshower
帖子: 1343
注册时间: 2007-03-13 11:23
联系:

Re: 介绍我的笔记本的降温策略

#12

帖子 kofshower » 2009-08-16 12:06

fanshouxiang 写了:我的没有加载 speedstep 和 cpufreq 系列的模块,该怎么加载? :em06
用modprobe
"We are all in the mud, but some of us are looking at the stars." (Oscar Wilde)
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
头像
Drdi
帖子: 257
注册时间: 2009-10-02 15:47

Re: 介绍我的笔记本的降温策略

#13

帖子 Drdi » 2009-11-02 1:22

kofshower 写了:
fanshouxiang 写了:我的没有加载 speedstep 和 cpufreq 系列的模块,该怎么加载? :em06
用modprobe
modprobe cpufreq
FATAL: Module cpufreq not found.

找不到模块怎么办 :em06
爱Linux 也爱Ubuntu
简洁美观的桌面
更爱高效稳定的系统
不是不折腾难受夫斯基不想浪费时间
我和大多数人一样 我是菜菜
我要有菜菜的觉悟
我是Drdi
回复