Re: [Lubuntu-desktop] lubuntu cpu scaling....

2010-06-25 Thread Phillip Whiteside
Hi Adam,

I've had a stab at putting the frequency scaling information together over
at http://forum.phillw.net/viewtopic.php?f=18&t=104 please let myself or Bob
know any alterations that need making. For a discussion with someone who has
a dual core, Bob can probably help the best as my laptop is the proud owner
of a single Intel Celeron M 440. He also has moderator priveleges on the
baby forum so any discussions you both have he can put on without needing me
;-) It is his thread :-D

Once they're settled and ready I can check with the development team and get
them onto the Wiki area. I'm sure you know that getting documentation
together does require that we do it, the team is very small.

Thanking you in advance for helping lubuntu,

Phill.

P.S. to everyone, if you have comments to add or if you have any "How To's"
please let me know, I'd be really happy to hear from you.

On Tue, Jun 22, 2010 at 6:53 PM, Adam Smith  wrote:

> Okay so you might notice that your nice dual core laptop is cooking your
> lap or overheating while it's sitting there doing nothing. CPU Scaling
> lowers both energy consumption and temperature. first
>
> sudo aptitude install cpufreqd cpufrequtils
>
> then run cpufreq-info and find your ranges your cpu or cores can do like
> so:
>
>
> ---
> rabidwee...@redqueen:~/sarai_conky$ cpufreq-info
> cpufrequtils 006: cpufreq-info (C) Dominik Brodowski 2004-2009
> Report errors and bugs to cpuf...@vger.kernel.org, please.
> analyzing CPU 0:
>   driver: powernow-k8
>   CPUs which run at the same hardware frequency: 0
>   CPUs which need to have their frequency coordinated by software: 0
>   maximum transition latency: 1000 ns.
>   hardware limits: 1000 MHz - 2.00 GHz
>   available frequency steps: 2.00 GHz, 1000 MHz
>   available cpufreq governors: conservative, ondemand, userspace,
> powersave, performance
>   current policy: frequency should be within 1000 MHz and 2.00 GHz.
>   The governor "ondemand" may decide which speed to use
>   within this range.
>   current CPU frequency is 1000 MHz.
>   cpufreq stats: 2.00 GHz:39.87%, 1000 MHz:60.13%  (11821)
> analyzing CPU 1:
>   driver: powernow-k8
>   CPUs which run at the same hardware frequency: 1
>   CPUs which need to have their frequency coordinated by software: 1
>   maximum transition latency: 1000 ns.
>   hardware limits: 1000 MHz - 2.00 GHz <-- [** RANGE YOU CAN DO **]
>   available frequency steps: 2.00 GHz, 1000 MHz
>   available cpufreq governors: conservative, ondemand, userspace,
> powersave, performance
>   current policy: frequency should be within 1000 MHz and 2.00 GHz.
>   The governor "ondemand" may decide which speed to use
>   within this range.
>   current CPU frequency is 1000 MHz.
>   cpufreq stats: 2.00 GHz:39.46%, 1000 MHz:60.54%  (7643)
> ---
>
> Now on my CPU it looks like I can only go 50% down.
>
> Edit /etc/cpufreqd.conf (with sudo privs)
>
> here's mine... basically change the performance modes to be the proper
> range and set to ondemand so it instantly gives you full power only when you
> need it.
>
> -
>
> # this is a comment
> # see CPUFREQD.CONF(5) manpage for a complete reference
> #
> # Note: ondemand/conservative Profiles are disabled because
> #   they are not available on many platforms.
>
> [General]
> pidfile=/var/run/cpufreqd.pid
> poll_interval=2
> verbosity=4
> #enable_remote=1
> #remote_group=root
> [/General]
>
> #[acpi]
> #acpid_socket=/var/run/acpid.socket
> #[/acpi]
>
> #[nforce2_atxp1]
> #vcore_path=/some/path
> #vcore_default=1500
> #[/nforce2_atxp1]
>
> #[sensors_plugin]
> #sensors_conf=/some/file
> #[/sensors_plugin]
>
> #[Profile]
> #name=On Demand High
> #minfreq=40%
> #maxfreq=100%
> #policy=ondemand
> #[/Profile]
> #
> #[Profile]
> #name=On Demand Low
> #minfreq=20%
> #maxfreq=80%
> #policy=ondemand
> #[/Profile]
>
> [Profile]
> name=Performance High
> minfreq=50%
> maxfreq=100%
> policy=ondemand
> #exec_post=echo 8 > /proc/acpi/sony/brightness
> [/Profile]
>
> [Profile]
> name=Performance Low
> minfreq=50%
> maxfreq=100%
> policy=ondemand
> [/Profile]
>
> [Profile]
> name=Powersave High
> minfreq=60%
> maxfreq=60%
> policy=powersave
> [/Profile]
>
> [Profile]
> name=Powersave Low
> minfreq=40%
> maxfreq=40%
> policy=powersave
> [/Profile]
>
> #[Profile]
> #name=Conservative High
> #minfreq=33%
> #maxfreq=100%
> #policy=conservative
> #[/Profile]
> #
> #[Profile]
> #name=Conservative Low
> #minfreq=0%
> #maxfreq=66%
> #policy=conservative
> #[/Profile]
>
> ##
> # Basic states
> ##
> # when AC use performance mode
> [Rule]
> name=AC Rule
> ac=on# (on/off)
> profile=Performance High
> [/Rule]
>
> # stay in performance mode for the first minutes
> [Rule]
> name=AC Off - High Power
> ac=off   # (on/off)
> battery_interval=70-100
> #exec_post=echo 5 > /proc/acpi/sony/brightness
> profile=Per

