CPU governor not adhering to CPU Min/Max settings

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












Tried to force CPU to run at max speed after it refused to do so under times when CPU usage definitely should be at max, did so by manually setting governor to 'performance'. This didn't work, CPU continued to run between 2.2-3.0 GHz out of the 3.2GHz allowed. After setting the minimum frequency for the 'performance' governor to 3.2GHz, this is what I get when I run cpufreq-info:



link to scrot



policy is that frequency should be between 3.2GHz and 3.2GHz, but four out of four cores are running at somewhere between 2.8 and 3.0 GHz.



Any help is appreciated.










share|improve this question





















  • Please don't use screenshots for terminal output. Instead, paste it into your question, select it, and press the button in the editor to format it properly.
    – Chai T. Rex
    Feb 1 at 2:44










  • What version of Ubuntu are you using?
    – Chai T. Rex
    Feb 1 at 2:44














up vote
1
down vote

favorite












Tried to force CPU to run at max speed after it refused to do so under times when CPU usage definitely should be at max, did so by manually setting governor to 'performance'. This didn't work, CPU continued to run between 2.2-3.0 GHz out of the 3.2GHz allowed. After setting the minimum frequency for the 'performance' governor to 3.2GHz, this is what I get when I run cpufreq-info:



link to scrot



policy is that frequency should be between 3.2GHz and 3.2GHz, but four out of four cores are running at somewhere between 2.8 and 3.0 GHz.



Any help is appreciated.










share|improve this question





















  • Please don't use screenshots for terminal output. Instead, paste it into your question, select it, and press the button in the editor to format it properly.
    – Chai T. Rex
    Feb 1 at 2:44










  • What version of Ubuntu are you using?
    – Chai T. Rex
    Feb 1 at 2:44












up vote
1
down vote

favorite









up vote
1
down vote

favorite











Tried to force CPU to run at max speed after it refused to do so under times when CPU usage definitely should be at max, did so by manually setting governor to 'performance'. This didn't work, CPU continued to run between 2.2-3.0 GHz out of the 3.2GHz allowed. After setting the minimum frequency for the 'performance' governor to 3.2GHz, this is what I get when I run cpufreq-info:



link to scrot



policy is that frequency should be between 3.2GHz and 3.2GHz, but four out of four cores are running at somewhere between 2.8 and 3.0 GHz.



Any help is appreciated.










share|improve this question













Tried to force CPU to run at max speed after it refused to do so under times when CPU usage definitely should be at max, did so by manually setting governor to 'performance'. This didn't work, CPU continued to run between 2.2-3.0 GHz out of the 3.2GHz allowed. After setting the minimum frequency for the 'performance' governor to 3.2GHz, this is what I get when I run cpufreq-info:



link to scrot



policy is that frequency should be between 3.2GHz and 3.2GHz, but four out of four cores are running at somewhere between 2.8 and 3.0 GHz.



Any help is appreciated.







performance cpu cpufreq cpuinfo






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 31 at 23:17









arkostin01

62




62











  • Please don't use screenshots for terminal output. Instead, paste it into your question, select it, and press the button in the editor to format it properly.
    – Chai T. Rex
    Feb 1 at 2:44










  • What version of Ubuntu are you using?
    – Chai T. Rex
    Feb 1 at 2:44
















  • Please don't use screenshots for terminal output. Instead, paste it into your question, select it, and press the button in the editor to format it properly.
    – Chai T. Rex
    Feb 1 at 2:44










  • What version of Ubuntu are you using?
    – Chai T. Rex
    Feb 1 at 2:44















Please don't use screenshots for terminal output. Instead, paste it into your question, select it, and press the button in the editor to format it properly.
– Chai T. Rex
Feb 1 at 2:44




Please don't use screenshots for terminal output. Instead, paste it into your question, select it, and press the button in the editor to format it properly.
– Chai T. Rex
Feb 1 at 2:44












What version of Ubuntu are you using?
– Chai T. Rex
Feb 1 at 2:44




What version of Ubuntu are you using?
– Chai T. Rex
Feb 1 at 2:44










2 Answers
2






active

oldest

votes

















up vote
1
down vote













Please know that even with the governor set to performance, the processor can decide by itself to back-off the CPU frequency under conditions of no, or very little, load. Also, and depending on your actual processor model number, the maximum turbo frequency might be reduced if multiple cores are active at the same time. Use turbostat (I think part of linux-tools-common)to know for certain what is going on.






