[ltp] T40 cpufreq
Valient Gough
linux-thinkpad@linux-thinkpad.org
18 Aug 2003 09:08:21 -0700
--=-mggG0dg3TerPOC3YWgwf
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
On Sat, 2003-08-16 at 14:18, mukesh agrawal wrote:
> I think /proc/cpuinfo just reports what was detected at boot time.
>
Not anymore.. On my T40 w/ SuSE 8.2 (ships with patched 2.4.20 kernel):
# cat /proc/cpuinfo | sed -n "/cpu MHz\|bogo/p"
cpu MHz : 1598.665
bogomips : 3191.60
# cat /proc/cpufreq
minimum CPU frequency - maximum CPU frequency - policy
CPU 0 199833 kHz ( 12 %) - 1598665 kHz (100 %) -
performance
# echo "0%40%100%powersave" > /proc/cpufreq
cat /proc/cpuinfo | sed -n "/cpu MHz\|bogo/p"
cpu MHz : 799.332
bogomips : 1595.80
# cat /proc/cpufreq
minimum CPU frequency - maximum CPU frequency - policy
CPU 0 639466 kHz ( 40 %) - 1598665 kHz (100 %) - powersave
--=-mggG0dg3TerPOC3YWgwf
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.0.5">
</HEAD>
<BODY>
On Sat, 2003-08-16 at 14:18, mukesh agrawal wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#68151e"><I>I think /proc/cpuinfo just reports what was detected at boot time.
</I></FONT></PRE>
</BLOCKQUOTE>
<BR>
Not anymore.. On my T40 w/ SuSE 8.2 (ships with patched 2.4.20 kernel):<BR>
<BR>
# cat /proc/cpuinfo | sed -n "/cpu MHz\|bogo/p"<BR>
cpu MHz : 1598.665<BR>
bogomips : 3191.60<BR>
<BR>
# cat /proc/cpufreq<BR>
minimum CPU frequency - maximum CPU frequency - policy<BR>
CPU 0 199833 kHz ( 12 %) - 1598665 kHz (100 %) - performance<BR>
<BR>
# echo "0%40%100%powersave" > /proc/cpufreq<BR>
<BR>
cat /proc/cpuinfo | sed -n "/cpu MHz\|bogo/p"<BR>
cpu MHz : 799.332<BR>
bogomips : 1595.80<BR>
<BR>
# cat /proc/cpufreq<BR>
minimum CPU frequency - maximum CPU frequency - policy<BR>
CPU 0 639466 kHz ( 40 %) - 1598665 kHz (100 %) - powersave<BR>
<BR>
<BR>
</BODY>
</HTML>
--=-mggG0dg3TerPOC3YWgwf--