All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHSET] 0/3 A dynamic cpufreq governor
@ 2003-10-25 19:53 ` Pallipadi, Venkatesh
  0 siblings, 0 replies; 10+ messages in thread
From: Pallipadi, Venkatesh @ 2003-10-25 19:53 UTC (permalink / raw)
  To: linux-kernel, cpufreq, Linus Torvalds, akpm
  Cc: Pavel Machek, Dominik Brodowski, Nakajima, Jun


Hi,

This is the "new and improved" version of the patch  
that was sent out earlier this week. Thanks for all the 
feedback/suggestions.
(lkml subject line reference for previous thread -
"Dynamic cpufreq governor and updates to ACPI P-state driver")

The changes from the previous version:
1) dynamic cpufreq governor changes completely separated 
  from the updates to acpi P-state driver. These patches only 
  deal with dynamic cpufreq governor. Separate patch will be 
  sent out later to cover acpi updates.
2) New name for this cpufreq driver "cpufreq_ondemand"
  (Thanks to Pavel for the name)
3) Miscellaneous bugfixes and changes based on the review comments
4) And introduction of tuning knobs, where advanced user can tune
  the cpufreq_ondemand behaviour. 
  (Thanks to Dominik for helping me with this)
  Sampling_rate, down_threshold, up_threshold are currently exported.
  More advanced user who wants to change the algorithm itself, can 
  take the base infrastructure from this driver and come up with a 
  new/optimized frequency switching algorithm, as this driver is GPLed
:).

Patch contents (patches against 2.6.0-test8):
ondemand1.patch - 'unit' related bugfixes in drivers. 

ondemand2.patch - basic cpufreq_ondemand governor, with some changes 
since the last time.

ondemand3.patch - Adding sysfs interface for cpufreq_ondemand 
tunables and making sysfs access by cpufreq governors safe against 
removal of the underlying module (from Dominik). 


Thanks,
-Venkatesh


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

* [PATCHSET] 0/3 A dynamic cpufreq governor
@ 2003-10-25 19:53 ` Pallipadi, Venkatesh
  0 siblings, 0 replies; 10+ messages in thread
From: Pallipadi, Venkatesh @ 2003-10-25 19:53 UTC (permalink / raw)
  To: linux-kernel, cpufreq, Linus Torvalds, akpm
  Cc: Nakajima, Jun, Pavel Machek, Dominik Brodowski


Hi,

This is the "new and improved" version of the patch  
that was sent out earlier this week. Thanks for all the 
feedback/suggestions.
(lkml subject line reference for previous thread -
"Dynamic cpufreq governor and updates to ACPI P-state driver")

The changes from the previous version:
1) dynamic cpufreq governor changes completely separated 
  from the updates to acpi P-state driver. These patches only 
  deal with dynamic cpufreq governor. Separate patch will be 
  sent out later to cover acpi updates.
2) New name for this cpufreq driver "cpufreq_ondemand"
  (Thanks to Pavel for the name)
3) Miscellaneous bugfixes and changes based on the review comments
4) And introduction of tuning knobs, where advanced user can tune
  the cpufreq_ondemand behaviour. 
  (Thanks to Dominik for helping me with this)
  Sampling_rate, down_threshold, up_threshold are currently exported.
  More advanced user who wants to change the algorithm itself, can 
  take the base infrastructure from this driver and come up with a 
  new/optimized frequency switching algorithm, as this driver is GPLed
:).

Patch contents (patches against 2.6.0-test8):
ondemand1.patch - 'unit' related bugfixes in drivers. 

ondemand2.patch - basic cpufreq_ondemand governor, with some changes 
since the last time.

ondemand3.patch - Adding sysfs interface for cpufreq_ondemand 
tunables and making sysfs access by cpufreq governors safe against 
removal of the underlying module (from Dominik). 


Thanks,
-Venkatesh

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