Re: [Lubuntu-desktop] lubuntu cpu scaling....

2010-06-22 Thread Phillip Whiteside
hi Steve,

you can edit here http://pastebin.com/fqZyA04Z or if you have signed up for
the C-o-C I will gladly give you mod privaleges on the baby forum. I do
recall you saying we need to increase the number of screens for the cube to
work? Oh, and I got ragged over doing 'sudo reboot' Linux does not need such
things for alterations of the system, Gee, they are strict ;-)

Thanks,

Phill.



On Tue, Jun 22, 2010 at 10:18 PM, Yorvyk wrote:

> On Tue, 22 Jun 2010 21:12:41 +0100
> Phillip Whiteside  wrote:
>
> > Hi good people, those with such machines,
> >
>
> >
> > I'd also appreciate the solution to
> > http://forum.phillw.net/viewtopic.php?f=18&t=101 which was mentioned on
> the
> > mailing list, but told that it needs more (That solution was from a dev,
> so
> > it needs making into what we mere humans would understand).
> >
> sudo apt-get install compiz
> sudo reboot
>
> --
> Steve Cook (Yorvyk)
>
> http://lubuntu.net
>
> ___
> Mailing list: https://launchpad.net/~lubuntu-desktop
> Post to : lubuntu-desktop@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~lubuntu-desktop
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~lubuntu-desktop
Post to : lubuntu-desktop@lists.launchpad.net
Unsubscribe : https://launchpad.net/~lubuntu-desktop
More help   : https://help.launchpad.net/ListHelp


Re: [Lubuntu-desktop] lubuntu cpu scaling....

2010-06-22 Thread Phillip Whiteside
Hi Bob,

I don't have a dual core, can you have a look through the instructions, feel
free to post it up as "Dual Core work in progress" on the baby area and
leave a note on it to say you're still working on it. As I do not have dual
core, I can not give any input at all. I'm sure Adam will be happy to chat
with you over it.


Cheers,

Phill.

On Tue, Jun 22, 2010 at 9:49 PM, Bob Trevithick wrote:

