CPU Frequency Scaling Governor on Laptop - How ?

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

CPU Frequency Scaling Governor on Laptop - How ?

Carthik Sharma
Hi,

I use the "CPU Frequency Scaling Monitor 2.12.1" panel monitor on my laptop.

The above tool does not give me the ability to choose the CPU
frequency (the cpu frequency governor is not enabled).

On the Forums, I read that I have to do a
chmod a+s /usr/bin/cpufreq-selector

to get it to work.

I am wondering though if this is the right way to go about this.

Is there a conf file somewhere I should know about and edit to enable
me to change the frequency scaling using the above-mentioned monitor?

Why is the use of the Frequency governor (by the monitor) disabled by
default on Ubuntu systems? Is there a gotcha here that I don't see?


Thank you,
Carthik.
--
Ph.D. Candidate
University of Central Florida
Homepage: http://carthik.net

--
ubuntu-users mailing list
[hidden email]
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: CPU Frequency Scaling Governor on Laptop - How ?

Carthik Sharma
On 11/4/05, Carthik Sharma <[hidden email]> wrote:

> Hi,
>
> I use the "CPU Frequency Scaling Monitor 2.12.1" panel monitor on my laptop.
>
> The above tool does not give me the ability to choose the CPU
> frequency (the cpu frequency governor is not enabled).
>
> On the Forums, I read that I have to do a
> chmod a+s /usr/bin/cpufreq-selector
>
> to get it to work.
>
> I am wondering though if this is the right way to go about this.
Found:
http://bugzilla.ubuntu.com/show_bug.cgi?id=17604

Why, oh why, do things have to be so difficult on Laptops ?
I mean, I am sure there are people who use Laptops as servers and
multi-user machines and such, but for the most, i think we agree that
Laptops are single-user machines. I should think that there should be
an easier way to allow people (normal users) to use the laptop the way
they see fit.

Please consider this as a request to make it easier to use cpu
frequency scaling, and governors.

Thank you,
Carthik.


>
> Is there a conf file somewhere I should know about and edit to enable
> me to change the frequency scaling using the above-mentioned monitor?
>
> Why is the use of the Frequency governor (by the monitor) disabled by
> default on Ubuntu systems? Is there a gotcha here that I don't see?
>
>
> Thank you,
> Carthik.
> --
> Ph.D. Candidate
> University of Central Florida
> Homepage: http://carthik.net
>

--
Ph.D. Candidate
University of Central Florida
Homepage: http://carthik.net

--
ubuntu-users mailing list
[hidden email]
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: CPU Frequency Scaling Governor on Laptop - How ?

Mario Vukelic
On Fri, 2005-11-04 at 11:33 -0500, Carthik Sharma wrote:
> I should think that there should be
> an easier way to allow people (normal users) to use the laptop the way
> they see fit.

Doesn't powernowd come with the default install? If not, I recommend to
install it. Zero configuration, and does what I guess most people want.
The cpufreq-applet from the gnome-applets package works with it.


--
ubuntu-users mailing list
[hidden email]
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: CPU Frequency Scaling Governor on Laptop - How ?

Christoph Bier
In reply to this post by Carthik Sharma
Carthik Sharma schrieb am 04.11.2005 17:33:

> Found:
> http://bugzilla.ubuntu.com/show_bug.cgi?id=17604
>
> Why, oh why, do things have to be so difficult on Laptops ?
> I mean, I am sure there are people who use Laptops as servers and
> multi-user machines and such, but for the most, i think we agree that
> Laptops are single-user machines. I should think that there should be
> an easier way to allow people (normal users) to use the laptop the way
> they see fit.

I don't have any problems using frequency scaling on my laptop! But ...

> Please consider this as a request to make it easier to use cpu
> frequency scaling, and governors.

... I don't have the need to manually adjust frequency speed.
Default configuration just works fine. If not I have the possibility
to tweak it with the configuration file.

Maybe you can describe why you need to manually adjust frequency
speed. Then I guess it's easier for the developers to meet the needs
of most of the users.

Best regards,
        Christoph
--
+++ Typografie-Regeln: http://www.zvisionwelt.de/typokurz.pdf (1.4)


--
ubuntu-users mailing list
[hidden email]
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: CPU Frequency Scaling Governor on Laptop - How ?

