Ubuntu :: CPU Frequency Scaling Always Enabled - How To Disable
Nov 19, 2010
When I boot my machine (using a dual core 2ghz CPU) I always find myself out of "performance" mode (which I need), using only 1ghz per core.While this is easily fixable with "sudo cpufreq-set -g performance", I don't seem to be able to do it before having control of the machine. I would like to be able to boot with my CPU at full power.I would prefer to disable whatever is scaling down my CPUs to having to inject cpufreq-set to change governor. Anyone has any hint?I use default Ubuntu but I boot into a KDE4 desktop. But the same issue happens booting into the Gnome desktop.
I want to turn off frequency scaling permanently and totally in the lowest-level way possible. Is there a kernel command line that can be used or is recompiling the kernel without the governor stuff the only way?
Solved. Just modprobe -r and blacklist the acpi_cpufreq kernel module.
I am not entirely convinced that my CPU is actually changing frequency as it is meant to. It sometimes changes frequency, but most of the time it is stuck on 800MHz even when doing cpu intensive tasks. Here is information that may or may not be of help:
I recently installed 10.04 and really like it so far, however I was wondering if it is possible to scale all hypertheading cores at once, currently I am using an applet for each and have to use several clicks to get into the desired powerstate.
I have read that with dual cores you will not have the option to go into different powerstates because it scales all cores at once, however the logical cores that show up with hyperthreading allow each to have a different power state, and will show up as different states if I use cpufreq-info in the terminal, so it seems like it is allowing it.
Trying to set my cpu to Powersave using the CPU Frequency Scaling applet. When I set it to powersave, it goes back to ondemand on its own. On the earlier versions of Ubuntu, I used to be able to set it from the main menu: system>powermanagement, but with 10.10, I don't get that option. Is there any way that I can set it to powersave permanently? I was also able to set it with Ubuntu Tweak, but it does not have that option either.
I have recently installed Ubuntu 11.04 on my PC with these configuration:CPU: AMD Athlon 7750 Black EditionRAM: 2GB 1066 MHzVGA: ATI Radeon HD 3200 (on AMD 780G)After I installed Natty Narwhal I felt that my CPU runs at the highest clock all the time (2.7GHz), even if I don't have any program run. I tried all settings for AMD Cool'n'Quiet from mainboard BIOS, but nothing's changed. I installed "CPU Frequency Scaling Monitor" to manually change CPU clock. It recognizes two clock for my CPU, 2.7GHz and 1.35Ghz plus 4 other options; Conservative, Ondemand, Performance and Powersave but the CPU indicator doesn't change on every option!
For some reason, it seems that 13.37 isn't loading the modules I need for cpu frequency scaling. I've edited /etc/rc.d/rc.modules so that CPUFREQ is set to on. On 13.1, this would mean the powernow-k8 module would be loaded for my AMD cpu, and the subsequent "ondemand" governor would be loaded. However, for some reason this isn't being done during the boot process. I've tried it using both the generic kernel and the huge kernel (I'd been using huge for a long time before without realizing it.) Has anything changed in 13.37 with regards to CPU frequency scaling?
I just bought asusn a50ij and of course I installed ubuntu, now I have few problems: when I try to add CPU frequency scaling monitor to panel it says: CPU frequency scaling unsupported Next problem:my cpu temp is 49 without any reason.and I cant see my graphic card temp,when I go to Harware Drivers I doesnt show any drivers at all,so I dunno whether its nvidia or raedon it doesnt say anything! Also I installed jupiter and each time I turn on my computer it goes to Maximum Performance how can I turn it off?
The CPU frequency scaling monitor won't stay at 800mhz after reboot or a certain period of time. My goal is to always have my dual core CPU locked at 800mhz to have it run cooler. I'm running Ubuntu 10.10 on my toshiba u300 laptop.
I have a suspicion that this is easily fixed, however a good google (and this forum) hammering having turned up the fix. So I probably have the wrong search criteria, My Gnome Applet for switching CPU Frequency Scaling has 'disappeared' and is not listed in the the Add to Panel.. list of applets.
I am using Intel Xeon X 3440 processor. The processor has 11 frequency steps to chose from. I have used cpufreq-selector for choosing a frequency and it worked fine. But, all of a sudden it stops working out of the 11 steps i can change to only 2 frequencies and rest fail to work. I am clueless as to why it stopped working suddenly.
I have a 2.9ghz AMD Athlon II X4, which I have overclocked to 3.65ghz. I know that Ubuntu automatically changes the frequency of the processor to save power, which I like, but it does not show my overclocked frequency. The highest that the frequency scaling will go is the stock clock, at 2.9ghz. Is my processor actually reaching my overclocked speed?
I want to be able to disable CPU scaling, whenever I want. The reason is that I run some timing tests, and I want the results to be reproducable (ie the CPU running at the same frequency). I have tried the following on 9.10 and 10.04 (both amd64). I use rcconfig to disable "on demand" (from [URL] but then when I use cpufreq-info tool I get:
I recently deleted all my Software Sources that were under "Other Software" and all my "Authentication" because Mint kept updating my xulrunner to a new version which would disable Firefox-Smooth-Scaling.Therefore I deleted all my Software Sources that were under "Other Software" and Authentication, and forced Mint to only install the xulrunner which uses Firefox-Smooth-Scaling. Unfortunately, after I deleted the software sources and authentication, now I can't update my system properly and get error messages that keys are missing. I added some software sources back the "Other Software" (someone responded to a previous post of mine on which ones to add), and under the "Authentication" window I tried hitting "Restore Defaults", but it only added two keys. These are screenshots of my Software Sources windows.
i have an hp pavilion dv7 and am using f13 64bit. my laptop has a built in woofer underneath that i have never been able to get to work. after the latest kernel update today my laptop now has woofer sound. there must be some new support for my laptops audio card. the problem is that it is a little overbearing. how can i a) disable this feature b) tweak the parameters like crossover frequency or gain? edit: i checked the changelog for 2.6.34 and couldn't find any info on any new audio support features.
Is there a non-root shell command that can tell me if a user's account is disabled or not? note that there is a fine distinction between LOCKING and DISABLED:
LOCKING is where you prepend ! or * or !! to the password field of the /etc/passwd file. On Linux systems that shadow the passwords, this marker flag may be placed in /etc/shadow instead of /etc/passwd. Password locking can be done (at a shell prompt) via password -l username (as root) to lock the account of username, and the use of the option -u will unlock it.
DISABLING an account is done by setting the expiration time of the user account to some point in the past. This can be done with chage -E 0 username, which sets the expiration date to 0 days after the Unix epoch. Setting it to -1 will disable the use of the expiration date.
The effect of locking to to prevent the login process from using a supplied password to hash correctly against the saved hash (by virtue of the fact that the pre-pended marker character(s) are not valid output character(s) for the hash, thus no possible input can ever be used to generate a hash that would match it). The effect of disabling is to prevent any process from using an account because the expiration date of the account has already passed.For my situation, the use of locking is not sufficient because a user might still be able to login, e.g. using ssh authentication tokens, and processes under that user can still spawn other processes. Thus, we have accounts that are enabled or disabled, not just locked. We already know how to disable and enable the account - it requires root access and the use of chage, as shown above.To repeat my question: is there a shell command which can be run without root privileges which can output the status of this account expiration info for a given user? this is intended for use on a Red Hat Enterprise 5.4 system.The output is being returned to a java process which can then parse the output as needed, or make use of the return code.
I've been trying to get lucid to work on my gateway netbook. The major problem I've seen is that it would overheat (to about 63 C or a little higher, and then the display would go crazy and crash. My BIOS doesn't support cpu scaling. Somewhere in a google search, someone mentioned the 2.6.34 kernel. I had no ideal what I was doing, and I installed this kernel. (could not install headers -- a dependency issue I didn't understand). Tried it, and it booted.
Saw some errors, like timer or something not found and something about a soft reset. However, it boots, and it works, and the temperature is much better (at least for the last 42 minutes: I've not been able to run it that long before). Are those errors likely to cause problems? Are there any issues I should be aware of using a non-standard kernel like this? I am dual booting with 9.10, which works well, and all my serious work is on the 9.10 partitions.
HID compliant mouse Synaptics PS/2 Port touchPad Generic PnP Monitor Atheros AR5B95 Wireless Network Adapter Realtek PCIe FE Family Controller AMD Athlon(tm) Processor L110 Realtgek High Definition Audio Microsoft iSCISI Initator Gateway LT3103u
As I write, temp is still at 56, but I am getting some intermittent display problems. Should I give up on lucid?
I'm running ubuntu 10.10 64 bit. CPU speed scaling says my CPU (AMD PhenomII 1090T) is not supported, and shows full speed on all cores, regardless of load. I've read that those issues were solved in kernel 2.6.34...
How can I make it work? or do I have to wait for an update?
Motherboard is an ASUS Crossfire IV.
Admins: Feel free to shift this post to another (sub-)forum if necessary, I wasn't sure where to put it.
i face problem with Firefox 3.6.11: smooth image scaling doesn't work. When i zoom in websites (ctrl +), images are not anti aliased, but appear pixelated, which is very ugly.
What I found out about so far, this seems not to be a FF problem (FF3 should support smooth image scaling), but a problem with the video driver, who tells X it could do smooth image scaling automatically but it cant. There is also a "bug" fix for the FF:
launchpad.net/~firefox-smooth-scaling/+archive/ppa I putted this to my package sources and made a system update. But smooth image scaling still doesn't work
I am trying to set up my cpu freq. scaling to ignore BOINC. From what google has shown me this is done by setting a value of 1 for ignore_nice_load. However the location of said value does not seem to be the same in 10.04 as in the results from google. How do i set this or is there a better way to keep idle processes like BOINC from increasing the my cpu frequency?
Basic Info: Ubuntu 10.10, AMD RM-70 2GHZ Processor, HP G60-120US, Bios F54. I'm unable to scale my processor (either core) using the applet in the menu bar. Every time I try, I select 2GHZ, and re-open; then it's displayed that 500MHZ was selected. I'm unable to pick any speed, the computer has a mind of it's own in that sense. It's essentially stuck at 500MHZ for 98% of the uptime, which makes it impossible to do anything more than web browsing. Ex: I tried watching an HD video, I watched 5 min, and 1,400 out of the 10,000 or so were dropped!
Since the new Unity in Ubuntu 11.04 doesn't work with applets, like GNOME, I've lost an useful applet to choose the operating clock of my CPU as well as power profiles (Performance, Conservative, On Demand etc.).
I've looked into Ubuntu Software Center but couldn't find anything similar.