Cannot disable CPU Throttling on Ubuntu 16.04 LTS The Next CEO of Stack Overflow14.04, I have...

Whats the best way to handle refactoring a big file?

How do I solve this limit?

The King's new dress

Go Pregnant or Go Home

How to get regions to plot as graphics

How easy is it to start Magic from scratch?

Would this house-rule that treats advantage as a +1 to the roll instead (and disadvantage as -1) and allows them to stack be balanced?

Fastest way to shutdown Ubuntu Mate 18.10

How do scammers retract money, while you can’t?

What can we do to stop prior company from asking us questions?

Why here is plural "We went to the movies last night."

Why didn't Theresa May consult with Parliament before negotiating a deal with the EU?

What's the point of interval inversion?

Opposite of a diet

Text adventure game code

Can I equip Skullclamp on a creature I am sacrificing?

% symbol leads to superlong (forever?) compilations

What does "Its cash flow is deeply negative" mean?

Is HostGator storing my password in plaintext?

Should I tutor a student who I know has cheated on their homework?

Is it my responsibility to learn a new technology in my own time my employer wants to implement?

Horror movie/show or scene where a horse creature opens its mouth really wide and devours a man in a stables

How can I get through very long and very dry, but also very useful technical documents when learning a new tool?

How to start emacs in "nothing" mode (`fundamental-mode`)



Cannot disable CPU Throttling on Ubuntu 16.04 LTS



The Next CEO of Stack Overflow14.04, I have Disabled CPU throttling, but installing Atlas says: “CPU Throttling apparently enabled”How do I disable/modify CPU underclocking due to temperature on a laptop with a 2nd generation core cpu?Ubuntu is very slow when Intel SpeedStep is enabled (CPU is not used in full speed)How can I set the CPU frequency to always stay at its maximum?how to make cpugovernor intel_pstate stable?Strange cpufreq scaling issues: regardless of governor, max cpufreq drops incrementally on wakeThrottling stuck below limits on a cool cpuUbuntu 16.04.2 Stuck at Very Low FrequencyI cant set the cpu frequency to maximumBehavior of powersave freq governor when cpu quota is setHow can I lock CPU frequency in Ubuntu 16.04?












4















I am trying to turn off CPU throttling on my computer but haven't been successful. Could anyone help me to figure out the problem?



My desktop has Intel Core i7-7700 3.60 GHz on board and is installed Ubuntu 16.04 LTS kernel 4.4.0-83-generic. My step are as followed:





  1. Disabling SpeedStep option in BIOS configuration to prevent the CPU from automatically reducing clock



    What is Intel SpeedStep



    Bios-SpeedStep disable




  2. Changing the grup file to disable intel_pstate drive and ACPI



    Disable intel_pstate drive



    gksu gedit /etc/default/grub
    # Find the line GRUB_CMDLINE_LINUX_DEFAULT="splash quiet"
    # Append this line GRUB_CMDLINE_LINUX_DEFAULT="splash quiet acpi=off intel_pstate=disable"
    sudo update-grub
    sudo reboot



  3. Changing the CPU frequency governor from powersave to performance to have all cpu operating at their maximum clock rate.



    Switching to performance governor



    sudo apt-get install linux-tools-common linux-tools-4.4.0-83-generic
    sudo cpupower frequency-set -g performance



  4. Manually set clock rates of my 8 cpu cores to maximum (4200 MHz)



    cd /sys/devices/system/cpu/cpu<X>/cpufreq
    cp cpuinfo_max_freq scaling_max_freq


    Where X is the index of cores {0, 1, ..., 7}




  5. Then I did several tricks as suggested by Filipe FB in Disabling CPU Throttling Ubuntu.



    Sadly, after performing all of the above steps, I still could not config cores clock to a fix value. Here are



    cat /proc/cpuinfo | grep MHz   # showed me
    cpu MHz : 3473.578
    cpu MHz : 3600.140
    cpu MHz : 3600.140
    cpu MHz : 3036.515
    cpu MHz : 2613.656
    cpu MHz : 3120.046
    cpu MHz : 3425.203
    cpu MHz : 3600.000



The worst thing is, when I check if the intel_pstate drive has been disabled with this command



cat /sys/devices/system/cpu/cpu<X>/cpufreq/scaling_driver


The annoying string intel_pstate displays all the time, which indicates that it is still enabled. I have ran out of solutions, is there any missing step.



Thank in advance.










