* Re: [Question] AMD opteron can support CPUfreq by per core ?
[not found] ` <804dabb00810302006x7d59474bg27b716ffadf4515a@mail.gmail.com>
@ 2008-10-31 4:08 ` MinChan Kim
2008-10-31 4:10 ` Peter Teoh
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: MinChan Kim @ 2008-10-31 4:08 UTC (permalink / raw)
To: Peter Teoh; +Cc: Kernelnewbies, linux-pm
On Fri, Oct 31, 2008 at 12:06 PM, Peter Teoh <htmldeveloper@gmail.com> wrote:
> check this out:
>
> http://osdir.com/ml/kernel.cpufreq/2004-07/msg00012.html
>
> from the reply, since the power management flag is at the per-core
> level (check /proc/cpuinfo), all control can be done at the per-core
> level, hard-ware wise. (not sure of Linux Kernel itself)
>
> But at least 4 flags must be present (read above email): ts, ttp, fid, vid.
Thanks, but I don't have any AMD opteron machine. My question is for
buying test machine of AMD opteron or somethings. :)
>
> --
> Regards,
> Peter Teoh
>
--
Kinds regards,
MinChan Kim
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [Question] AMD opteron can support CPUfreq by per core ?
[not found] ` <804dabb00810302006x7d59474bg27b716ffadf4515a@mail.gmail.com>
2008-10-31 4:08 ` MinChan Kim
@ 2008-10-31 4:10 ` Peter Teoh
2008-10-31 17:16 ` Simon Arlott
2008-11-03 14:10 ` Henrik Austad
3 siblings, 0 replies; 6+ messages in thread
From: Peter Teoh @ 2008-10-31 4:10 UTC (permalink / raw)
To: MinChan Kim; +Cc: Kernelnewbies, linux-pm
and check this out:
http://ubuntuforums.org/archive/index.php/t-80494.html
in-depth steps for setting up cpufreq for one processor, which i
supposed can be extended for multicore?
On Fri, Oct 31, 2008 at 11:06 AM, Peter Teoh <htmldeveloper@gmail.com> wrote:
> check this out:
>
> http://osdir.com/ml/kernel.cpufreq/2004-07/msg00012.html
>
> from the reply, since the power management flag is at the per-core
> level (check /proc/cpuinfo), all control can be done at the per-core
> level, hard-ware wise. (not sure of Linux Kernel itself)
>
> But at least 4 flags must be present (read above email): ts, ttp, fid, vid.
>
> I must also say this is the first time I am aware of these flags too :-).
>
> On Thu, Oct 30, 2008 at 2:06 PM, MinChan Kim <minchan.kim@gmail.com> wrote:
>> Hi, all,
>>
>> I want to test CPUfreq function in AMD opteron quad-core series.
>> But I am not sure linux in now can support CPUfreq for ADM opteron by per core ?
>> What I mean is not controling to put together 2 core by one package
>> but control by per core.
>> After all, I want to control all 4 cpu separetely.
>>
>> Is is possible? If it is possible, What kinds of model can support ?
>>
>> --
>> Kinds regards,
>> MinChan Kim
>>
>> --
>> To unsubscribe from this list: send an email with
>> "unsubscribe kernelnewbies" to ecartis@nl.linux.org
>> Please read the FAQ at http://kernelnewbies.org/FAQ
>>
>>
>
>
>
> --
> Regards,
> Peter Teoh
>
--
Regards,
Peter Teoh
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [Question] AMD opteron can support CPUfreq by per core ?
[not found] ` <804dabb00810302006x7d59474bg27b716ffadf4515a@mail.gmail.com>
2008-10-31 4:08 ` MinChan Kim
2008-10-31 4:10 ` Peter Teoh
@ 2008-10-31 17:16 ` Simon Arlott
2008-11-03 14:10 ` Henrik Austad
3 siblings, 0 replies; 6+ messages in thread
From: Simon Arlott @ 2008-10-31 17:16 UTC (permalink / raw)
To: Peter Teoh; +Cc: Kernelnewbies, linux-pm
> On Thu, Oct 30, 2008 at 2:06 PM, MinChan Kim <minchan.kim@gmail.com> wrote:
>> Hi, all,
>>
>> I want to test CPUfreq function in AMD opteron quad-core series.
>> But I am not sure linux in now can support CPUfreq for ADM opteron by per core ?
>> What I mean is not controling to put together 2 core by one package
>> but control by per core.
>> After all, I want to control all 4 cpu separetely.
>>
>> Is is possible? If it is possible, What kinds of model can support ?
All Quad-Core AMD Opterons support using a separate CPU frequency per core.
All four cores are all independent, but afaik you'll only get a reduction in
voltage based on the highest speed of all four cores.
You may want to ensure you get a motherboard with DDPM so the CPU and memory
controller power is independent. http://www.tyan.com/tech/ddpm.aspx
Make sure you use a recent kernel which handles C1E properly.
On 31/10/08 03:06, Peter Teoh wrote:
> check this out:
>
> http://osdir.com/ml/kernel.cpufreq/2004-07/msg00012.html
>
> from the reply, since the power management flag is at the per-core
> level (check /proc/cpuinfo), all control can be done at the per-core
> level, hard-ware wise. (not sure of Linux Kernel itself)
>
> But at least 4 flags must be present (read above email): ts, ttp, fid, vid.
>
> I must also say this is the first time I am aware of these flags too :-).
Don't top post.
I've never heard of these flags - that email is from 2004.
model name : Quad-Core AMD Opteron(tm) Processor 2354
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good pni monitor cx16 lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs
[ 5.569030] powernow-k8: 0 : pstate 0 (2200 MHz)
[ 5.569136] powernow-k8: 1 : pstate 1 (2000 MHz)
[ 5.569233] powernow-k8: 2 : pstate 2 (1700 MHz)
[ 5.569330] powernow-k8: 3 : pstate 3 (1400 MHz)
[ 5.569434] powernow-k8: 4 : pstate 4 (1100 MHz)
--
Simon Arlott
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [Question] AMD opteron can support CPUfreq by per core ?
[not found] ` <804dabb00810302006x7d59474bg27b716ffadf4515a@mail.gmail.com>
` (2 preceding siblings ...)
2008-10-31 17:16 ` Simon Arlott
@ 2008-11-03 14:10 ` Henrik Austad
3 siblings, 0 replies; 6+ messages in thread
From: Henrik Austad @ 2008-11-03 14:10 UTC (permalink / raw)
To: kernelnewbies; +Cc: linux-pm, Peter Teoh
[-- Attachment #1.1: Type: text/plain, Size: 1828 bytes --]
On Friday 31 October 2008 04:06:44 Peter Teoh wrote:
> check this out:
>
> http://osdir.com/ml/kernel.cpufreq/2004-07/msg00012.html
>
> from the reply, since the power management flag is at the per-core
> level (check /proc/cpuinfo), all control can be done at the per-core
> level, hard-ware wise. (not sure of Linux Kernel itself)
This is for intel core2duo, not amd, but to address if the kernel will scale
pr core or pr. chip.
On my machine running 2.6.27.7 (standard ubuntu intrepid kernel), it will
scale the to cores separatedly:
*snip*
model name : Intel(R) Core(TM)2 CPU 4300 @ 1.80GHz
*snip*
[ 15:01 ] henrikau@icarus:~ $ cat /proc/cpuinfo | grep "cpu MHz"
cpu MHz : 1200.000
cpu MHz : 1800.000
So, the kernel is capable of scaling each core individually.
> But at least 4 flags must be present (read above email): ts, ttp, fid,
> vid.
Is this the powernow-technology?
>
> I must also say this is the first time I am aware of these flags too :-).
>
> On Thu, Oct 30, 2008 at 2:06 PM, MinChan Kim <minchan.kim@gmail.com> wrote:
> > Hi, all,
> >
> > I want to test CPUfreq function in AMD opteron quad-core series.
> > But I am not sure linux in now can support CPUfreq for ADM opteron by per
> > core ? What I mean is not controling to put together 2 core by one
> > package but control by per core.
> > After all, I want to control all 4 cpu separetely.
> >
> > Is is possible? If it is possible, What kinds of model can support ?
> >
> > --
> > Kinds regards,
> > MinChan Kim
> >
> > --
> > To unsubscribe from this list: send an email with
> > "unsubscribe kernelnewbies" to ecartis@nl.linux.org
> > Please read the FAQ at http://kernelnewbies.org/FAQ
--
med Vennlig Hilsen - Yours Sincerely
Henrik Austad
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread