linux-mips
[Top] [All Lists]

Re: [loongson-dev] Re: a pre-release of merging loongson patchs to linux

To: Erwan Lerale <erwan@thiscow.com>
Subject: Re: [loongson-dev] Re: a pre-release of merging loongson patchs to linux-2.6.29.1
From: 胡洪兵 <huhb@lemote.com>
Date: Tue, 19 May 2009 22:36:43 +0800
Cc: wuzhangjin@gmail.com, loongson-dev@googlegroups.com, yanh@lemote.com, zhangfx@lemote.com, penglj@lemote.com, taohl@lemote.com, linux-mips@linux-mips.org, Ralf Baechle <ralf@linux-mips.org>
In-reply-to: <4A12A289.4070102@thiscow.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1240501332.28136.24.camel@falcon> <49F0AFA3.6080408@thiscow.com> <1240535343.25824.14.camel@falcon> <49F16061.9010207@thiscow.com> <1240556617.23345.10.camel@falcon> <49F217E1.8080808@thiscow.fr> <1240640248.25540.27.camel@falcon> <49F497E9.7080803@thiscow.com> <4A12A289.4070102@thiscow.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla-Thunderbird 2.0.0.9 (X11/20080110)
Erwan Lerale 写道:
Erwan Lerale a écrit :

Now, let's talk about the cpufreq stuff :)

cpufrequtils 005: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
 driver: loongson2f
 CPUs which need to switch frequency at the same time: 0
 hardware limits: 199 MHz - 797 MHz
available frequency steps: 199 MHz, 299 MHz, 398 MHz, 498 MHz, 598 MHz, 697 MHz, 797 MHz available cpufreq governors: conservative, ondemand, userspace, powersave, performance
 current policy: frequency should be within 199 MHz and 797 MHz.
                 The governor "ondemand" may decide which speed to use
                 within this range.
 current CPU frequency is 797 MHz (asserted by call to hardware).
cpufreq stats: 199 MHz:0.00%, 299 MHz:0.00%, 398 MHz:0.00%, 498 MHz:0.00%, 598 MHz:0.00%, 697 MHz:0.00%, 797 MHz:100.00%

It seems to be working but it's weird. When I start X and gnome (cpufreq applet). I can see that's the system is using the ondemand performance but is stuck at 797 Mhz if I don't do anything. If i start working (yeah it's happening sometimes), the frequency is moving from 199Mhz to 797Mhz.

The other thing which is weird is that I don't have this problem with the Loonux stock kernel.

Hello,

I've switched from the ondemand governor to the conservative one and it seems
to be working properly.

Yes, the conservative governor  is better than the ondemand.
I have also noticed that the fans seems to be running at full speed all the time.
Any comment, on this issue ?

we test that it only  save  power  about  1~2w   when the cpufreq  is  min.
So the temperature will be reduced a little.
when the temp is the some section,
eg. the  60°C and 65°C  are the same section when the section is 60°C~70°C,
the speed of  fans will be the same.

Is there a way to query the sensors ?
Please insmod  ec_ftd which is one of the ec modules.
And then type  "cat  /proc/ft" ,  the output: "1.31 0x01 4705 0x00 56"

the 4705 means  the speed of fans,   56 stands for  the  temperature

the ec_modules  source  URL:
http://dev.lemote.com/code/ec_module

git URL:
git://dev.lemote.com/ec_module.git
Cheers
r1






--
---------------------------------------------------------
Hongbing,Hu (Software Department)
Tel:    0512-52308631
E-mail: huhb@lemote.com
MSN:    [huhb04@gmail.com]
JiangSu Lemote Corp. Ltd.
MengLan, Yushan, Changshu, JiangSu Province, China
---------------------------------------------------------



<Prev in Thread] Current Thread [Next in Thread>