share|improve this question

























  • Even when using the performance mode governor, the CPU can scale back the CPU frequency by itself under conditions of no load. If you are still showing the intel_pstate CPU frequency driver, then you made a mistake trying to disable it.

    – Doug Smythies
    Oct 31 '17 at 14:03











  • Do you understand the reason for CPU throttling? It's to prevent unnecessary power usage, and to prevent cooling fans from running wildly, and to prevent the CPU's from overheating. Best you put everything back the way you found it, and be happy. Also, isn't there a better choice than acpi=off for your computer?

    – heynnema
    Oct 31 '17 at 15:31













  • @heynnema I have reason for doing that, I need to install ATLAS on my computer and disabling throttling is the first requirement

    – Dan Do
    Nov 1 '17 at 10:29











  • @DougSmythies Could you point it out, please?

    – Dan Do
    Nov 1 '17 at 10:29











  • Please edit your question adding your actual grub contents, not the comment saying what you should do. Oh, the ATLAS problem, which is really their fault.

    – Doug Smythies
    Nov 1 '17 at 14:04
















4















I am trying to turn off CPU throttling on my computer but haven't been successful. Could anyone help me to figure out the problem?



My desktop has Intel Core i7-7700 3.60 GHz on board and is installed Ubuntu 16.04 LTS kernel 4.4.0-83-generic. My step are as followed:





  1. Disabling SpeedStep option in BIOS configuration to prevent the CPU from automatically reducing clock



    What is Intel SpeedStep



    Bios-SpeedStep disable




  2. Changing the grup file to disable intel_pstate drive and ACPI



    Disable intel_pstate drive



    gksu gedit /etc/default/grub
    # Find the line GRUB_CMDLINE_LINUX_DEFAULT="splash quiet"
    # Append this line GRUB_CMDLINE_LINUX_DEFAULT="splash quiet acpi=off intel_pstate=disable"
    sudo update-grub
    sudo reboot



  3. Changing the CPU frequency governor from powersave to performance to have all cpu operating at their maximum clock rate.



    Switching to performance governor



    sudo apt-get install linux-tools-common linux-tools-4.4.0-83-generic
    sudo cpupower frequency-set -g performance



  4. Manually set clock rates of my 8 cpu cores to maximum (4200 MHz)



    cd /sys/devices/system/cpu/cpu<X>/cpufreq
    cp cpuinfo_max_freq scaling_max_freq


    Where X is the index of cores {0, 1, ..., 7}




  5. Then I did several tricks as suggested by Filipe FB in Disabling CPU Throttling Ubuntu.



    Sadly, after performing all of the above steps, I still could not config cores clock to a fix value. Here are



    cat /proc/cpuinfo | grep MHz   # showed me
    cpu MHz : 3473.578
    cpu MHz : 3600.140
    cpu MHz : 3600.140
    cpu MHz : 3036.515
    cpu MHz : 2613.656
    cpu MHz : 3120.046
    cpu MHz : 3425.203
    cpu MHz : 3600.000



The worst thing is, when I check if the intel_pstate drive has been disabled with this command



cat /sys/devices/system/cpu/cpu<X>/cpufreq/scaling_driver


The annoying string intel_pstate displays all the time, which indicates that it is still enabled. I have ran out of solutions, is there any missing step.



Thank in advance.










share|improve this question

























  • Even when using the performance mode governor, the CPU can scale back the CPU frequency by itself under conditions of no load. If you are still showing the intel_pstate CPU frequency driver, then you made a mistake trying to disable it.

    – Doug Smythies
    Oct 31 '17 at 14:03











  • Do you understand the reason for CPU throttling? It's to prevent unnecessary power usage, and to prevent cooling fans from running wildly, and to prevent the CPU's from overheating. Best you put everything back the way you found it, and be happy. Also, isn't there a better choice than acpi=off for your computer?

    – heynnema
    Oct 31 '17 at 15:31













  • @heynnema I have reason for doing that, I need to install ATLAS on my computer and disabling throttling is the first requirement

    – Dan Do
    Nov 1 '17 at 10:29











  • @DougSmythies Could you point it out, please?

    – Dan Do
    Nov 1 '17 at 10:29











  • Please edit your question adding your actual grub contents, not the comment saying what you should do. Oh, the ATLAS problem, which is really their fault.

    – Doug Smythies
    Nov 1 '17 at 14:04














4












4








4








I am trying to turn off CPU throttling on my computer but haven't been successful. Could anyone help me to figure out the problem?



My desktop has Intel Core i7-7700 3.60 GHz on board and is installed Ubuntu 16.04 LTS kernel 4.4.0-83-generic. My step are as followed:





  1. Disabling SpeedStep option in BIOS configuration to prevent the CPU from automatically reducing clock



    What is Intel SpeedStep



    Bios-SpeedStep disable




  2. Changing the grup file to disable intel_pstate drive and ACPI



    Disable intel_pstate drive



    gksu gedit /etc/default/grub
    # Find the line GRUB_CMDLINE_LINUX_DEFAULT="splash quiet"
    # Append this line GRUB_CMDLINE_LINUX_DEFAULT="splash quiet acpi=off intel_pstate=disable"
    sudo update-grub
    sudo reboot



  3. Changing the CPU frequency governor from powersave to performance to have all cpu operating at their maximum clock rate.



    Switching to performance governor



    sudo apt-get install linux-tools-common linux-tools-4.4.0-83-generic
    sudo cpupower frequency-set -g performance



  4. Manually set clock rates of my 8 cpu cores to maximum (4200 MHz)



    cd /sys/devices/system/cpu/cpu<X>/cpufreq
    cp cpuinfo_max_freq scaling_max_freq


    Where X is the index of cores {0, 1, ..., 7}




  5. Then I did several tricks as suggested by Filipe FB in Disabling CPU Throttling Ubuntu.



    Sadly, after performing all of the above steps, I still could not config cores clock to a fix value. Here are



    cat /proc/cpuinfo | grep MHz   # showed me
    cpu MHz : 3473.578
    cpu MHz : 3600.140
    cpu MHz : 3600.140
    cpu MHz : 3036.515
    cpu MHz : 2613.656
    cpu MHz : 3120.046
    cpu MHz : 3425.203
    cpu MHz : 3600.000



The worst thing is, when I check if the intel_pstate drive has been disabled with this command



cat /sys/devices/system/cpu/cpu<X>/cpufreq/scaling_driver


The annoying string intel_pstate displays all the time, which indicates that it is still enabled. I have ran out of solutions, is there any missing step.



Thank in advance.










share|improve this question
















I am trying to turn off CPU throttling on my computer but haven't been successful. Could anyone help me to figure out the problem?



My desktop has Intel Core i7-7700 3.60 GHz on board and is installed Ubuntu 16.04 LTS kernel 4.4.0-83-generic. My step are as followed:





  1. Disabling SpeedStep option in BIOS configuration to prevent the CPU from automatically reducing clock



    What is Intel SpeedStep



    Bios-SpeedStep disable




  2. Changing the grup file to disable intel_pstate drive and ACPI



    Disable intel_pstate drive



    gksu gedit /etc/default/grub
    # Find the line GRUB_CMDLINE_LINUX_DEFAULT="splash quiet"
    # Append this line GRUB_CMDLINE_LINUX_DEFAULT="splash quiet acpi=off intel_pstate=disable"
    sudo update-grub
    sudo reboot



  3. Changing the CPU frequency governor from powersave to performance to have all cpu operating at their maximum clock rate.



    Switching to performance governor



    sudo apt-get install linux-tools-common linux-tools-4.4.0-83-generic
    sudo cpupower frequency-set -g performance



  4. Manually set clock rates of my 8 cpu cores to maximum (4200 MHz)



    cd /sys/devices/system/cpu/cpu<X>/cpufreq
    cp cpuinfo_max_freq scaling_max_freq


    Where X is the index of cores {0, 1, ..., 7}




  5. Then I did several tricks as suggested by Filipe FB in Disabling CPU Throttling Ubuntu.



    Sadly, after performing all of the above steps, I still could not config cores clock to a fix value. Here are



    cat /proc/cpuinfo | grep MHz   # showed me
    cpu MHz : 3473.578
    cpu MHz : 3600.140
    cpu MHz : 3600.140
    cpu MHz : 3036.515
    cpu MHz : 2613.656
    cpu MHz : 3120.046
    cpu MHz : 3425.203
    cpu MHz : 3600.000



The worst thing is, when I check if the intel_pstate drive has been disabled with this command



cat /sys/devices/system/cpu/cpu<X>/cpufreq/scaling_driver


The annoying string intel_pstate displays all the time, which indicates that it is still enabled. I have ran out of solutions, is there any missing step.



Thank in advance.







intel cpu






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 31 '17 at 8:57









Thomas

3,88281527




3,88281527










asked Oct 31 '17 at 4:31









Dan DoDan Do

2113




