All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.6.25.x: Wrong CPU frequency (cpufreq table) with p4-clockmod
@ 2008-05-30 13:44 Guntsche Michael
  2008-05-30 13:57 ` Arjan van de Ven
  0 siblings, 1 reply; 10+ messages in thread
From: Guntsche Michael @ 2008-05-30 13:44 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2008 bytes --]

Hi list,

I recently upgraded one of my servers from 2.6.24.2 to 2.6.25. This is  
more or less a basic fileserver that also does some compilations from  
time to time.

cat /proc/cpuinfo from 2.6.24.2:

processor : 0
vendor_id : GenuineIntel
cpu family  : 15
model   : 1
model name  : Intel(R) Pentium(R) 4 CPU 1.70GHz
stepping  : 2
cpu MHz   : 425.000
cache size  : 256 KB
fdiv_bug  : no
hlt_bug   : no
f00f_bug  : no
coma_bug  : no
fpu   : yes
fpu_exception : yes
cpuid level : 2
wp    : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca  
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pebs bts  
sync_rdtsc
bogomips  : 3401.38
clflush size  : 64

scaling_available_frequencies (p4-clockmod): 425000 637500 850000  
1062500 1275000 1487500 1700000

Since the server is idling most of the time I enabled the ondemand  
governor and installed p4-clockmod. I read that this is not the best  
solution but acpi-cpufreq is not working for me.

Everything was good with 2.6.24. After switching to to 2.6.25 I have  
the following output.

cat /proc/cpuinfo from 2.6.25.4:

processor	: 0
vendor_id	: GenuineIntel
cpu family	: 15
model		: 1
model name	: Intel(R) Pentium(R) 4 CPU 1.70GHz
stepping	: 2
cpu MHz		: 3450.000
cache size	: 256 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 2
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov  
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pebs bts
bogomips	: 3402.06
clflush size	: 64

scaling_available_frequencies (p4-clockmod): 3450000 5175000 6900000  
8625000 10350000 12075000 13800000

The scaling is working but the frequencies are way of. Every value is  
multiplied by ~8.12.
I get the same result with 2.6.25 and 2.6.25.4.
I am not sure if this is only a display related problem, or if  
something more serious is causing this.

Please CC me on any replies since I am not subscribed to the list.

Kind regards,
Michael








[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2417 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: 2.6.25.x: Wrong CPU frequency (cpufreq table) with p4-clockmod
@ 2008-05-30 17:21 Guntsche Michael
  0 siblings, 0 replies; 10+ messages in thread
From: Guntsche Michael @ 2008-05-30 17:21 UTC (permalink / raw)
  To: Arjan van de Ven; +Cc: linux-raid

Ok,

I enabled debugging and here is the output of the boot-up

cpufreq-core: trying to register driver p4-clockmod
cpufreq-core: adding CPU 0
p4-clockmod: has errata -- disabling low frequencies
speedstep-lib: x86: f, model: 1
speedstep-lib: P4 - MSR_EBC_FREQUENCY_ID: 0x8a01fe00 0x0
speedstep-lib: P4 - FSB 100000 kHz; Multiplier 138; Speed 13800000 kHz
freq-table: setting show_table for cpu 0 to e2950d60
freq-table: table entry 0 is invalid, skipping
freq-table: table entry 1 is invalid, skipping
freq-table: table entry 2: 3450000 kHz, 2 index
freq-table: table entry 3: 5175000 kHz, 3 index
freq-table: table entry 4: 6900000 kHz, 4 index
freq-table: table entry 5: 8625000 kHz, 5 index
freq-table: table entry 6: 10350000 kHz, 6 index
freq-table: table entry 7: 12075000 kHz, 7 index
freq-table: table entry 8: 13800000 kHz, 8 index
cpufreq-core: setting new policy for CPU 0: 3450000 - 13800000 kHz
freq-table: request for verification of policy (3450000 - 13800000  
kHz) for cpu 0
freq-table: verification lead to (3450000 - 13800000 kHz) for cpu 0
freq-table: request for verification of policy (3450000 - 13800000  
kHz) for cpu 0
freq-table: verification lead to (3450000 - 13800000 kHz) for cpu 0
cpufreq-core: new min and max freqs are 3450000 - 13800000 kHz
cpufreq-core: governor switch
cpufreq-core: __cpufreq_governor for CPU 0, event 1
cpufreq-core: governor: change or update limits
cpufreq-core: __cpufreq_governor for CPU 0, event 3
cpufreq-core: initialization complete
cpufreq-core: driver p4-clockmod up and running
p4-clockmod: P4/Xeon(TM) CPU On-Demand Clock Modulation available

FSB and the multiplier look a litte bit off to me.

/Michael


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-06-02 16:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-30 13:44 2.6.25.x: Wrong CPU frequency (cpufreq table) with p4-clockmod Guntsche Michael
2008-05-30 13:57 ` Arjan van de Ven
2008-05-30 14:07   ` Guntsche Michael
2008-06-01 21:57     ` Guntsche Michael
2008-06-02  1:56       ` Arjan van de Ven
2008-06-02  2:36         ` Roger Heflin
2008-06-02  5:22           ` Michael Guntsche
2008-06-02 15:37           ` Henrique de Moraes Holschuh
2008-06-02 16:44             ` Matthew Garrett
  -- strict thread matches above, loose matches on Subject: below --
2008-05-30 17:21 Guntsche Michael

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.