share|improve this answer




















  • running turbostat gives me a bunch of stuff, among which I found the following; cpu2: MSR_TURBO_RATIO_LIMIT: 0x1c1d1e20 28 * 100.0 = 2800.0 MHz max turbo 4 active cores 29 * 100.0 = 2900.0 MHz max turbo 3 active cores 30 * 100.0 = 3000.0 MHz max turbo 2 active cores 32 * 100.0 = 3200.0 MHz max turbo 1 active cores This would explain why my cores all run at 2.8GHz at times when CPU really needs to kick in. How would I go about changing these values, if possible?
    – arkostin01
    Feb 1 at 0:20











  • It is not possible to change those.
    – Doug Smythies
    Feb 1 at 0:49

















up vote
0
down vote













Install stress test to get maximum frequency



If you want to see your CPU running at full speed run a stress test. From this answer: How do I stress test CPU and RAM (at the same time)? you can install stress using:



sudo apt install stress


Then stress test your CPU and RAM using:



stress --cpu 8 --io 4 --vm 4 --vm-bytes 1024M --timeout 20s


Even when set to powersave instead of performance you can see by running top or in my case conky the CPUs max out at top turbo speed:



stress 30 seconds.gif



The display starts out for a few seconds running around 1100 MHz at 50 degrees Celsius watching a Dr. Who Video on one screen and four Firefox tabs open on the other screen.



Then the stress test engages and temperatures spike to 80 degrees Celsius with all four cores (8 virtual CPUs) running at 3100 MHz. From Intel's wikipage for the i7 6700HQ:



turbo frequency (1 core) 3,500 MHz (3.5 GHz, 3,500,000 kHz) +
turbo frequency (2 cores) 3,300 MHz (3.3 GHz, 3,300,000 kHz) +
turbo frequency (3 cores) 3,200 MHz (3.2 GHz, 3,200,000 kHz) +
turbo frequency (4 cores) 3,100 MHz (3.1 GHz, 3,100,000 kHz) +