2113













  • Even when using the performance mode governor, the CPU can scale back the CPU frequency by itself under conditions of no load. If you are still showing the intel_pstate CPU frequency driver, then you made a mistake trying to disable it.

    – Doug Smythies
    Oct 31 '17 at 14:03











  • Do you understand the reason for CPU throttling? It's to prevent unnecessary power usage, and to prevent cooling fans from running wildly, and to prevent the CPU's from overheating. Best you put everything back the way you found it, and be happy. Also, isn't there a better choice than acpi=off for your computer?

    – heynnema
    Oct 31 '17 at 15:31













  • @heynnema I have reason for doing that, I need to install ATLAS on my computer and disabling throttling is the first requirement

    – Dan Do
    Nov 1 '17 at 10:29











  • @DougSmythies Could you point it out, please?

    – Dan Do
    Nov 1 '17 at 10:29











  • Please edit your question adding your actual grub contents, not the comment saying what you should do. Oh, the ATLAS problem, which is really their fault.

    – Doug Smythies
    Nov 1 '17 at 14:04



















  • Even when using the performance mode governor, the CPU can scale back the CPU frequency by itself under conditions of no load. If you are still showing the intel_pstate CPU frequency driver, then you made a mistake trying to disable it.

    – Doug Smythies
    Oct 31 '17 at 14:03











  • Do you understand the reason for CPU throttling? It's to prevent unnecessary power usage, and to prevent cooling fans from running wildly, and to prevent the CPU's from overheating. Best you put everything back the way you found it, and be happy. Also, isn't there a better choice than acpi=off for your computer?

    – heynnema
    Oct 31 '17 at 15:31













  • @heynnema I have reason for doing that, I need to install ATLAS on my computer and disabling throttling is the first requirement

    – Dan Do
    Nov 1 '17 at 10:29











  • @DougSmythies Could you point it out, please?

    – Dan Do
    Nov 1 '17 at 10:29











  • Please edit your question adding your actual grub contents, not the comment saying what you should do. Oh, the ATLAS problem, which is really their fault.

    – Doug Smythies
    Nov 1 '17 at 14:04

















Even when using the performance mode governor, the CPU can scale back the CPU frequency by itself under conditions of no load. If you are still showing the intel_pstate CPU frequency driver, then you made a mistake trying to disable it.

– Doug Smythies
Oct 31 '17 at 14:03





Even when using the performance mode governor, the CPU can scale back the CPU frequency by itself under conditions of no load. If you are still showing the intel_pstate CPU frequency driver, then you made a mistake trying to disable it.

– Doug Smythies
Oct 31 '17 at 14:03













Do you understand the reason for CPU throttling? It's to prevent unnecessary power usage, and to prevent cooling fans from running wildly, and to prevent the CPU's from overheating. Best you put everything back the way you found it, and be happy. Also, isn't there a better choice than acpi=off for your computer?

– heynnema
Oct 31 '17 at 15:31







Do you understand the reason for CPU throttling? It's to prevent unnecessary power usage, and to prevent cooling fans from running wildly, and to prevent the CPU's from overheating. Best you put everything back the way you found it, and be happy. Also, isn't there a better choice than acpi=off for your computer?

– heynnema
Oct 31 '17 at 15:31















@heynnema I have reason for doing that, I need to install ATLAS on my computer and disabling throttling is the first requirement

– Dan Do
Nov 1 '17 at 10:29





@heynnema I have reason for doing that, I need to install ATLAS on my computer and disabling throttling is the first requirement

– Dan Do
Nov 1 '17 at 10:29













@DougSmythies Could you point it out, please?

– Dan Do
Nov 1 '17 at 10:29





@DougSmythies Could you point it out, please?

– Dan Do
Nov 1 '17 at 10:29













Please edit your question adding your actual grub contents, not the comment saying what you should do. Oh, the ATLAS problem, which is really their fault.

– Doug Smythies
Nov 1 '17 at 14:04





Please edit your question adding your actual grub contents, not the comment saying what you should do. Oh, the ATLAS problem, which is really their fault.

– Doug Smythies
Nov 1 '17 at 14:04










3 Answers
3






active

oldest

votes


















1














You are probably being bit by the thermald.



Here is a copy of a post I made on the issue concerning linux Mint 18:



"If you have a high performance and/or gaming PC you really need to set the default temperature used by Thermal Daemon to something higher than 55
°C (131 °F). The example temperature in the config file is 75°C (167 °F), but some brilliant soul decided that the default for all PCs should be one temp of 55 °C. When processing videos with Handbrake I can hit 89 °C with all 8 threads at 100%. When you reach 55°C thermald starts throttling your PC which means it is going to take that much longer to get anything done. The hotter you get the more aggressive the method it uses to slow you down. I have had it literally do a hard lock up of my desktop it became so aggressive. The config file is in /etc/thermald/thermal-conf.xml."



"Look for the first line. Change 55000 (55 °C) to something higher like 75000 (75 °C). 75 °C is the default in the example section of the config file. I personally set it to 90000 (90 °C). In all of my days as a computer user and repairman I have never seen a cpu be damaged by heat. Basically at 100 °C your cpu locks up (in Windows you get a blue screen). Unless your overclocking I just don't see the need for the thermald at all. However, uninstalling it doesn't fix the issue as your kernel appears to have a built in module to do the same thing. Raising the default temp is the best course if you want your PC to operate at its best performance."



"I upgraded my laptop cpu from an i7-4810mq to a i7-4940mx extreme edition cpu which operates at 3.1ghz normal and 3.8ghz quad turbo. Before changing the default temp my machine would turbo to 3.2ghz and 3.6ghz tops. After changing the default temp it now maxes out at the top turbo of 3.8ghz."



