Re: mistake about the cpufreq?

From: äéè
Date: Fri Jul 01 2011 - 21:17:35 EST


On Fri, Jul 1, 2011 at 4:00 PM, äéè <yyc1992@xxxxxxxxx> wrote:
> The following is what I get when I run the command in
> /sys/devices/system/cpu/cpu0/cpufreq
>
> $ sudo grep "" *
> affected_cpus:0
> bios_limit:800000
> cpuinfo_cur_freq:2800000
> cpuinfo_max_freq:2801000
> cpuinfo_min_freq:800000
> cpuinfo_transition_latency:10000
> related_cpus:0 1
> scaling_available_frequencies:2801000 2800000 2133000 1600000 800000
> scaling_available_governors:conservative ondemand userspace powersave
> performance
> scaling_cur_freq:800000
> scaling_driver:acpi-cpufreq
> scaling_governor:performance
> scaling_max_freq:800000
> scaling_min_freq:800000
> scaling_setspeed:<unsupported>
>
> The problem is basically the scalings is different from cpuinfos. It
> appears when I unplug the power and still there when I have repluged
> the power.
> Does any know what probably the problem is and where can I look for
> more detail information.
>
> some basic info about my computer
>
> $ uname -a
> Linux yuyichao-PC 2.6.39-ARCH #1 SMP PREEMPT Mon Jun 27 21:26:22 CEST
> 2011 x86_64 Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz GenuineIntel
> GNU/Linux
> (The kernel version should be 2.6.39.2)
>
>
> Thanks.
>
> Yichao
>

So after reading the files in cpu-freq/, I saw it was mentioned in
user-guide.txt that the scaling_ ones is what the kernel thinks the
freq is and cpuinfo is the actual freq.
y can these two be different?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/