> Well, with my old AMD 3800+ X2, I have three steps: 1G, 1.8G and 2G.
> I got a very similar output to the OP's when I installed cpufreqd:
>
>  current CPU frequency is 1000 MHz.
>   cpufreq stats: 2.00 GHz:6.49%, 1.80 GHz:0.40%, 1000 MHz:93.11%  (394)
>
> I tried setting it to "performance" and got the expected 2G all the
> time.  It appears to default to "ondemand" which is, I think, the best
> default in general.
>
> Without cpufreqd installed, everything indicates that I'm running at
> 1G almost all the time, which is what I would expect.  It will only
> kick in the warp engines when there's a real need to do so.
>
> Having said that, I'm not sure I see any problem.  It seems to be
> handling my AMD in just the way I prefer, and allows me to modify it.
>
> If there's something specific I should try to help test this, let me know.
>
> Regards,
> Bob
>
> ___
> Mailing list: https://launchpad.net/~lubuntu-desktop
> Post to : lubuntu-desktop@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~lubuntu-desktop
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~lubuntu-desktop
Post to : lubuntu-desktop@lists.launchpad.net
Unsubscribe : https://launchpad.net/~lubuntu-desktop
More help   : https://help.launchpad.net/ListHelp


Re: [Lubuntu-desktop] lubuntu cpu scaling....

2010-06-22 Thread Yorvyk
On Tue, 22 Jun 2010 21:12:41 +0100
Phillip Whiteside  wrote:

> Hi good people, those with such machines,
> 

> 
> I'd also appreciate the solution to
> http://forum.phillw.net/viewtopic.php?f=18&t=101 which was mentioned on the
> mailing list, but told that it needs more (That solution was from a dev, so
> it needs making into what we mere humans would understand).
>
sudo apt-get install compiz
sudo reboot

-- 
Steve Cook (Yorvyk)

http://lubuntu.net 

___
Mailing list: https://launchpad.net/~lubuntu-desktop
Post to : lubuntu-desktop@lists.launchpad.net
Unsubscribe : https://launchpad.net/~lubuntu-desktop
More help   : https://help.launchpad.net/ListHelp


Re: [Lubuntu-desktop] lubuntu cpu scaling....

2010-06-22 Thread Bob Trevithick
Well, with my old AMD 3800+ X2, I have three steps: 1G, 1.8G and 2G.
I got a very similar output to the OP's when I installed cpufreqd:

  current CPU frequency is 1000 MHz.
  cpufreq stats: 2.00 GHz:6.49%, 1.80 GHz:0.40%, 1000 MHz:93.11%  (394)

I tried setting it to "performance" and got the expected 2G all the
time.  It appears to default to "ondemand" which is, I think, the best
default in general.

Without cpufreqd installed, everything indicates that I'm running at
1G almost all the time, which is what I would expect.  It will only
kick in the warp engines when there's a real need to do so.

Having said that, I'm not sure I see any problem.  It seems to be
handling my AMD in just the way I prefer, and allows me to modify it.

If there's something specific I should try to help test this, let me know.

Regards,
Bob

___
Mailing list: https://launchpad.net/~lubuntu-desktop
Post to : lubuntu-desktop@lists.launchpad.net
Unsubscribe : https://launchpad.net/~lubuntu-desktop
More help   : https://help.launchpad.net/ListHelp


Re: [Lubuntu-desktop] lubuntu cpu scaling....

2010-06-22 Thread Phillip Whiteside
Hi good people, those with such machines,

(yeah, Bob, i'm thinking of you)

Would you have a 'play' with this and see how you get on. i know it is not
lubuntu base system stuff, but the 'advanced' and 'expert' areas are still
completely empty. If the team would rather them be on the 'un-official'
How-To's over at http://forum.phillw.net/viewforum.php?f=18 I'm more than
happy to pop it on there with the usual warning "Not Supported"
Whilst I do not want the devs distracted from important things, "children
will play" and some of us wish to expand on the base install.

I'd also appreciate the solution to
http://forum.phillw.net/viewtopic.php?f=18&t=101 which was mentioned on the
mailing list, but told that it needs more (That solution was from a dev, so
it needs making into what we mere humans would understand). If anyone wants
access to any "How To's" over on
http://forum.phillw.net/viewforum.php?f=18 that
are either in preparation for transfer to the wiki area or should just
remain on that area you can contact me. Any person who has signed up for
C-o-C on launchpad is automatically given moderator rights on that area so
as to able to edit anything, just as we have with the lubuntu wiki pages.

I'm sorry I've not been about as much of late, I'm getting the finer points
of accessibilty for a site sorted out, expect me to back nagging about ocra
and lubuntu :-)

Regards,

Phill.