* Re: [PATCHSET] 0/3 A dynamic cpufreq governor
  2003-10-25 19:53 ` Pallipadi, Venkatesh
@ 2003-10-25 20:07   ` Måns Rullgård
  -1 siblings, 0 replies; 10+ messages in thread
From: Måns Rullgård @ 2003-10-25 20:07 UTC (permalink / raw)
  To: linux-kernel; +Cc: cpufreq

"Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com> writes:

> This is the "new and improved" version of the patch  
> that was sent out earlier this week. Thanks for all the 
> feedback/suggestions.
> (lkml subject line reference for previous thread -
> "Dynamic cpufreq governor and updates to ACPI P-state driver")

Is there any way this thing can be made to work on a Pentium 4 M,
using p4-clockmod for frequency changing?

-- 
Måns Rullgård
mru@kth.se


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

* Re: [PATCHSET] 0/3 A dynamic cpufreq governor
@ 2003-10-25 20:07   ` Måns Rullgård
  0 siblings, 0 replies; 10+ messages in thread
From: Måns Rullgård @ 2003-10-25 20:07 UTC (permalink / raw)
  To: cpufreq; +Cc: linux-kernel

"Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com> writes:

> This is the "new and improved" version of the patch  
> that was sent out earlier this week. Thanks for all the 
> feedback/suggestions.
> (lkml subject line reference for previous thread -
> "Dynamic cpufreq governor and updates to ACPI P-state driver")

Is there any way this thing can be made to work on a Pentium 4 M,
using p4-clockmod for frequency changing?

-- 
Måns Rullgård
mru@kth.se

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

* Re: [PATCHSET] 0/3 A dynamic cpufreq governor
  2003-10-25 20:07   ` Måns Rullgård
  (?)
@ 2003-10-27 15:16   ` Dominik Brodowski
  2003-10-27 15:23     ` Måns Rullgård
  -1 siblings, 1 reply; 10+ messages in thread
From: Dominik Brodowski @ 2003-10-27 15:16 UTC (permalink / raw)
  To: Måns Rullgård; +Cc: cpufreq

On Sat, Oct 25, 2003 at 10:07:59PM +0200, Måns Rullgård wrote:
> "Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com> writes:
> 
> > This is the "new and improved" version of the patch  
> > that was sent out earlier this week. Thanks for all the 
> > feedback/suggestions.
> > (lkml subject line reference for previous thread -
> > "Dynamic cpufreq governor and updates to ACPI P-state driver")
> 
> Is there any way this thing can be made to work on a Pentium 4 M,
> using p4-clockmod for frequency changing?

You should prefer the speedstep-ich driver for Pentium 4 M, as long as the
southbridge on your notebook is from Intel - p4-clockmod doesn't save you
anything if either APM or ACPI "idling" works correctly.

	Dominik

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

* Re: [PATCHSET] 0/3 A dynamic cpufreq governor
  2003-10-27 15:16   ` Dominik Brodowski
@ 2003-10-27 15:23     ` Måns Rullgård
  2003-10-27 15:59       ` Ducrot Bruno
  0 siblings, 1 reply; 10+ messages in thread
From: Måns Rullgård @ 2003-10-27 15:23 UTC (permalink / raw)
  To: Dominik Brodowski; +Cc: cpufreq

Dominik Brodowski <linux@brodo.de> writes:

>> > This is the "new and improved" version of the patch  
>> > that was sent out earlier this week. Thanks for all the 
>> > feedback/suggestions.
>> > (lkml subject line reference for previous thread -
>> > "Dynamic cpufreq governor and updates to ACPI P-state driver")
>> 
>> Is there any way this thing can be made to work on a Pentium 4 M,
>> using p4-clockmod for frequency changing?
>
> You should prefer the speedstep-ich driver for Pentium 4 M, as long as the
> southbridge on your notebook is from Intel - p4-clockmod doesn't save you

The problem is my chipset is SiS 650.

> anything if either APM or ACPI "idling" works correctly.

-- 
Måns Rullgård
mru@kth.se

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

* Re: [PATCHSET] 0/3 A dynamic cpufreq governor
  2003-10-27 15:23     ` Måns Rullgård
