Gentoo Archives: gentoo-user

From: Bill Longman <bill.longman@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Core i7 M620 power management problem
Date: Thu, 30 Dec 2010 03:17:30
Message-Id: AANLkTi=vknuMJ6q+ARgWiuwHTxQaqGdLM1V9m_6wCoVz@mail.gmail.com
In Reply to: Re: [gentoo-user] Core i7 M620 power management problem by Mick
1 On Wed, Dec 29, 2010 at 4:43 PM, Mick <michaelkintzios@×××××.com> wrote:
2
3 > Just a wild guess: are you running some desktop applet that manages the
4 > cpu
5 > frequency and is stuck on manual with a low setting?
6 >
7 > I have the i7 Q 720 @ 1.60GHz, which is supposedly go up to 2.8G with turbo
8 > boost, but can't say that I have ever seen it going that high ... not sure
9 > if
10 > there's a setting somewhere I should tweak. This is from cpuinfo:
11 >
12 > =========================
13 > $ cat /proc/cpuinfo
14 > processor : 0
15 > vendor_id : GenuineIntel
16 > cpu family : 6
17 > model : 30
18 > model name : Intel(R) Core(TM) i7 CPU Q 720 @ 1.60GHz
19 > stepping : 5
20 > cpu MHz : 931.000
21 > cache size : 6144 KB
22 > physical id : 0
23 > siblings : 8
24 > core id : 0
25 > cpu cores : 4
26 > apicid : 0
27 > initial apicid : 0
28 > fpu : yes
29 > fpu_exception : yes
30 > cpuid level : 11
31 > wp : yes
32 > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
33 > cmov
34 > pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp
35 > lm
36 > constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc
37 > aperfmperf
38 > pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1
39 > sse4_2
40 > popcnt lahf_lm ida dts tpr_shadow vnmi flexpriority ept vpid
41 > bogomips : 3192.42
42 > clflush size : 64
43 > cache_alignment : 64
44 > address sizes : 36 bits physical, 48 bits virtual
45 > power management:
46 > =========================
47 > As you can see power management is also blank.
48 >
49 > These are my frequencies:
50 >
51 > $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_*
52 > 1597000 1596000 1463000 1330000 1197000 1064000 931000
53 > conservative userspace powersave ondemand performance
54 > 931000
55 > acpi-cpufreq
56 > ondemand
57 > 1597000
58 > 931000
59 > <unsupported>
60 >
61 > PS. Any ideas what makes that turbo thingy kick in?
62 >
63
64 The only thing that runs at boot is cpufrequtils and here is the config for
65 it:
66
67 # Options when starting cpufreq (given to the `cpufreq-set` program)
68 START_OPTS="--governor performance"
69
70 # Options when stopping cpufreq (given to the `cpufreq-set` program)
71 STOP_OPTS="--governor performance"
72
73 # Extra settings to write to sysfs cpufreq values.
74 #SYSFS_EXTRA="ondemand/ignore_nice_load=1 ondemand/up_threshold=70"
75 SYSFS_EXTRA="ondemand/ignore_nice_load=1"
76
77 And since I have power mgmt debug turned on, all my logs are belong to pm:
78 e1000e 0000:00:19.0: __pm_runtime_resume()!
79 e1000e 0000:00:19.0: __pm_runtime_resume() returns 1!
80 scsi host1: __pm_runtime_resume()!
81 scsi host1: __pm_runtime_resume() returns 1!
82 scsi host1: __pm_runtime_resume()!
83 scsi host1: __pm_runtime_resume() returns 1!
84 scsi host1: __pm_runtime_resume()!
85 scsi host1: __pm_runtime_resume() returns 1!
86 scsi host1: __pm_runtime_resume()!
87 etc, etc, etc, ad nauseum....
88
89 And even when I try this kind of thing:
90 /sys/devices/system/cpu
91 19:08:23# for a in cpu?/cpufreq/scaling_max_freq; do echo -n 2667000 > $a;
92 done
93 /sys/devices/system/cpu
94 19:09:05# cat cpu?/cpufreq/scaling_max_freq
95 1199000
96 1199000
97 1199000
98 1199000
99 /sys/devices/system/cpu
100 19:09:20# for a in cpu?/cpufreq/scaling_governor; do echo -n performance >
101 $a; done
102
103 I can see gkrellm get its governor changed but I cannot override the max
104 freq. How can I tell what the BIOS is reporting? Here is what dmidecode
105 tells me about the CPU:
106
107 Handle 0x0004, DMI type 4, 42 bytes
108 Processor Information
109 Socket Designation: CPU 1
110 Type: Central Processor
111 Family: <OUT OF SPEC>
112 Manufacturer: Intel
113 ID: 52 06 02 00 FF FB EB BF
114 Version: Intel(R) Core(TM) i7 CPU M 620 @ 2.67GH
115 Voltage: 0.0 V
116 External Clock: 533 MHz
117 Max Speed: 4000 MHz
118 Current Speed: 2666 MHz
119 Status: Populated, Enabled
120 Upgrade: Other
121 L1 Cache Handle: 0x0005
122 L2 Cache Handle: 0x0006
123 L3 Cache Handle: 0x0007
124 Serial Number: To Be Filled By O.E.M.
125 Asset Tag: To Be Filled By O.E.M.
126 Part Number: To Be Filled By O.E.M.
127 Core Count: 2
128 Core Enabled: 1
129 Thread Count: 2
130 Characteristics:
131 64-bit capable
132
133
134 --
135 Bill Longman

Replies

Subject Author
Re: [gentoo-user] Core i7 M620 power management problem "Stefan G. Weichinger" <lists@×××××.at>
Re: [gentoo-user] Core i7 M620 power management problem Mick <michaelkintzios@×××××.com>