On Tue, Jun 22, 2010 at 6:53 PM, Adam Smith  wrote:

> Okay so you might notice that your nice dual core laptop is cooking your
> lap or overheating while it's sitting there doing nothing. CPU Scaling
> lowers both energy consumption and temperature. first
>
> sudo aptitude install cpufreqd cpufrequtils
>
> then run cpufreq-info and find your ranges your cpu or cores can do like
> so:
>
>
> ---
> rabidwee...@redqueen:~/sarai_conky$ cpufreq-info
> cpufrequtils 006: cpufreq-info (C) Dominik Brodowski 2004-2009
> Report errors and bugs to cpuf...@vger.kernel.org, please.
> analyzing CPU 0:
>   driver: powernow-k8
>   CPUs which run at the same hardware frequency: 0
>   CPUs which need to have their frequency coordinated by software: 0
>   maximum transition latency: 1000 ns.
>   hardware limits: 1000 MHz - 2.00 GHz
>   available frequency steps: 2.00 GHz, 1000 MHz
>   available cpufreq governors: conservative, ondemand, userspace,
> powersave, performance
>   current policy: frequency should be within 1000 MHz and 2.00 GHz.
>   The governor "ondemand" may decide which speed to use
>   within this range.
>   current CPU frequency is 1000 MHz.
>   cpufreq stats: 2.00 GHz:39.87%, 1000 MHz:60.13%  (11821)
> analyzing CPU 1:
>   driver: powernow-k8
>   CPUs which run at the same hardware frequency: 1
>   CPUs which need to have their frequency coordinated by software: 1
>   maximum transition latency: 1000 ns.
>   hardware limits: 1000 MHz - 2.00 GHz <-- [** RANGE YOU CAN DO **]
>   available frequency steps: 2.00 GHz, 1000 MHz
>   available cpufreq governors: conservative, ondemand, userspace,
> powersave, performance
>   current policy: frequency should be within 1000 MHz and 2.00 GHz.
>   The governor "ondemand" may decide which speed to use
>   within this range.
>   current CPU frequency is 1000 MHz.
>   cpufreq stats: 2.00 GHz:39.46%, 1000 MHz:60.54%  (7643)
> ---
>
> Now on my CPU it looks like I can only go 50% down.
>
> Edit /etc/cpufreqd.conf (with sudo privs)
>
> here's mine... basically change the performance modes to be the proper
> range and set to ondemand so it instantly gives you full power only when you
> need it.
>
> -
>
> # this is a comment
> # see CPUFREQD.CONF(5) manpage for a complete reference
> #
> # Note: ondemand/conservative Profiles are disabled because
> #   they are not available on many platforms.
>
> [General]
> pidfile=/var/run/cpufreqd.pid
> poll_interval=2
> verbosity=4
> #enable_remote=1
> #remote_group=root
> [/General]
>
> #[acpi]
> #acpid_socket=/var/run/acpid.socket
> #[/acpi]
>
> #[nforce2_atxp1]
> #vcore_path=/some/path
> #vcore_default=1500
> #[/nforce2_atxp1]
>
> #[sensors_plugin]
> #sensors_conf=/some/file
> #[/sensors_plugin]
>
> #[Profile]
> #name=On Demand High
> #minfreq=40%
> #maxfreq=100%
> #policy=ondemand
> #[/Profile]
> #
> #[Profile]
> #name=On Demand Low
> #minfreq=20%
> #maxfreq=80%
> #policy=ondemand
> #[/Profile]
>
> [Profile]
> name=Performance High
> minfreq=50%
> maxfreq=100%
> policy=ondemand
> #exec_post=echo 8 > /proc/acpi/sony/brightness
> [/Profile]
>
> [Profile]
> name=Performance Low
> minfreq=50%
> maxfreq=100%
> policy=ondemand
> [/Profile]
>
> [Profile]
> name=Powersave High
> minfreq=60%
> maxfreq=60%
> policy=powersave
> [/Profile]
>
> [Profile]
> name=Powersave Low
> minfreq=40%
> maxfreq=40%
> policy=powersave
> [/Profile]
>
> #[Profile]
> #name=Conservative High
> #minfreq=33%
> #maxfreq=100%
> #policy=