UPDATE!!!!!!!!!!!



I would like to add an update to my post on throttling cpus.
Instead of changing the temp that thermald throttles at I now do the following...



Remove thermald:




sudo apt purge thermald




According to the makers for thermald is was designed for cell phones which have NO cooling system at all. It was not made to run on laptops or desktops. On a laptop or desktop it will hurt performance. For me it caused even up to a full hard lockup.



Blacklist throttling technologies - add the 3 lines to the file:




sudo nano /etc/modprobe.d/blacklist-throttling.conf




blacklist intel_powerclamp

blacklist intel_rapl

blacklist intel_rapl_perf



save and exit nano with ctrl+o and then ctrl+x.



Update all your ramdisks for all kernels:




sudo update-initramfs -u -k all




Test:
reboot and make sure thermald is not running and none of the above intel throttling modules are running either.




lsmod | grep -i intel




Results:
For the very time since I bought a gaming laptop and upgraded to a intel i7 4940mx I got the max speed of the laptop during heavy loads.
I tested using handbrake, blender, and other heavy load software.
While running i7z (sudo i7z) to view cpu speeds and turbo speeds there was no drop in speed due to throttling.






share|improve this answer

































    0














    I'm running Ubuntu 18.10 on a Dell XPS 13 (9365) with a CPU i7-7Y75.



    Since this laptop does not have a fan, cpu throttling put my CPU almost at rest (going from 3.5 Ghz to 1.1 Ghz and sometimes 900 Mhz).



    I solved it using this program:



    https://github.com/erpalma/throttled



    Good luck.






    share|improve this answer































      0














      Your system is using intel_pstate driver and, instead of disabling it, you might want to take advantage of it.



      Setting this driver's governor is very easy. To set all CPUs to maximum frequency, just use the following command:



      echo 100 | sudo tee /sys/devices/system/cpu/intel_pstate/min_perf_pct


      To do the opposite, and force low power on the CPUs, issue:



      echo 20 | sudo tee /sys/devices/system/cpu/intel_pstate/max_perf_pct


      Where 20 is the percentage of maximum performance you want to allow. Setting this to 10% will probably result in extremely sluggish GUI, but you can try and see.



      Sources: kernel.org






      share|improve this answer
























        Your Answer








        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "89"
        };
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function() {
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled) {
        StackExchange.using("snippets", function() {
        createEditor();
        });
        }
        else {
        createEditor();
        }
        });

        function createEditor() {
        StackExchange.prepareEditor({
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });














        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f971142%2fcannot-disable-cpu-throttling-on-ubuntu-16-04-lts%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        1














        You are probably being bit by the thermald.



        Here is a copy of a post I made on the issue concerning linux Mint 18:



        "If you have a high performance and/or gaming PC you really need to set the default temperature used by Thermal Daemon to something higher than 55
        °C (131 °F). The example temperature in the config file is 75°C (167 °F), but some brilliant soul decided that the default for all PCs should be one temp of 55 °C. When processing videos with Handbrake I can hit 89 °C with all 8 threads at 100%. When you reach 55°C thermald starts throttling your PC which means it is going to take that much longer to get anything done. The hotter you get the more aggressive the method it uses to slow you down. I have had it literally do a hard lock up of my desktop it became so aggressive. The config file is in /etc/thermald/thermal-conf.xml."



        "Look for the first line. Change 55000 (55 °C) to something higher like 75000 (75 °C). 75 °C is the default in the example section of the config file. I personally set it to 90000 (90 °C). In all of my days as a computer user and repairman I have never seen a cpu be damaged by heat. Basically at 100 °C your cpu locks up (in Windows you get a blue screen). Unless your overclocking I just don't see the need for the thermald at all. However, uninstalling it doesn't fix the issue as your kernel appears to have a built in module to do the same thing. Raising the default temp is the best course if you want your PC to operate at its best performance."



        "I upgraded my laptop cpu from an i7-4810mq to a i7-4940mx extreme edition cpu which operates at 3.1ghz normal and 3.8ghz quad turbo. Before changing the default temp my machine would turbo to 3.2ghz and 3.6ghz tops. After changing the default temp it now maxes out at the top turbo of 3.8ghz."



        UPDATE!!!!!!!!!!!



        I would like to add an update to my post on throttling cpus.
        Instead of changing the temp that thermald throttles at I now do the following...



        Remove thermald:




        sudo apt purge thermald




        According to the makers for thermald is was designed for cell phones which have NO cooling system at all. It was not made to run on laptops or desktops. On a laptop or desktop it will hurt performance. For me it caused even up to a full hard lockup.



        Blacklist throttling technologies - add the 3 lines to the file:




        sudo nano /etc/modprobe.d/blacklist-throttling.conf




        blacklist intel_powerclamp

        blacklist intel_rapl

        blacklist intel_rapl_perf



        save and exit nano with ctrl+o and then ctrl+x.



        Update all your ramdisks for all kernels:




        sudo update-initramfs -u -k all




        Test:
        reboot and make sure thermald is not running and none of the above intel throttling modules are running either.




        lsmod | grep -i intel




        Results:
        For the very time since I bought a gaming laptop and upgraded to a intel i7 4940mx I got the max speed of the laptop during heavy loads.
        I tested using handbrake, blender, and other heavy load software.
        While running i7z (sudo i7z) to view cpu speeds and turbo speeds there was no drop in speed due to throttling.






        share|improve this answer






























          1














          You are probably being bit by the thermald.



          Here is a copy of a post I made on the issue concerning linux Mint 18:



          "If you have a high performance and/or gaming PC you really need to set the default temperature used by Thermal Daemon to something higher than 55
          °C (131 °F). The example temperature in the config file is 75°C (167 °F), but some brilliant soul decided that the default for all PCs should be one temp of 55 °C. When processing videos with Handbrake I can hit 89 °C with all 8 threads at 100%. When you reach 55°C thermald starts throttling your PC which means it is going to take that much longer to get anything done. The hotter you get the more aggressive the method it uses to slow you down. I have had it literally do a hard lock up of my desktop it became so aggressive. The config file is in /etc/thermald/thermal-conf.xml."



          "Look for the first line. Change 55000 (55 °C) to something higher like 75000 (75 °C). 75 °C is the default in the example section of the config file. I personally set it to 90000 (90 °C). In all of my days as a computer user and repairman I have never seen a cpu be damaged by heat. Basically at 100 °C your cpu locks up (in Windows you get a blue screen). Unless your overclocking I just don't see the need for the thermald at all. However, uninstalling it doesn't fix the issue as your kernel appears to have a built in module to do the same thing. Raising the default temp is the best course if you want your PC to operate at its best performance."



          "I upgraded my laptop cpu from an i7-4810mq to a i7-4940mx extreme edition cpu which operates at 3.1ghz normal and 3.8ghz quad turbo. Before changing the default temp my machine would turbo to 3.2ghz and 3.6ghz tops. After changing the default temp it now maxes out at the top turbo of 3.8ghz."



          UPDATE!!!!!!!!!!!



          I would like to add an update to my post on throttling cpus.
          Instead of changing the temp that thermald throttles at I now do the following...



          Remove thermald:




          sudo apt purge thermald




          According to the makers for thermald is was designed for cell phones which have NO cooling system at all. It was not made to run on laptops or desktops. On a laptop or desktop it will hurt performance. For me it caused even up to a full hard lockup.



          Blacklist throttling technologies - add the 3 lines to the file:




          sudo nano /etc/modprobe.d/blacklist-throttling.conf




          blacklist intel_powerclamp

          blacklist intel_rapl

          blacklist intel_rapl_perf



          save and exit nano with ctrl+o and then ctrl+x.



          Update all your ramdisks for all kernels:




          sudo update-initramfs -u -k all




          Test:
          reboot and make sure thermald is not running and none of the above intel throttling modules are running either.




          lsmod | grep -i intel




          Results:
          For the very time since I bought a gaming laptop and upgraded to a intel i7 4940mx I got the max speed of the laptop during heavy loads.
          I tested using handbrake, blender, and other heavy load software.
          While running i7z (sudo i7z) to view cpu speeds and turbo speeds there was no drop in speed due to throttling.






          share|improve this answer




























            1












            1








            1







            You are probably being bit by the thermald.



            Here is a copy of a post I made on the issue concerning linux Mint 18:



            "If you have a high performance and/or gaming PC you really need to set the default temperature used by Thermal Daemon to something higher than 55
            °C (131 °F). The example temperature in the config file is 75°C (167 °F), but some brilliant soul decided that the default for all PCs should be one temp of 55 °C. When processing videos with Handbrake I can hit 89 °C with all 8 threads at 100%. When you reach 55°C thermald starts throttling your PC which means it is going to take that much longer to get anything done. The hotter you get the more aggressive the method it uses to slow you down. I have had it literally do a hard lock up of my desktop it became so aggressive. The config file is in /etc/thermald/thermal-conf.xml."



            "Look for the first line. Change 55000 (55 °C) to something higher like 75000 (75 °C). 75 °C is the default in the example section of the config file. I personally set it to 90000 (90 °C). In all of my days as a computer user and repairman I have never seen a cpu be damaged by heat. Basically at 100 °C your cpu locks up (in Windows you get a blue screen). Unless your overclocking I just don't see the need for the thermald at all. However, uninstalling it doesn't fix the issue as your kernel appears to have a built in module to do the same thing. Raising the default temp is the best course if you want your PC to operate at its best performance."



            "I upgraded my laptop cpu from an i7-4810mq to a i7-4940mx extreme edition cpu which operates at 3.1ghz normal and 3.8ghz quad turbo. Before changing the default temp my machine would turbo to 3.2ghz and 3.6ghz tops. After changing the default temp it now maxes out at the top turbo of 3.8ghz."



            UPDATE!!!!!!!!!!!



            I would like to add an update to my post on throttling cpus.
            Instead of changing the temp that thermald throttles at I now do the following...



            Remove thermald:




            sudo apt purge thermald




            According to the makers for thermald is was designed for cell phones which have NO cooling system at all. It was not made to run on laptops or desktops. On a laptop or desktop it will hurt performance. For me it caused even up to a full hard lockup.



            Blacklist throttling technologies - add the 3 lines to the file:




            sudo nano /etc/modprobe.d/blacklist-throttling.conf




            blacklist intel_powerclamp

            blacklist intel_rapl

            blacklist intel_rapl_perf



            save and exit nano with ctrl+o and then ctrl+x.



            Update all your ramdisks for all kernels:




            sudo update-initramfs -u -k all




            Test:
            reboot and make sure thermald is not running and none of the above intel throttling modules are running either.




            lsmod | grep -i intel




            Results:
            For the very time since I bought a gaming laptop and upgraded to a intel i7 4940mx I got the max speed of the laptop during heavy loads.
            I tested using handbrake, blender, and other heavy load software.
            While running i7z (sudo i7z) to view cpu speeds and turbo speeds there was no drop in speed due to throttling.






            share|improve this answer















            You are probably being bit by the thermald.



            Here is a copy of a post I made on the issue concerning linux Mint 18:



            "If you have a high performance and/or gaming PC you really need to set the default temperature used by Thermal Daemon to something higher than 55
            °C (131 °F). The example temperature in the config file is 75°C (167 °F), but some brilliant soul decided that the default for all PCs should be one temp of 55 °C. When processing videos with Handbrake I can hit 89 °C with all 8 threads at 100%. When you reach 55°C thermald starts throttling your PC which means it is going to take that much longer to get anything done. The hotter you get the more aggressive the method it uses to slow you down. I have had it literally do a hard lock up of my desktop it became so aggressive. The config file is in /etc/thermald/thermal-conf.xml."



            "Look for the first line. Change 55000 (55 °C) to something higher like 75000 (75 °C). 75 °C is the default in the example section of the config file. I personally set it to 90000 (90 °C). In all of my days as a computer user and repairman I have never seen a cpu be damaged by heat. Basically at 100 °C your cpu locks up (in Windows you get a blue screen). Unless your overclocking I just don't see the need for the thermald at all. However, uninstalling it doesn't fix the issue as your kernel appears to have a built in module to do the same thing. Raising the default temp is the best course if you want your PC to operate at its best performance."



            "I upgraded my laptop cpu from an i7-4810mq to a i7-4940mx extreme edition cpu which operates at 3.1ghz normal and 3.8ghz quad turbo. Before changing the default temp my machine would turbo to 3.2ghz and 3.6ghz tops. After changing the default temp it now maxes out at the top turbo of 3.8ghz."



            UPDATE!!!!!!!!!!!



            I would like to add an update to my post on throttling cpus.
            Instead of changing the temp that thermald throttles at I now do the following...



            Remove thermald:




            sudo apt purge thermald




            According to the makers for thermald is was designed for cell phones which have NO cooling system at all. It was not made to run on laptops or desktops. On a laptop or desktop it will hurt performance. For me it caused even up to a full hard lockup.



            Blacklist throttling technologies - add the 3 lines to the file:




            sudo nano /etc/modprobe.d/blacklist-throttling.conf




            blacklist intel_powerclamp

            blacklist intel_rapl

            blacklist intel_rapl_perf



            save and exit nano with ctrl+o and then ctrl+x.



            Update all your ramdisks for all kernels:




            sudo update-initramfs -u -k all




            Test:
            reboot and make sure thermald is not running and none of the above intel throttling modules are running either.




            lsmod | grep -i intel




            Results:
            For the very time since I bought a gaming laptop and upgraded to a intel i7 4940mx I got the max speed of the laptop during heavy loads.
            I tested using handbrake, blender, and other heavy load software.
            While running i7z (sudo i7z) to view cpu speeds and turbo speeds there was no drop in speed due to throttling.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Feb 8 at 0:48

























            answered May 27 '18 at 3:48









            Roger LawhornRoger Lawhorn

            562




            562

























                0














                I'm running Ubuntu 18.10 on a Dell XPS 13 (9365) with a CPU i7-7Y75.



                Since this laptop does not have a fan, cpu throttling put my CPU almost at rest (going from 3.5 Ghz to 1.1 Ghz and sometimes 900 Mhz).



                I solved it using this program:



                https://github.com/erpalma/throttled



                Good luck.






                share|improve this answer




























                  0














                  I'm running Ubuntu 18.10 on a Dell XPS 13 (9365) with a CPU i7-7Y75.



                  Since this laptop does not have a fan, cpu throttling put my CPU almost at rest (going from 3.5 Ghz to 1.1 Ghz and sometimes 900 Mhz).



                  I solved it using this program:



                  https://github.com/erpalma/throttled



                  Good luck.






                  share|improve this answer


























                    0












                    0








                    0







                    I'm running Ubuntu 18.10 on a Dell XPS 13 (9365) with a CPU i7-7Y75.



                    Since this laptop does not have a fan, cpu throttling put my CPU almost at rest (going from 3.5 Ghz to 1.1 Ghz and sometimes 900 Mhz).



                    I solved it using this program:



                    https://github.com/erpalma/throttled



                    Good luck.






                    share|improve this answer













                    I'm running Ubuntu 18.10 on a Dell XPS 13 (9365) with a CPU i7-7Y75.



                    Since this laptop does not have a fan, cpu throttling put my CPU almost at rest (going from 3.5 Ghz to 1.1 Ghz and sometimes 900 Mhz).



                    I solved it using this program:



                    https://github.com/erpalma/throttled



                    Good luck.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Feb 6 at 21:29









                    Philippe DelteilPhilippe Delteil

                    4921419




                    4921419























                        0














                        Your system is using intel_pstate driver and, instead of disabling it, you might want to take advantage of it.



                        Setting this driver's governor is very easy. To set all CPUs to maximum frequency, just use the following command:



                        echo 100 | sudo tee /sys/devices/system/cpu/intel_pstate/min_perf_pct


                        To do the opposite, and force low power on the CPUs, issue:



                        echo 20 | sudo tee /sys/devices/system/cpu/intel_pstate/max_perf_pct


                        Where 20 is the percentage of maximum performance you want to allow. Setting this to 10% will probably result in extremely sluggish GUI, but you can try and see.



                        Sources: kernel.org






                        share|improve this answer




























                          0














                          Your system is using intel_pstate driver and, instead of disabling it, you might want to take advantage of it.



                          Setting this driver's governor is very easy. To set all CPUs to maximum frequency, just use the following command:



                          echo 100 | sudo tee /sys/devices/system/cpu/intel_pstate/min_perf_pct


                          To do the opposite, and force low power on the CPUs, issue:



                          echo 20 | sudo tee /sys/devices/system/cpu/intel_pstate/max_perf_pct


                          Where 20 is the percentage of maximum performance you want to allow. Setting this to 10% will probably result in extremely sluggish GUI, but you can try and see.



                          Sources: kernel.org






                          share|improve this answer


























                            0












                            0








                            0







                            Your system is using intel_pstate driver and, instead of disabling it, you might want to take advantage of it.



                            Setting this driver's governor is very easy. To set all CPUs to maximum frequency, just use the following command:



                            echo 100 | sudo tee /sys/devices/system/cpu/intel_pstate/min_perf_pct


                            To do the opposite, and force low power on the CPUs, issue:



                            echo 20 | sudo tee /sys/devices/system/cpu/intel_pstate/max_perf_pct


                            Where 20 is the percentage of maximum performance you want to allow. Setting this to 10% will probably result in extremely sluggish GUI, but you can try and see.



                            Sources: kernel.org






                            share|improve this answer













                            Your system is using intel_pstate driver and, instead of disabling it, you might want to take advantage of it.



                            Setting this driver's governor is very easy. To set all CPUs to maximum frequency, just use the following command:



                            echo 100 | sudo tee /sys/devices/system/cpu/intel_pstate/min_perf_pct


                            To do the opposite, and force low power on the CPUs, issue:



                            echo 20 | sudo tee /sys/devices/system/cpu/intel_pstate/max_perf_pct


                            Where 20 is the percentage of maximum performance you want to allow. Setting this to 10% will probably result in extremely sluggish GUI, but you can try and see.



                            Sources: kernel.org







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered 14 mins ago









                            chronos00chronos00

                            339314




                            339314






























                                draft saved

                                draft discarded




















































                                Thanks for contributing an answer to Ask Ubuntu!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f971142%2fcannot-disable-cpu-throttling-on-ubuntu-16-04-lts%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

                                Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

                                Simple Scan not detecting my scanner (Brother DCP-7055W)Brother MFC-L2700DW printer can print, can't...