@ 2003-10-27 15:59       ` Ducrot Bruno
  2003-10-27 16:06         ` Måns Rullgård
  0 siblings, 1 reply; 10+ messages in thread
From: Ducrot Bruno @ 2003-10-27 15:59 UTC (permalink / raw)
  To: Måns Rullgård; +Cc: cpufreq, Dominik Brodowski

On Mon, Oct 27, 2003 at 04:23:22PM +0100, Måns Rullgård wrote:
> Dominik Brodowski <linux@brodo.de> writes:
> 
> >> > This is the "new and improved" version of the patch  
> >> > that was sent out earlier this week. Thanks for all the 
> >> > feedback/suggestions.
> >> > (lkml subject line reference for previous thread -
> >> > "Dynamic cpufreq governor and updates to ACPI P-state driver")
> >> 
> >> Is there any way this thing can be made to work on a Pentium 4 M,
> >> using p4-clockmod for frequency changing?
> >
> > You should prefer the speedstep-ich driver for Pentium 4 M, as long as the
> > southbridge on your notebook is from Intel - p4-clockmod doesn't save you
> 
> The problem is my chipset is SiS 650.
> 

Does the generic acpi P-state driver work?  If not, well, nobody can't
help you, if no one work for the reverse engeenering part for SiS.
It was so long for the PIIX4 case (but probably the SiS should be a little
bit more easy like the ich case I hope).

-- 
Ducrot Bruno

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.

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

* Re: [PATCHSET] 0/3 A dynamic cpufreq governor
  2003-10-27 15:59       ` Ducrot Bruno
@ 2003-10-27 16:06         ` Måns Rullgård
  2003-10-27 16:19           ` Ducrot Bruno
  0 siblings, 1 reply; 10+ messages in thread
From: Måns Rullgård @ 2003-10-27 16:06 UTC (permalink / raw)
  To: Ducrot Bruno; +Cc: cpufreq, Dominik Brodowski

Ducrot Bruno <ducrot@poupinou.org> writes:

>> >> Is there any way this thing can be made to work on a Pentium 4 M,
>> >> using p4-clockmod for frequency changing?
>> >
>> > You should prefer the speedstep-ich driver for Pentium 4 M, as long as the
>> > southbridge on your notebook is from Intel - p4-clockmod doesn't save you
>> 
>> The problem is my chipset is SiS 650.
>> 
>
> Does the generic acpi P-state driver work?  If not, well, nobody can't

I think so, but it only gives two different speeds to choose from,
1200 MHz and 2 GHz.  p4-clockmod give me speeds from 250 MHz to 2 GHz.

-- 
Måns Rullgård
mru@kth.se

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

* Re: [PATCHSET] 0/3 A dynamic cpufreq governor
  2003-10-27 16:06         ` Måns Rullgård
@ 2003-10-27 16:19           ` Ducrot Bruno
  2003-10-27 18:37             ` Dominik Brodowski
  0 siblings, 1 reply; 10+ messages in thread
From: Ducrot Bruno @ 2003-10-27 16:19 UTC (permalink / raw)
  To: Måns Rullgård; +Cc: cpufreq, Dominik Brodowski

On Mon, Oct 27, 2003 at 05:06:31PM +0100, Måns Rullgård wrote:
> Ducrot Bruno <ducrot@poupinou.org> writes:
> 
> >> >> Is there any way this thing can be made to work on a Pentium 4 M,
> >> >> using p4-clockmod for frequency changing?
> >> >
> >> > You should prefer the speedstep-ich driver for Pentium 4 M, as long as the
> >> > southbridge on your notebook is from Intel - p4-clockmod doesn't save you
> >> 
> >> The problem is my chipset is SiS 650.
> >> 
> >
> > Does the generic acpi P-state driver work?  If not, well, nobody can't
> 
> I think so, but it only gives two different speeds to choose from,
> 1200 MHz and 2 GHz.  p4-clockmod give me speeds from 250 MHz to 2 GHz.
> 

