1 |
On Wed, Dec 29, 2010 at 2:51 PM, Bill Longman <bill.longman@×××××.com> wrote: |
2 |
>> Yeah, the cpufreq utils show all the relevant information. I use the |
3 |
>> acpi-cpufreq driver and when I didn't use it nothing happened. cpufreq-aperf |
4 |
>> shows each CPU at 1.2GHz. I'll look at the EIST in BIOS, too. Thanks for the |
5 |
>> pointers. |
6 |
> |
7 |
> Here's an interesting item: |
8 |
> |
9 |
> 12:41:00# cat /sys/devices/system/cpu/cpu0/cpufreq/bios_limit |
10 |
> 1199000 |
11 |
> |
12 |
> which sort of jives with the "asserted by call to hardware" in the |
13 |
> cpufreq-info section: |
14 |
> analyzing CPU 3: |
15 |
> driver: acpi-cpufreq |
16 |
> CPUs which run at the same hardware frequency: 0 1 2 3 |
17 |
> CPUs which need to have their frequency coordinated by software: 3 |
18 |
> maximum transition latency: 10.0 us. |
19 |
> hardware limits: 1.20 GHz - 2.67 GHz |
20 |
> available frequency steps: 2.67 GHz, 2.67 GHz, 2.53 GHz, 2.40 GHz, 2.27 |
21 |
> GHz, 2.13 GHz, 2.00 GHz, 1.87 GHz, 1.73 GHz, 1.60 GHz, 1.47 GHz, 1.33 GHz, |
22 |
> 1.20 GHz |
23 |
> available cpufreq governors: conservative, ondemand, userspace, powersave, |
24 |
> performance |
25 |
> current policy: frequency should be within 1.20 GHz and 1.20 GHz. |
26 |
> The governor "performance" may decide which speed to use |
27 |
> within this range. |
28 |
> current CPU frequency is 1.20 GHz (asserted by call to hardware). |
29 |
> cpufreq stats: 2.67 GHz:0.25%, 2.67 GHz:0.01%, 2.53 GHz:0.01%, 2.40 |
30 |
> GHz:0.01%, 2.27 GHz:0.01%, 2.13 GHz:0.01%, 2.00 GHz:0.01%, 1.87 GHz:0.01%, |
31 |
> 1.73 GHz:0.01%, 1.60 GHz:0.01%, 1.47 GHz:0.01%, 1.33 GHz:0.01%, 1.20 |
32 |
> GHz:99.61% (28) |
33 |
> |
34 |
> So, why are there micro-spikes of higher frequencies in the above stats? The |
35 |
> stats section says there are only five transitions. |
36 |
|
37 |
I ran cpufreq-info on my i7 920, and everything looked normal for mine |
38 |
compared to yours. And I have tens of thousands of transitions on each |
39 |
CPU (currently at 8 days uptime) |
40 |
|
41 |
Can you use cpufreq-set to change the max limit or lock it to a higher |
42 |
speed? If it works, that's a good sign... if it gets changed back |
43 |
maybe some userspace powersaving program is messing with it. Like |
44 |
gnome/KDE or something. If you boot to console and don't start X, does |
45 |
this problem still happen? I wonder if it happens in X maybe the few |
46 |
times at greater speeds happened before X loaded. Just a WAG. :) |
47 |
|
48 |
For example, on my laptop (not an i7, but an old Athlon from 2004), |
49 |
the KDE laptop powersaving stuff does not work properly, it either |
50 |
locks me at slowest speed, or highest speed, or... but I think in my |
51 |
case it's related to the corrupt DSDT, crappy BIOS and complete |
52 |
inability for it to read the battery state most of the time... It |
53 |
doesn't know if it's plugged in or on battery, or how much battery |
54 |
life is left, or it thinks 84% remains and that number never changes |
55 |
(until laptop suddenly dies without warning). Of course all of that |
56 |
works perfectly fine in Windows on the same machine... |
57 |
|
58 |
In my kernel config on my i7, in the cpufreq sections I have this: |
59 |
|
60 |
# |
61 |
# CPU Frequency scaling |
62 |
# |
63 |
CONFIG_CPU_FREQ=y |
64 |
CONFIG_CPU_FREQ_TABLE=y |
65 |
# CONFIG_CPU_FREQ_DEBUG is not set |
66 |
CONFIG_CPU_FREQ_STAT=y |
67 |
# CONFIG_CPU_FREQ_STAT_DETAILS is not set |
68 |
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set |
69 |
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set |
70 |
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y |
71 |
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set |
72 |
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y |
73 |
CONFIG_CPU_FREQ_GOV_POWERSAVE=y |
74 |
CONFIG_CPU_FREQ_GOV_USERSPACE=y |
75 |
CONFIG_CPU_FREQ_GOV_ONDEMAND=y |
76 |
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y |
77 |
|
78 |
# |
79 |
# CPUFreq processor drivers |
80 |
# |
81 |
# CONFIG_X86_PCC_CPUFREQ is not set |
82 |
CONFIG_X86_ACPI_CPUFREQ=y |
83 |
# CONFIG_X86_POWERNOW_K8 is not set |
84 |
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set |
85 |
# CONFIG_X86_P4_CLOCKMOD is not set |
86 |
|
87 |
|
88 |
I can send you my entire .config if you want to compare. |