public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Question about cpufreq governors
@ 2007-07-06 20:50 DervishD
  2007-07-06 21:54 ` Jan Engelhardt
  0 siblings, 1 reply; 5+ messages in thread
From: DervishD @ 2007-07-06 20:50 UTC (permalink / raw)
  To: Linux-kernel

    Hi all :)

    I have an AMD Athlon64, and according to "powernow-k8", it has to
fid's, for 1000MHz and 1800MHz. I don't know if this is correct or if I
should enable ACPI to have more fid's, but my question is not about
this.

    What I want to know is if I can choose "ondemand" governor instead
of the recommended for AMD64, namely the "conservative" governor, since
I will be switching between those two frequencies. I haven't found any
information about my CPU regarding latency when switching between
frequencies, so I don't know if I will be gaining anything using the
"conservative" governor.

    Which governor is better suited for a CPU with only two fid's,
"ondemand" or "conservative"?

    Thanks a lot in advance :)

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736 | http://www.dervishd.net
It's my PC and I'll cry if I want to... RAmen!

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

* Re: Question about cpufreq governors
  2007-07-06 20:50 Question about cpufreq governors DervishD
@ 2007-07-06 21:54 ` Jan Engelhardt
  2007-07-06 22:50   ` Arjan van de Ven
  2007-07-07 10:04   ` DervishD
  0 siblings, 2 replies; 5+ messages in thread
From: Jan Engelhardt @ 2007-07-06 21:54 UTC (permalink / raw)
  To: DervishD; +Cc: Linux-kernel


On Jul 6 2007 22:50, DervishD wrote:
>
>    What I want to know is if I can choose "ondemand" governor instead
>of the recommended for AMD64, namely the "conservative" governor, since
>I will be switching between those two frequencies. I haven't found any
>information about my CPU regarding latency when switching between
>frequencies, so I don't know if I will be gaining anything using the
>"conservative" governor.
>
>    Which governor is better suited for a CPU with only two fid's,
>"ondemand" or "conservative"?

Depends on what you want. ondemand instantly switches when there is
something/nothing to do, while conservative uses a threshold (modeled upon
latency).


	Jan
-- 

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

* Re: Question about cpufreq governors
  2007-07-06 21:54 ` Jan Engelhardt
@ 2007-07-06 22:50   ` Arjan van de Ven
  2007-07-07 10:06     ` DervishD
  2007-07-07 10:04   ` DervishD
  1 sibling, 1 reply; 5+ messages in thread
From: Arjan van de Ven @ 2007-07-06 22:50 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: DervishD, Linux-kernel

On Fri, 2007-07-06 at 23:54 +0200, Jan Engelhardt wrote:
> On Jul 6 2007 22:50, DervishD wrote:
> >
> >    What I want to know is if I can choose "ondemand" governor instead
> >of the recommended for AMD64, namely the "conservative" governor, since
> >I will be switching between those two frequencies. I haven't found any
> >information about my CPU regarding latency when switching between
> >frequencies, so I don't know if I will be gaining anything using the
> >"conservative" governor.
> >
> >    Which governor is better suited for a CPU with only two fid's,
> >"ondemand" or "conservative"?
> 
> Depends on what you want. ondemand instantly switches when there is
> something/nothing to do, while conservative uses a threshold (modeled upon
> latency).

for power saving, the ondemand behavior is better in general. However if
you have a cpu that switches frequency very slowly, you may be better to
not go as high quickly because going back down is then burning more
power than needed potentially...




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

* Re: Question about cpufreq governors
  2007-07-06 21:54 ` Jan Engelhardt
  2007-07-06 22:50   ` Arjan van de Ven
@ 2007-07-07 10:04   ` DervishD
  1 sibling, 0 replies; 5+ messages in thread
From: DervishD @ 2007-07-07 10:04 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: Linux-kernel

    Hi Jan :)

 * Jan Engelhardt <jengelh@computergmbh.de> dixit:
> On Jul 6 2007 22:50, DervishD wrote:
> >
> >    What I want to know is if I can choose "ondemand" governor instead
> >of the recommended for AMD64, namely the "conservative" governor, since
> >I will be switching between those two frequencies. I haven't found any
> >information about my CPU regarding latency when switching between
> >frequencies, so I don't know if I will be gaining anything using the
> >"conservative" governor.
> >
> >    Which governor is better suited for a CPU with only two fid's,
> >"ondemand" or "conservative"?
> 
> Depends on what you want. ondemand instantly switches when there is
> something/nothing to do, while conservative uses a threshold (modeled upon
> latency).

    Yes, I know the difference, I'm afraid I didn't ask my question
correctly O:). What I meant is that, since I don't know if my CPU has
latency problems when switching from "slow" freq to "fast" freq, if I
can use "ondemand" safely or if I must use "conservative" due to latency
problems with my CPU.

    Thanks for your answer :)

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736 | http://www.dervishd.net
It's my PC and I'll cry if I want to... RAmen!

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

* Re: Question about cpufreq governors
  2007-07-06 22:50   ` Arjan van de Ven
@ 2007-07-07 10:06     ` DervishD
  0 siblings, 0 replies; 5+ messages in thread
From: DervishD @ 2007-07-07 10:06 UTC (permalink / raw)
  To: Arjan van de Ven; +Cc: Jan Engelhardt, Linux-kernel

    Hi Arjan :)

 * Arjan van de Ven <arjan@infradead.org> dixit:
> On Fri, 2007-07-06 at 23:54 +0200, Jan Engelhardt wrote:
> > On Jul 6 2007 22:50, DervishD wrote:
> > >
> > >    What I want to know is if I can choose "ondemand" governor instead
> > >of the recommended for AMD64, namely the "conservative" governor, since
> > >I will be switching between those two frequencies. I haven't found any
> > >information about my CPU regarding latency when switching between
> > >frequencies, so I don't know if I will be gaining anything using the
> > >"conservative" governor.
> > >
> > >    Which governor is better suited for a CPU with only two fid's,
> > >"ondemand" or "conservative"?
> > 
> > Depends on what you want. ondemand instantly switches when there is
> > something/nothing to do, while conservative uses a threshold (modeled upon
> > latency).
> 
> for power saving, the ondemand behavior is better in general. However if
> you have a cpu that switches frequency very slowly, you may be better to
> not go as high quickly because going back down is then burning more
> power than needed potentially...

    That's the problem: I want to use "ondemand" but I don't know if it
will work properly with my CPU because I don't know if my CPU switches
frequency fast or slow :( I can find that information, although the
Kconfig file for cpufreq says that AMD64 has latency problems (but I can
confirm that, I'm afraid).

    Thanks for your answer :)

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736 | http://www.dervishd.net
It's my PC and I'll cry if I want to... RAmen!

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

end of thread, other threads:[~2007-07-07 10:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-06 20:50 Question about cpufreq governors DervishD
2007-07-06 21:54 ` Jan Engelhardt
2007-07-06 22:50   ` Arjan van de Ven
2007-07-07 10:06     ` DervishD
2007-07-07 10:04   ` DervishD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox