Hi friends!
I am new in AntiX and I am very impressed about how my old HP Compaq nx6310 is performing now!
Really AntiX is a very good OS.
Congrats for your nice work friends!!!
Sorry, after the install I have a question:
The cpufreq is always showing the highest speed, like performance: 1,7 Mhz
Cpufreq Is set up out of the box ondemand?
Can you help me to change it to ondemand or something similar?
Thanks from Seville, Spain.
topic title: Cpufreq scalling
15 posts
• Page 1 of 1
-
Posts: 243
- Joined: 09 Aug 2013
-
Posts: 2,238
- Joined: 16 Dec 2007
#2
the default is to use ondemand. are you using the full edition of antix?
the command is as root :
if its not installed, you will need cpufrequtils for this to work.
the command is as root :
Code: Select all
#cpufreq-set -c 0 -g ondemand -r
-
Posts: 243
- Joined: 09 Aug 2013
#3
Is the full edition. Cpufrequtils is installed.
When I type the command nothing happens...
Hi dolphin_oracle!dolphin_oracle wrote:the default is to use ondemand. are you using the full edition of antix?
the command is as root :if its not installed, you will need cpufrequtils for this to work.Code: Select all
#cpufreq-set -c 0 -g ondemand -r
Is the full edition. Cpufrequtils is installed.
When I type the command nothing happens...
-
Posts: 2,238
- Joined: 16 Dec 2007
#4
is there any output at all? If so , please post it.
-
Posts: 243
- Joined: 09 Aug 2013
#5
No outputdolphin_oracle wrote:is there any output at all? If so , please post it.
Code: Select all
luis@antiX1:~
$ sudo cpufreq-set -c 0 -g ondemand -r
[sudo] password for luis:
luis@antiX1:~
$
-
Posts: 2,238
- Joined: 16 Dec 2007
#6
please post the output of the following
and
thanks.
d.o.
Code: Select all
$cpufreq-info
Code: Select all
$inxi
d.o.
-
Posts: 243
- Joined: 09 Aug 2013
#7
Here are:
Code: Select all
luis@antiX1:~
$ sudo cpufreq-info
[sudo] password for luis:
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
no or unknown cpufreq driver is active on this CPU
maximum transition latency: 0.00 ms.
luis@antiX1:~
Code: Select all
$ sudo inxi
CPU~Single core Intel Celeron M CPU 430 (-UP-) clocked at 1728.984 Mhz Kernel~3.7.10-antix.3-486-smp i686 Up~4 min Mem~256.7/1000.1MB HDD~60.0GB(5.7% used) Procs~105 Client~Shell inxi~1.9.9
-
Posts: 1,308
- Joined: 31 Aug 2009
#8
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://linux.derkeiler.com/Mailing-Lists/Ubuntu/2008-01/msg01482.html"
linktext was:"thread"
====================================
was started by someone else having this same problem with the same CPU. One suggestion was to try to enable frequency scaling in the BIOS.
Unfortunately,
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://cpuboss.com/cpus/Intel-Celeron-M-410-vs-Intel-Celeron-430"
linktext was:"this page"
====================================
says the 430 does not have scaling.
ThisAleph wrote:Intel Celeron M CPU 430
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://linux.derkeiler.com/Mailing-Lists/Ubuntu/2008-01/msg01482.html"
linktext was:"thread"
====================================
was started by someone else having this same problem with the same CPU. One suggestion was to try to enable frequency scaling in the BIOS.
Unfortunately,
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://cpuboss.com/cpus/Intel-Celeron-M-410-vs-Intel-Celeron-430"
linktext was:"this page"
====================================
says the 430 does not have scaling.
-
Posts: 243
- Joined: 09 Aug 2013
BitJam wrote:ThisAleph wrote:Intel Celeron M CPU 430
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://linux.derkeiler.com/Mailing-Lists/Ubuntu/2008-01/msg01482.html"
linktext was:"thread"
====================================
was started by someone else having this same problem with the same CPU. One suggestion was to try to enable frequency scaling in the BIOS.
Unfortunately,
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://cpuboss.com/cpus/Intel-Celeron-M-410-vs-Intel-Celeron-430"
linktext was:"this page"
====================================
says the 430 does not have scaling.
Then there are not solution __{{emoticon}}__
Thanks for your help.
-
Posts: 1,028
- Joined: 21 Aug 2011
#10
I've been down this road with Celeron CPUs. It was in antiX-12-Full with a liquorix kernel (3.4.0-3.dmz.1-liquorix-686).
The arch wiki shows a table of driver modules.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://wiki.archlinux.org/index.php/CPU_Frequency_Scaling"
linktext was:"https://wiki.archlinux.org/index.php/CP ... cy_Scaling"
====================================
It indicates that the driver for Celerons is p4-clockmod. It goes on to suggest using the Speedstep driver instead.
Both drivers can be loaded via However, in all cases tested here, CPUfreq only works with p4-clockmod as verified via the command This output also contains a list of the avilable governors.
Once the driver is loaded, the governors can be changed using the previously supplied commandThe conservative and ondemand and governors appear not to work. The performance, powersave and userspace governors seem OK.
In antiX-13-Full as shipped, a list of drivers can be obtained via The p4-clockmod driver is not provided, so of course cannot be used. The Speedstep drivers can be loaded but (as above) do not seem to work on the Celeron CPUs tested here.
As antiX is aimed at both modern and older systems, and as there are still plenty of old Celeron systems around, might it be worth providing the p4-clockmod driver within the stock antiX?
The arch wiki shows a table of driver modules.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://wiki.archlinux.org/index.php/CPU_Frequency_Scaling"
linktext was:"https://wiki.archlinux.org/index.php/CP ... cy_Scaling"
====================================
It indicates that the driver for Celerons is p4-clockmod. It goes on to suggest using the Speedstep driver instead.
Both drivers can be loaded via
Code: Select all
sudo modprobe --verbose DRIVERNAME
Code: Select all
cpufreq-info
Once the driver is loaded, the governors can be changed using the previously supplied command
Code: Select all
sudo cpufreq-set -c 0 -g GOVERNORNAME -r
In antiX-13-Full as shipped, a list of drivers can be obtained via
Code: Select all
ls -1 /lib/modules/$(uname -r)/kernel/drivers/cpufreq/
acpi-cpufreq.ko
cpufreq_conservative.ko
cpufreq-nforce2.ko
cpufreq_powersave.ko
cpufreq_stats.ko
e_powersaver.ko
gx-suspmod.ko
longhaul.ko
longrun.ko
mperf.ko
pcc-cpufreq.ko
powernow-k6.ko
powernow-k7.ko
powernow-k8.ko
speedstep-centrino.ko
speedstep-ich.ko
speedstep-lib.ko
speedstep-smi.ko
As antiX is aimed at both modern and older systems, and as there are still plenty of old Celeron systems around, might it be worth providing the p4-clockmod driver within the stock antiX?
-
Posts: 2,238
- Joined: 16 Dec 2007
#11
the p4-clockmod worked by forcing the cpu to skip work on cycles. It used to present an interface to cpufreq-info that lied. It would tell you that you were running at 320 mhz for example when you were actually running at 3.2 ghz but only doing work every 10th cycle. The purpose was thermal management, which on the p4 class machines, can be important. it didn't save any power though, and the ondemand governor is purposely disabled for it.
if the speedstep driver (speedstep-lib.ko for this processor, i think) also allows for the thermal management, then it might be worth trying. The frequency of the cpu is locked though so only the maximum clock state will be shown.
I wouldn't worry about it unless you have an overheating problem.
if the speedstep driver (speedstep-lib.ko for this processor, i think) also allows for the thermal management, then it might be worth trying. The frequency of the cpu is locked though so only the maximum clock state will be shown.
I wouldn't worry about it unless you have an overheating problem.
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#12
According to Gusar at Gentoo forums in this post
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://forums.gentoo.org/viewtopic-t-956614-start-0.html"
linktext was:"https://forums.gentoo.org/viewtopic-t-9 ... art-0.html"
====================================
p4-clockmod has nothing to do with cpufreq.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://forums.gentoo.org/viewtopic-t-956614-start-0.html"
linktext was:"https://forums.gentoo.org/viewtopic-t-9 ... art-0.html"
====================================
p4-clockmod has nothing to do with cpufreq.
-
Posts: 1,028
- Joined: 21 Aug 2011
#13
Already tried (as mentioned earlier). The driver can be loaded OK via modprobe but is not recognised (no output) via cpufreq-info.dolphin_oracle wrote:if the speedstep driver (speedstep-lib.ko for this processor, i think) also allows for the thermal management, then it might be worth trying.
Interestingly, fan noise was one of the reasons I originally looked into CPUfreq on an ancient Celeron laptop running antiX-12.anticapitalista wrote:According to Gusar at Gentoo forums in this post
-
Posts: 1,028
- Joined: 21 Aug 2011
#14
From antiX-12 running 3.5.0-antix.2-486-smp, the p4-clockmod.ko is in the same directory as all the CPUfreq driversanticapitalista wrote:According to Gusar at Gentoo forums in this post
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://forums.gentoo.org/viewtopic-t-956614-start-0.html"
linktext was:"https://forums.gentoo.org/viewtopic-t-9 ... art-0.html"
====================================
p4-clockmod has nothing to do with cpufreq.
Code: Select all
ls -1 /lib/modules/$(uname -r)/kernel/drivers/cpufreq
acpi-cpufreq.ko
cpufreq-nforce2.ko
cpufreq_powersave.ko
cpufreq_stats.ko
cpufreq_userspace.ko
e_powersaver.ko
gx-suspmod.ko
longhaul.ko
longrun.ko
mperf.ko
p4-clockmod.ko
pcc-cpufreq.ko
powernow-k6.ko
powernow-k7.ko
powernow-k8.ko
speedstep-centrino.ko
speedstep-ich.ko
speedstep-lib.ko
speedstep-smi.ko
-
Posts: 1,028
- Joined: 21 Aug 2011
#15
On reviewing the outcome of the original investigation, that is the conclusion reached about that particular laptop. The system doesn't use cpufreq. It runs in loud and very loud modes as mentioned in the above link. These were deemed more desirable than the (ahem) benefits (ahem) of using cpufreq with p4-clockmod. For a different user a different outcome may have been wanted.dolphin_oracle wrote:I wouldn't worry about it unless you have an overheating problem.