CPU Freq Control
-
- Ronin
- Posts: 2
- Joined: 29 Mar 2013, 17:16
- Distribution: porteus-xfce-v2-x86_64
- Location: USA
CPU Freq Control
Newbie to Porteus- Long time user of linux (10+ years) RedHat during early years, then Ubuntu then many flavors of Puppy. Looking for 64 bit memory resident distros. I use Ubuntu64 12.04 desktop. Puppy Precise 5.5 Puppy Slacko 5.5 32 bit versions. Now to the issue!!
In everyone of those distros, but well after the original redhat distros, there is a GUI interfaced cpufrequtils that works fine. The Puppies just bring up the cpufrequtils from the desktop gui and select k8now and parameters and it works. (Ubuntu 64 is automatic installed)
I won't be able to test Porteus until I can quiet down (throttle) the cpu. The is an Asustek 16gig ram mb, amd 6000 (3Ghz) Athlon II processor K8NOW! I am unable to locate cpufrequtils in the porteus archive and the SLAX internet search revealed a non gui package??? After install I found three programs in /usr/bin and clicked on each to execute and no joy. Initiated in terminal with parameters, but still no joy. Any advice on repositories tha may have a functioning gui cpufrequtils like the other distros.
I've built some great 32 bit PAE puppy distros with Slacko 14 packages. Any advice would be appreiated.
Thanks,
Shocker
In everyone of those distros, but well after the original redhat distros, there is a GUI interfaced cpufrequtils that works fine. The Puppies just bring up the cpufrequtils from the desktop gui and select k8now and parameters and it works. (Ubuntu 64 is automatic installed)
I won't be able to test Porteus until I can quiet down (throttle) the cpu. The is an Asustek 16gig ram mb, amd 6000 (3Ghz) Athlon II processor K8NOW! I am unable to locate cpufrequtils in the porteus archive and the SLAX internet search revealed a non gui package??? After install I found three programs in /usr/bin and clicked on each to execute and no joy. Initiated in terminal with parameters, but still no joy. Any advice on repositories tha may have a functioning gui cpufrequtils like the other distros.
I've built some great 32 bit PAE puppy distros with Slacko 14 packages. Any advice would be appreiated.
Thanks,
Shocker
-
- Ronin
- Posts: 2
- Joined: 29 Mar 2013, 17:16
- Distribution: porteus-xfce-v2-x86_64
- Location: USA
Re: CPU Freq Control
Hamza--Thanks for the quick reply.
Downloaded the xzm module and it gave me a congratulations on a successful install!
Do these modules work like RPM, PET and other self executing packages?
Was this supposed to install a menu item with and icon and a GUI type interface?
Thanks for your help!
Shocker
Downloaded the xzm module and it gave me a congratulations on a successful install!
Do these modules work like RPM, PET and other self executing packages?
Was this supposed to install a menu item with and icon and a GUI type interface?
Thanks for your help!
Shocker
Re: CPU Freq Control
I don't know how works RPM but XZM are simply an archive of files compressed with XZ algorithm and mounted on root filesystem when activated.
You can either double-click on the XZM module to activate it and copy it over your modules for future automatically activation at next boot.
You can also run the command 'activate /path/to/module.xzm' in terminal to activate it and you will also to copy it over modules for the same reason.
I don't know if there is a GUI available for that package.
You can either double-click on the XZM module to activate it and copy it over your modules for future automatically activation at next boot.
You can also run the command 'activate /path/to/module.xzm' in terminal to activate it and you will also to copy it over modules for the same reason.
I don't know if there is a GUI available for that package.
NjVFQzY2Rg==
- ncmprhnsbl
- DEV Team
- Posts: 3753
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Re: CPU Freq Control
tested this module, worked for my athlon 260 cpu, and no, there is no gui.
this cpu was using powernowk8(depreciated since 3.2 kernel), now it uses acpi-cpufreq.
commands:
each core seems to need to be set individually
i imagine there is a way to simply load cpufreq_ondemand(kernel module) at boot time...
i messed with the laptop-mode configs, but this didnt work..
this cpu was using powernowk8(depreciated since 3.2 kernel), now it uses acpi-cpufreq.
commands:
Code: Select all
cpufreq-set -c 1 -g ondemand
cpufreq-set -c 0 -g ondemand
Code: Select all
guest@porteus:~$ cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 4.0 us.
hardware limits: 800 MHz - 3.20 GHz
available frequency steps: 3.20 GHz, 2.50 GHz, 1.90 GHz, 800 MHz
available cpufreq governors: ondemand, performance
current policy: frequency should be within 800 MHz and 3.20 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency is 800 MHz.
i messed with the laptop-mode configs, but this didnt work..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
-
- Black ninja
- Posts: 88
- Joined: 01 Mar 2013, 19:16
- Distribution: Porteus 3.2 32 bit XFCE
- Location: Duisburg, Germany
Re: CPU Freq Control
Here's how I did it:
Add the module cpufrequtils-008-x86_64-1.xzm to /porteus/modules
In /etc/rc.d/rclocal insert the following lines:
modprobe cpufreq_ondemand
cpufreq-set -c 0 -g ondemand
cpufreq-set -c 1 -g ondemand
test with cpufreq-info
greetings Payoon
Add the module cpufrequtils-008-x86_64-1.xzm to /porteus/modules
In /etc/rc.d/rclocal insert the following lines:
modprobe cpufreq_ondemand
cpufreq-set -c 0 -g ondemand
cpufreq-set -c 1 -g ondemand
test with cpufreq-info
greetings Payoon
- ncmprhnsbl
- DEV Team
- Posts: 3753
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Re: CPU Freq Control
@Payoon, thanks!, works perfectly.. 

Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
Re: CPU Freq Control
I just tried this on Porteus 2.1 Mate, and I got a message that it is not a valid Porteus module.
- ncmprhnsbl
- DEV Team
- Posts: 3753
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Re: CPU Freq Control
i'd say this is for Porteus 2.0 only, when i tried to activate in lxde i get no message at all(doesnt activate)(havent had this happen before)dochood wrote:I just tried this on Porteus 2.1 Mate, and I got a message that it is not a valid Porteus module.
in 2.1 frequency scaling govenor is set to ondemand by default, which suits me fine..
(i'm guessing)if you want to change this have a look at /etc/laptop-mode/conf.d/cpufreq line 58
Code: Select all
NOLM_AC_CPU_GOVERNOR=ondemand
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44