Although published top speed is 3.5 GHz (3500 MHz) with turbo that is for a single core and we have all four cores running at max which is 3.1 GHz (3100 MHz).






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',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    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%2f1001896%2fcpu-governor-not-adhering-to-cpu-min-max-settings%23new-answer', 'question_page');

    );

    Post as a guest






























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote













    Please know that even with the governor set to performance, the processor can decide by itself to back-off the CPU frequency under conditions of no, or very little, load. Also, and depending on your actual processor model number, the maximum turbo frequency might be reduced if multiple cores are active at the same time. Use turbostat (I think part of linux-tools-common)to know for certain what is going on.






    share|improve this answer




















    • running turbostat gives me a bunch of stuff, among which I found the following; cpu2: MSR_TURBO_RATIO_LIMIT: 0x1c1d1e20 28 * 100.0 = 2800.0 MHz max turbo 4 active cores 29 * 100.0 = 2900.0 MHz max turbo 3 active cores 30 * 100.0 = 3000.0 MHz max turbo 2 active cores 32 * 100.0 = 3200.0 MHz max turbo 1 active cores This would explain why my cores all run at 2.8GHz at times when CPU really needs to kick in. How would I go about changing these values, if possible?
      – arkostin01
      Feb 1 at 0:20











    • It is not possible to change those.
      – Doug Smythies
      Feb 1 at 0:49














    up vote
    1
    down vote













    Please know that even with the governor set to performance, the processor can decide by itself to back-off the CPU frequency under conditions of no, or very little, load. Also, and depending on your actual processor model number, the maximum turbo frequency might be reduced if multiple cores are active at the same time. Use turbostat (I think part of linux-tools-common)to know for certain what is going on.






    share|improve this answer




















    • running turbostat gives me a bunch of stuff, among which I found the following; cpu2: MSR_TURBO_RATIO_LIMIT: 0x1c1d1e20 28 * 100.0 = 2800.0 MHz max turbo 4 active cores 29 * 100.0 = 2900.0 MHz max turbo 3 active cores 30 * 100.0 = 3000.0 MHz max turbo 2 active cores 32 * 100.0 = 3200.0 MHz max turbo 1 active cores This would explain why my cores all run at 2.8GHz at times when CPU really needs to kick in. How would I go about changing these values, if possible?
      – arkostin01
      Feb 1 at 0:20











    • It is not possible to change those.
      – Doug Smythies
      Feb 1 at 0:49












    up vote
    1
    down vote










    up vote
    1
    down vote









    Please know that even with the governor set to performance, the processor can decide by itself to back-off the CPU frequency under conditions of no, or very little, load. Also, and depending on your actual processor model number, the maximum turbo frequency might be reduced if multiple cores are active at the same time. Use turbostat (I think part of linux-tools-common)to know for certain what is going on.






    share|improve this answer












    Please know that even with the governor set to performance, the processor can decide by itself to back-off the CPU frequency under conditions of no, or very little, load. Also, and depending on your actual processor model number, the maximum turbo frequency might be reduced if multiple cores are active at the same time. Use turbostat (I think part of linux-tools-common)to know for certain what is going on.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Jan 31 at 23:35









    Doug Smythies

    6,34631426




    6,34631426











    • running turbostat gives me a bunch of stuff, among which I found the following; cpu2: MSR_TURBO_RATIO_LIMIT: 0x1c1d1e20 28 * 100.0 = 2800.0 MHz max turbo 4 active cores 29 * 100.0 = 2900.0 MHz max turbo 3 active cores 30 * 100.0 = 3000.0 MHz max turbo 2 active cores 32 * 100.0 = 3200.0 MHz max turbo 1 active cores This would explain why my cores all run at 2.8GHz at times when CPU really needs to kick in. How would I go about changing these values, if possible?
      – arkostin01
      Feb 1 at 0:20











    • It is not possible to change those.
      – Doug Smythies
      Feb 1 at 0:49
















    • running turbostat gives me a bunch of stuff, among which I found the following; cpu2: MSR_TURBO_RATIO_LIMIT: 0x1c1d1e20 28 * 100.0 = 2800.0 MHz max turbo 4 active cores 29 * 100.0 = 2900.0 MHz max turbo 3 active cores 30 * 100.0 = 3000.0 MHz max turbo 2 active cores 32 * 100.0 = 3200.0 MHz max turbo 1 active cores This would explain why my cores all run at 2.8GHz at times when CPU really needs to kick in. How would I go about changing these values, if possible?
      – arkostin01
      Feb 1 at 0:20











    • It is not possible to change those.
      – Doug Smythies
      Feb 1 at 0:49















    running turbostat gives me a bunch of stuff, among which I found the following; cpu2: MSR_TURBO_RATIO_LIMIT: 0x1c1d1e20 28 * 100.0 = 2800.0 MHz max turbo 4 active cores 29 * 100.0 = 2900.0 MHz max turbo 3 active cores 30 * 100.0 = 3000.0 MHz max turbo 2 active cores 32 * 100.0 = 3200.0 MHz max turbo 1 active cores This would explain why my cores all run at 2.8GHz at times when CPU really needs to kick in. How would I go about changing these values, if possible?
    – arkostin01
    Feb 1 at 0:20





    running turbostat gives me a bunch of stuff, among which I found the following; cpu2: MSR_TURBO_RATIO_LIMIT: 0x1c1d1e20 28 * 100.0 = 2800.0 MHz max turbo 4 active cores 29 * 100.0 = 2900.0 MHz max turbo 3 active cores 30 * 100.0 = 3000.0 MHz max turbo 2 active cores 32 * 100.0 = 3200.0 MHz max turbo 1 active cores This would explain why my cores all run at 2.8GHz at times when CPU really needs to kick in. How would I go about changing these values, if possible?
    – arkostin01
    Feb 1 at 0:20













    It is not possible to change those.
    – Doug Smythies
    Feb 1 at 0:49




    It is not possible to change those.
    – Doug Smythies
    Feb 1 at 0:49












    up vote
    0
    down vote













    Install stress test to get maximum frequency



    If you want to see your CPU running at full speed run a stress test. From this answer: How do I stress test CPU and RAM (at the same time)? you can install stress using:



    sudo apt install stress


    Then stress test your CPU and RAM using:



    stress --cpu 8 --io 4 --vm 4 --vm-bytes 1024M --timeout 20s


    Even when set to powersave instead of performance you can see by running top or in my case conky the CPUs max out at top turbo speed:



    stress 30 seconds.gif



    The display starts out for a few seconds running around 1100 MHz at 50 degrees Celsius watching a Dr. Who Video on one screen and four Firefox tabs open on the other screen.



    Then the stress test engages and temperatures spike to 80 degrees Celsius with all four cores (8 virtual CPUs) running at 3100 MHz. From Intel's wikipage for the i7 6700HQ:



    turbo frequency (1 core) 3,500 MHz (3.5 GHz, 3,500,000 kHz) +
    turbo frequency (2 cores) 3,300 MHz (3.3 GHz, 3,300,000 kHz) +
    turbo frequency (3 cores) 3,200 MHz (3.2 GHz, 3,200,000 kHz) +
    turbo frequency (4 cores) 3,100 MHz (3.1 GHz, 3,100,000 kHz) +


    Although published top speed is 3.5 GHz (3500 MHz) with turbo that is for a single core and we have all four cores running at max which is 3.1 GHz (3100 MHz).






    share|improve this answer
























      up vote
      0
      down vote













      Install stress test to get maximum frequency



      If you want to see your CPU running at full speed run a stress test. From this answer: How do I stress test CPU and RAM (at the same time)? you can install stress using:



      sudo apt install stress


      Then stress test your CPU and RAM using:



      stress --cpu 8 --io 4 --vm 4 --vm-bytes 1024M --timeout 20s


      Even when set to powersave instead of performance you can see by running top or in my case conky the CPUs max out at top turbo speed:



      stress 30 seconds.gif



      The display starts out for a few seconds running around 1100 MHz at 50 degrees Celsius watching a Dr. Who Video on one screen and four Firefox tabs open on the other screen.



      Then the stress test engages and temperatures spike to 80 degrees Celsius with all four cores (8 virtual CPUs) running at 3100 MHz. From Intel's wikipage for the i7 6700HQ:



      turbo frequency (1 core) 3,500 MHz (3.5 GHz, 3,500,000 kHz) +
      turbo frequency (2 cores) 3,300 MHz (3.3 GHz, 3,300,000 kHz) +
      turbo frequency (3 cores) 3,200 MHz (3.2 GHz, 3,200,000 kHz) +
      turbo frequency (4 cores) 3,100 MHz (3.1 GHz, 3,100,000 kHz) +


      Although published top speed is 3.5 GHz (3500 MHz) with turbo that is for a single core and we have all four cores running at max which is 3.1 GHz (3100 MHz).






      share|improve this answer






















        up vote
        0
        down vote










        up vote
        0
        down vote









        Install stress test to get maximum frequency



        If you want to see your CPU running at full speed run a stress test. From this answer: How do I stress test CPU and RAM (at the same time)? you can install stress using:



        sudo apt install stress


        Then stress test your CPU and RAM using:



        stress --cpu 8 --io 4 --vm 4 --vm-bytes 1024M --timeout 20s


        Even when set to powersave instead of performance you can see by running top or in my case conky the CPUs max out at top turbo speed:



        stress 30 seconds.gif



        The display starts out for a few seconds running around 1100 MHz at 50 degrees Celsius watching a Dr. Who Video on one screen and four Firefox tabs open on the other screen.



        Then the stress test engages and temperatures spike to 80 degrees Celsius with all four cores (8 virtual CPUs) running at 3100 MHz. From Intel's wikipage for the i7 6700HQ:



        turbo frequency (1 core) 3,500 MHz (3.5 GHz, 3,500,000 kHz) +
        turbo frequency (2 cores) 3,300 MHz (3.3 GHz, 3,300,000 kHz) +
        turbo frequency (3 cores) 3,200 MHz (3.2 GHz, 3,200,000 kHz) +
        turbo frequency (4 cores) 3,100 MHz (3.1 GHz, 3,100,000 kHz) +


        Although published top speed is 3.5 GHz (3500 MHz) with turbo that is for a single core and we have all four cores running at max which is 3.1 GHz (3100 MHz).






        share|improve this answer












        Install stress test to get maximum frequency



        If you want to see your CPU running at full speed run a stress test. From this answer: How do I stress test CPU and RAM (at the same time)? you can install stress using:



        sudo apt install stress


        Then stress test your CPU and RAM using:



        stress --cpu 8 --io 4 --vm 4 --vm-bytes 1024M --timeout 20s


        Even when set to powersave instead of performance you can see by running top or in my case conky the CPUs max out at top turbo speed:



        stress 30 seconds.gif



        The display starts out for a few seconds running around 1100 MHz at 50 degrees Celsius watching a Dr. Who Video on one screen and four Firefox tabs open on the other screen.



        Then the stress test engages and temperatures spike to 80 degrees Celsius with all four cores (8 virtual CPUs) running at 3100 MHz. From Intel's wikipage for the i7 6700HQ:



        turbo frequency (1 core) 3,500 MHz (3.5 GHz, 3,500,000 kHz) +
        turbo frequency (2 cores) 3,300 MHz (3.3 GHz, 3,300,000 kHz) +
        turbo frequency (3 cores) 3,200 MHz (3.2 GHz, 3,200,000 kHz) +
        turbo frequency (4 cores) 3,100 MHz (3.1 GHz, 3,100,000 kHz) +


        Although published top speed is 3.5 GHz (3500 MHz) with turbo that is for a single core and we have all four cores running at max which is 3.1 GHz (3100 MHz).







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 1 at 3:29









        WinEunuuchs2Unix

        36.7k760138




        36.7k760138



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1001896%2fcpu-governor-not-adhering-to-cpu-min-max-settings%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            pylint3 and pip3 broken

            Missing snmpget and snmpwalk

            How to enroll fingerprints to Ubuntu 17.10 with VFS491