HELP: cpufreq on HT and/or SMP systems
I have some doubts regarding cpufreq for SMP systems (for developing
http://mnm.uib.es/~gallir/cpudyn/).
If I remember well, I read a while ago that cpufreq didn't work in SMP systems, but reading the docs and kernel/cpufreq.c, it seems there should be any problem?
Is it true?
OTH, I trying it on a P4 HT, and it works, changes in the frequency of one of the "cpu's", changes both.
What happens in the case of several real cpu's? Does it keep the same frequency for every cpu? According to a comment in cpufreq.c, it seems that each cpu might have different frequencies.
So, what's recommended? Change the frequency of every cpu one by one?
Thanks,
PS: sorry, I don't have any cpufreq/SMP machine at hand.
Signature · 2 lines
ricardo galli GPG id C8114D34 http://mnm.uib.es/~gallir/
Quoted 11 lines · Ricardo Galli
I have some doubts regarding cpufreq for SMP systems (for developing
http://mnm.uib.es/~gallir/cpudyn/).If I remember well, I read a while ago that cpufreq didn't work in SMP systems, but reading the docs and
kernel/cpufreq.c, it seems there should be any problem?Is it true?
OTH, I trying it on a P4 HT, and it works, changes in the frequency of one of the "cpu's", changes both.
That makes sense, since the CPU only has one clock.
Quoted 3 lines
What happens in the case of several real cpu's? Does it keep the same frequency for every cpu? According to a comment in
cpufreq.c, it seems that each cpu might have different frequencies.
AFAIK no SMP systems have voltage/frequency scaling (SpeedStep/PowerNow). I've heard that ACPI P-states works on SMP, but if it's not doing voltage/frequency scaling then I don't know what it's doing.
Wes Felter - [email protected] - http://felter.org/wesley/
Quoted 3 lines · Wes Felter
AFAIK no SMP systems have voltage/frequency scaling (SpeedStep/PowerNow). I've heard that ACPI P-states works on SMP, but if it's not doing voltage/frequency scaling then I don't know what it's doing.
I've got an ABit VP6 (VIA686, dual P3), and the processors speed and voltage can be set in the BIOS. Does it count ?
Xav
Quoted 7 lines · Xavier Bestel
Quoted 3 lines · Wes Felter
AFAIK no SMP systems have voltage/frequency scaling (SpeedStep/PowerNow). I've heard that ACPI P-states works on SMP, but if it's not doing voltage/frequency scaling then I don't know what it's doing.
I've got an ABit VP6 (VIA686, dual P3), and the processors speed and voltage can be set in the BIOS. Does it count ?
I meant dynamic voltage/frequency scaling, so that doesn't count.
Wes Felter - [email protected] - http://felter.org/wesley/
Hi!
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
AFAIK no SMP systems have voltage/frequency scaling (SpeedStep/PowerNow). I've heard that ACPI P-states works on SMP, but if it's not doing voltage/frequency scaling then I don't know what it's doing.
I've got an ABit VP6 (VIA686, dual P3), and the processors speed and voltage can be set in the BIOS. Does it count ?
I meant dynamic voltage/frequency scaling, so that doesn't count.
If his bios can change voltage/frequency, kernel can probably do the same. So his hardware probably can be supported by cpufreq.
Pavel
Signature · 2 lines
When do you have a heart between your knees? [Johanka's followup: and *two* hearts?]
Quoted 6 lines · Pavel Machek
Hi!
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
AFAIK no SMP systems have voltage/frequency scaling (SpeedStep/PowerNow). I've heard that ACPI P-states works on SMP, but if it's not doing voltage/frequency scaling then I don't know what it's doing.
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
I've got an ABit VP6 (VIA686, dual P3), and the processors speed and voltage can be set in the BIOS. Does it count ?
I meant dynamic voltage/frequency scaling, so that doesn't count.
If his bios can change voltage/frequency, kernel can probably do the same. So his hardware probably can be supported by cpufreq.
The cpufreq core supports SMP. But only a few SMP capable CPUs offer cpu frequency and/or voltage scaling. Those who do (e.g. P4/Xeon, UltraSparc variants, and some ARM processors, IIRC) are well supported by cpufreq.
Dominik