Carthik Sharma
In reply to this post by Mario Vukelic
On 11/4/05, Mario Vukelic <[hidden email]> wrote:
> On Fri, 2005-11-04 at 11:33 -0500, Carthik Sharma wrote:
> > I should think that there should be
> > an easier way to allow people (normal users) to use the laptop the way
> > they see fit.
>
> Doesn't powernowd come with the default install? If not, I recommend to
> install it. Zero configuration, and does what I guess most people want.
> The cpufreq-applet from the gnome-applets package works with it.
>

Doesn't powernowd automatically regulate the cpu freq (aka userspace)?
I wanted to be able to set the frequency, or the governor myself.

Carthik.
>
> --
> ubuntu-users mailing list
> [hidden email]
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>


--
Ph.D. Candidate
University of Central Florida
Homepage: http://carthik.net

--
ubuntu-users mailing list
[hidden email]
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: CPU Frequency Scaling Governor on Laptop - How ?

emanuelepes
In reply to this post by Carthik Sharma

I tried to find out if powernowd works with fixed frequency but failed.

I think powernowd does not support any fixed frequency.


Ubuntu Help and User Discussions <[hidden email]> schrieb am 04.11.05 18:39:17:


On 11/4/05, Mario Vukelic <[hidden email]> wrote:
> On Fri, 2005-11-04 at 11:33 -0500, Carthik Sharma wrote:
> > I should think that there should be
> > an easier way to allow people (normal users) to use the laptop the way
> > they see fit.
>
> Doesn't powernowd come with the default install? If not, I recommend to
> install it. Zero configuration, and does what I guess most people want.
> The cpufreq-applet from the gnome-applets package works with it.
>

Doesn't ! powernowd automatically regulate the cpu freq (aka userspace)?
I wanted to be able to set the frequency, or the governor myself.

Carthik.
>
> --
> ubuntu-users mailing list
> [hidden email]
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>


--
Ph.D. Candidate
University of Central Florida
Homepage: http://carthik.net



--
ubuntu-users mailing list
[hidden email]
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users


--
ubuntu-users mailing list
[hidden email]
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: CPU Frequency Scaling Governor on Laptop - How ?

Mario Vukelic
In reply to this post by Carthik Sharma
On Fri, 2005-11-04 at 12:27 -0500, Carthik Sharma wrote:
> I wanted to be able to set the frequency, or the governor myself.

Oh, I see. Personally I would consider this a rather special need, and
think powernowd fits Ubuntu well. But for more detailed control, you
might want to remove powernowd, and look into cpudyn, cpufreqd,
cpufrequtils, cpufreqd, and cpufrequtils.
Sore, configuration is not per GUI.



--
ubuntu-users mailing list
[hidden email]
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: CPU Frequency Scaling Governor on Laptop - How ?

Dennis Kaarsemaker
In reply to this post by Carthik Sharma
On vr, 2005-11-04 at 10:12 -0500, Carthik Sharma wrote:
>
> I am wondering though if this is the right way to go about this.
>
> Is there a conf file somewhere I should know about and edit to enable
> me to change the frequency scaling using the above-mentioned monitor?
>
> Why is the use of the Frequency governor (by the monitor) disabled by
> default on Ubuntu systems? Is there a gotcha here that I don't see?

It's against Ubuntu policy to have setuid binaries by default, but a
dpkg-reconfigure gnome-applets can enable it.

I do not like both situations, so I created a package that implements my
idea specified at that report. You can use this if you want.
--
Dennis K.
  - Linux for human beings: http://www.ubuntulinux.org
  - Linux voor normale mensen: http://www.ubuntulinux.nl

--
ubuntu-users mailing list
[hidden email]
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users

signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: CPU Frequency Scaling Governor on Laptop - How ?

chrisccoulson
In reply to this post by Carthik Sharma

Thank you VERY MUCH for the chmod tweak. I have been playing with
cpudyn/cpufreqd and have gotten some pretty weird results: my CPU is a
P4-M 2.20 GHz, which has a 100MHz FSB clock and 12x/22x multiplier and
I was getting an idling speed of 1450MHz where it should have been 1200
MHz.



This works just as I need it to- scaling works when I need it to,
disable it and set to top speed when it needs to do that too. How about
making this a sticky?


--
Mizzou_Engineer

--
ubuntu-users mailing list
[hidden email]
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users