You have then voltage scaling with the acpi driver.
From my point-of-view, this is better than the p4-clockmod,
the speedstep-ich would give you no more states (if
it can be made to work with SiS southbridges), just that the acpi driver
will be a little bit slower (it work by calling some bios functions)
than direct access to IO like speedstep-ich does.
Note that p4-clockmod do *not* regulate voltage.  From power comsuptions
like, if you are at 1200 MHz, but via the acpi driver, you would be
like at 600MHz with the p4-clockmod, and actually it may be possible
that idle loops will be more power conservative with acpi (I am not sure for
that one though).  Dominik have better words than me to explain that.

-- 
Ducrot Bruno

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.

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

* Re: [PATCHSET] 0/3 A dynamic cpufreq governor
  2003-10-27 16:19           ` Ducrot Bruno
@ 2003-10-27 18:37             ` Dominik Brodowski
  0 siblings, 0 replies; 10+ messages in thread
From: Dominik Brodowski @ 2003-10-27 18:37 UTC (permalink / raw)
  To: Ducrot Bruno; +Cc: cpufreq, Måns Rullgård

On Mon, Oct 27, 2003 at 05:19:05PM +0100, Ducrot Bruno wrote:
> On Mon, Oct 27, 2003 at 05:06:31PM +0100, Måns Rullgård wrote:
> > Ducrot Bruno <ducrot@poupinou.org> writes:
> > 
> > >> >> Is there any way this thing can be made to work on a Pentium 4 M,
> > >> >> using p4-clockmod for frequency changing?
> > >> >
> > >> > You should prefer the speedstep-ich driver for Pentium 4 M, as long as the
> > >> > southbridge on your notebook is from Intel - p4-clockmod doesn't save you
> > >> 
> > >> The problem is my chipset is SiS 650.
> > >> 
> > >
> > > Does the generic acpi P-state driver work?  If not, well, nobody can't
> > 
> > I think so, but it only gives two different speeds to choose from,
> > 1200 MHz and 2 GHz.  p4-clockmod give me speeds from 250 MHz to 2 GHz.
> > 
> 
> You have then voltage scaling with the acpi driver.
> >From my point-of-view, this is better than the p4-clockmod,
> the speedstep-ich would give you no more states (if
> it can be made to work with SiS southbridges), just that the acpi driver
> will be a little bit slower (it work by calling some bios functions)
> than direct access to IO like speedstep-ich does.
> Note that p4-clockmod do *not* regulate voltage.  From power comsuptions
> like, if you are at 1200 MHz, but via the acpi driver, you would be
> like at 600MHz with the p4-clockmod, and actually it may be possible
> that idle loops will be more power conservative with acpi (I am not sure for
> that one though).  Dominik have better words than me to explain that.

For more details and calculations, check this thread:

http://www.linux.org.uk/mailman/private/cpufreq/2003-September/002495.html


	Dominik

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

end of thread, other threads:[~2003-10-27 18:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-25 19:53 [PATCHSET] 0/3 A dynamic cpufreq governor Pallipadi, Venkatesh
2003-10-25 19:53 ` Pallipadi, Venkatesh
2003-10-25 20:07 ` Måns Rullgård
2003-10-25 20:07   ` Måns Rullgård
2003-10-27 15:16   ` Dominik Brodowski
2003-10-27 15:23     ` Måns Rullgård
2003-10-27 15:59       ` Ducrot Bruno
2003-10-27 16:06         ` Måns Rullgård
2003-10-27 16:19           ` Ducrot Bruno
2003-10-27 18:37             ` Dominik Brodowski

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.