CPU governor not adhering to CPU Min/Max settings
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
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.
performance cpu cpufreq cpuinfo
add a comment |Â
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.
performance cpu cpufreq cpuinfo
Please don't use screenshots for terminal output. Instead, paste it into your question, select it, and press thebutton 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
add a comment |Â
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.
performance cpu cpufreq cpuinfo
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
performance cpu cpufreq cpuinfo
asked Jan 31 at 23:17
![](https://i.stack.imgur.com/0Q9C7.jpg?s=32&g=1)
![](https://i.stack.imgur.com/0Q9C7.jpg?s=32&g=1)
arkostin01
62
62
Please don't use screenshots for terminal output. Instead, paste it into your question, select it, and press thebutton 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
add a comment |Â
Please don't use screenshots for terminal output. Instead, paste it into your question, select it, and press thebutton 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
add a comment |Â
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.
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
add a comment |Â
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:
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).
add a comment |Â
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.
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
add a comment |Â
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.
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
add a comment |Â
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.
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.
answered Jan 31 at 23:35
![](https://i.stack.imgur.com/quzhv.png?s=32&g=1)
![](https://i.stack.imgur.com/quzhv.png?s=32&g=1)
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
add a comment |Â
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
add a comment |Â
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:
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).
add a comment |Â
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:
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).
add a comment |Â
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:
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).
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:
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).
answered Feb 1 at 3:29
![](https://i.stack.imgur.com/2SXNl.jpg?s=32&g=1)
![](https://i.stack.imgur.com/2SXNl.jpg?s=32&g=1)
WinEunuuchs2Unix
36.7k760138
36.7k760138
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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