[SOLVED] How to disable cpu throttling in slackware 13?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to install ATLAS which requires disabling cpu throttling.
Normally one can do it in the BIOS, while there isn't such an option of my dell inspiron 6400. Actually there is a SpeedStep option in the BIOS, however, you cannot get the highest but the lowest performance by disabling it (dell!!!).
After googled a lot, I found in some distros, there is a /usr/bin/cpufreq-selector through which one can disable throttling. But it doesn't exists in slackware.
I known that by appending kernel option "acpi=off", one can disable the whole acpi and thus the throttling control in slackware, but it seems so dirty.
Anyone known a better way to do it?
ps: With a intel T2050 cpu, i didn't find the directory /sys/devices/system/cpu1, but only the /sys/devices/system/cpu0.
Similar case in /etc/acpi.
it seems that slackware treats my cpu as a single core one, while it is not.
Last edited by Laevatain; 05-08-2010 at 12:42 PM.
Reason: solved
### CPU frequency scaling support
#
# Below, set CPUFREQ to enable CPU frequency scaling to save system power.
#
# To always try to use CPU frequency scaling, set to: on
# To never use CPU frequency scaling, set to: off
# To use it only when the battery module is loaded (this will cause it to
# be used by default with most laptops), set to: battery
#
CPUFREQ=battery
so you should change it to
Quote:
### CPU frequency scaling support
#
# Below, set CPUFREQ to enable CPU frequency scaling to save system power.
#
# To always try to use CPU frequency scaling, set to: on
# To never use CPU frequency scaling, set to: off
# To use it only when the battery module is loaded (this will cause it to
# be used by default with most laptops), set to: battery
#
CPU Throttling apparently enabled!
It appears you have cpu throttling enabled, which makes timings
unreliable and an ATLAS install nonsensical. Aborting.
See ATLAS/INSTALL.txt for further information
xconfig exited with 1
Whatever ATLAS is, it really has no business requiring that cpu throttling is off.
sorry, tuxdev, I have to. ATLAS achieves optimal linear algebra operations by providing machine-specific libraries. It is needed by a lot of mathematical software.
"CPU throttling makes pretty much all timings completely random, and so any ATLAS install will be junk. " --from atlas website
After you changed the option to "no" did you reboot the machine? Just changing the option in the script probably won't be enough. A reboot then is probably necessary.
well, assuming you didn't reboot, changing the rc.modules script won't stop the cpu scaling since the modules are already loaded.
to stop it you need to manually unload the modules.
the change in the script should work from next boot.
or you could undo the previous change and instead change (just below in the same file) :
Quote:
### CPU scaling governor:
#
# Set the default scaling_governor to be used (such as userspace or ondemand)
# if there is a CPUFreq scaling policy module loaded that supports it:
SCALING_GOVERNOR=ondemand
After you changed the option to "no" did you reboot the machine? Just changing the option in the script probably won't be enough. A reboot then is probably necessary.
well, assuming you didn't reboot, changing the rc.modules script won't stop the cpu scaling since the modules are already loaded.
to stop it you need to manually unload the modules.
the change in the script should work from next boot.
or you could undo the previous change and instead change (just below in the same file) :
well, assuming you didn't reboot, changing the rc.modules script won't stop the cpu scaling since the modules are already loaded.
to stop it you need to manually unload the modules.
the change in the script should work from next boot.
or you could undo the previous change and instead change (just below in the same file) :
"CPU throttling makes pretty much all timings completely random, and so any ATLAS install will be junk. " --from atlas website
It depends somewhat on which governor you use, but if you use the race-to-idle governor as recommended by the kernel devs, the timings should not be "junk" at all.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.