Cannot remove Intel i7 turbo mode

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
sangorys
Level 1
Level 1
Posts: 14
Joined: Sat Jul 20, 2013 11:29 am

Cannot remove Intel i7 turbo mode

Post by sangorys »

Hello,

I tried everything during 4 months. Now, I am exhausted and I need your help !!! :shock:


My Intel i7 is at 2.7 GHz of max speed and 3.7 GHz in turbo : I have an old laptop and :
  • the CPU is between 70 and 80 °C
  • the fan is at maximum speed
  • battery does not last a lot

I wrote :

Code: Select all

/sys/devices/system/cpu/intel_pstate/no_turbo = 1
but it has no impact :

Code: Select all

cat /proc/cpuinfo | grep MHz

cpu MHz		: 3587.480
cpu MHz		: 3590.822
cpu MHz		: 3548.793
cpu MHz		: 3645.157
cpu MHz		: 3518.989
cpu MHz		: 3547.966
cpu MHz		: 3641.665
cpu MHz		: 3559.185
and

Code: Select all

/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq=3700000

Please help me. It seems I have something really difficult to solve... :?
Last edited by sangorys on Thu Jan 23, 2020 4:35 pm, edited 2 times in total.

User avatar
JerryF
Level 12
Level 12
Posts: 4072
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Cannot remove Intel i7 turbo mode

Post by JerryF »

One thing I would check is the vent for the fan. My laptop's vent got so blocked that the bottom would almost burn my lap.
IF your problem has been solved, please edit your ORIGINAL post and add [SOLVED] to the beginning of the Subject Line. It helps other members when browsing posts.

User avatar
smurphos
Level 14
Level 14
Posts: 5257
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: Cannot remove Intel i7 turbo mode

Post by smurphos »

sangorys wrote:
Fri Jan 10, 2020 5:01 pm

Code: Select all

/sys/devices/system/cpu/intel_pstate/no_turbo = 1
Please help me. It seems I have something really difficult to solve... :?
You can try this command...

Code: Select all

echo "1" | sudo tee /sys/devices/system/cpu/intel_pstate/no_turbo
Or you can check if your BIOS has a setting to disable it

But in your shoes I'd be more interested in why your processor run full pelt all the time.

What do these commands return?

Code: Select all

cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_driver

Code: Select all

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Also what's the output of

Code: Select all

inxi -Fxxxz
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.

sangorys
Level 1
Level 1
Posts: 14
Joined: Sat Jul 20, 2013 11:29 am

Re: Cannot remove Intel i7 turbo mode

Post by sangorys »

First, thanks for helping me !!! :)

There is no option in the Bios to disable the turbo mode :(

The command is the one I assigned in my startup :

Code: Select all

echo "1" | sudo tee /sys/devices/system/cpu/intel_pstate/no_turbo
I execute it again and there is no change. It worked because

Code: Select all

cat /sys/devices/system/cpu/intel_pstate/no_turbo
1

The command scaling_driver .

Code: Select all

cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_driver
intel_pstate
intel_pstate
intel_pstate
intel_pstate
intel_pstate
intel_pstate
intel_pstate
intel_pstate

The command scaling_governor :

Code: Select all

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
powersave

The information of my computer :

Code: Select all

inxi -Fxxxz
System:
Host: sangorys-ThinkPad-W530 Kernel: 5.0.0-32-generic x86_64 bits: 64
compiler: gcc v: 7.4.0 Desktop: Cinnamon 4.4.8 wm: muffin 4.4.2
dm: LightDM 1.26.0 Distro: Linux Mint 19.3 Tricia
base: Ubuntu 18.04 bionic
Machine:
Type: Laptop System: LENOVO product: 2447MG3 v: ThinkPad W530
serial: <filter> Chassis: type: 10 serial: <filter>
Mobo: LENOVO model: 2447MG3 serial: <filter> UEFI: LENOVO
v: G5ETB5WW (2.75 ) date: 06/10/2019
Battery:
ID-1: BAT0 charge: 36.1 Wh condition: 36.5/86.6 Wh (42%) volts: 12.4/11.1
model: LGC 45N1011 type: Li-ion serial: <filter> status: Unknown
CPU:
Topology: Quad Core model: Intel Core i7-3740QM bits: 64 type: MT MCP
arch: Ivy Bridge rev: 9 L2 cache: 6144 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 43099
Speed: 3505 MHz min/max: 1200/2700 MHz Core speeds (MHz): 1: 3500 2: 3524
3: 3503 4: 3554 5: 3493 6: 3493 7: 3494 8: 3505
Graphics:
Device-1: Intel 3rd Gen Core processor Graphics vendor: Lenovo
driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:0166
Device-2: NVIDIA GK107GLM [Quadro K2000M] vendor: Lenovo driver: nouveau
v: kernel bus ID: 01:00.0 chip ID: 10de:0ffb
Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,vesa
resolution: 1920x1200~60Hz, 1920x1200~60Hz
OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile v: 4.2 Mesa 19.0.8
compat-v: 3.0 direct render: Yes
Audio:
Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Lenovo
driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:1e20
Device-2: NVIDIA GK107 HDMI Audio vendor: Lenovo driver: snd_hda_intel
v: kernel bus ID: 01:00.1 chip ID: 10de:0e1b
Sound Server: ALSA v: k5.0.0-32-generic
Network:
Device-1: Intel 82579LM Gigabit Network vendor: Lenovo driver: e1000e
v: 3.2.6-k port: 6060 bus ID: 00:19.0 chip ID: 8086:1502
IF: enp0s25 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-2: Intel Centrino Advanced-N 6205 [Taylor Peak] driver: iwlwifi
v: kernel port: 5000 bus ID: 03:00.0 chip ID: 8086:0085
IF: wlp3s0 state: down mac: <filter>
Drives:
Local Storage: total: 931.52 GiB used: 457.98 GiB (49.2%)
ID-1: /dev/sda vendor: Crucial model: CT500MX500SSD1 size: 465.76 GiB
speed: 6.0 Gb/s serial: <filter> rev: 023 temp: 38 C scheme: GPT
ID-2: /dev/sdb vendor: HGST (Hitachi) model: HTS725050A7E630
size: 465.76 GiB speed: 6.0 Gb/s rotation: 7200 rpm serial: <filter>
rev: B550 temp: 24 C scheme: MBR
Partition:
ID-1: / size: 35.89 GiB used: 13.80 GiB (38.5%) fs: ext4 dev: /dev/sda3
Sensors:
System Temperatures: cpu: 65.0 C mobo: N/A gpu: nouveau temp: 50 C
Fan Speeds (RPM): cpu: 3374
Info:
Processes: 326 Uptime: 2d 17h 27m Memory: 31.23 GiB used: 4.70 GiB (15.1%)
Init: systemd v: 237 runlevel: 5 Compilers: gcc: 7.4.0 alt: 7 Shell: bash
v: 4.4.20 running in: gnome-terminal inxi: 3.0.32

User avatar
smurphos
Level 14
Level 14
Posts: 5257
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: Cannot remove Intel i7 turbo mode

Post by smurphos »

sangorys wrote:
Sat Jan 11, 2020 9:33 am

Code: Select all

  Speed: 3505 MHz min/max: 1200/2700 MHz Core speeds (MHz): 1: 3500 2: 3524 
  3: 3503 4: 3554 5: 3493 6: 3493 7: 3494 8: 3505 
It's interesting that the processor is running at a higher frequency that the max reported.

For comparison on my 8th gen CPU running in the default powersave mode - so presumably for yourt CPU 2700 Mhz should be the maximum with intel turbo off...

With turbo off

Code: Select all

steve@steve-Inspiron-5580:~$ cat /sys/devices/system/cpu/intel_pstate/no_turbo
1

Code: Select all

steve@steve-Inspiron-5580:~$ inxi -Cxxxz
CPU:       Topology: Quad Core model: Intel Core i5-8265U bits: 64 type: MT MCP arch: Kaby Lake rev: B 
           L2 cache: 6144 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 28800 
           Speed: 1227 MHz min/max: 400/1600 MHz Core speeds (MHz): 1: 776 2: 761 3: 781 4: 750 5: 751 6: 724 7: 798 
           8: 794 
Under load (converting a vid with handbrake)

Code: Select all

steve@steve-Inspiron-5580:~$ inxi -Cxxxz
CPU:       Topology: Quad Core model: Intel Core i5-8265U bits: 64 type: MT MCP arch: Kaby Lake rev: B 
           L2 cache: 6144 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 28800 
           Speed: 1600 MHz min/max: 400/1600 MHz Core speeds (MHz): 1: 1600 2: 1600 3: 1600 4: 1600 5: 1600 6: 1600 
           7: 1600 8: 1600 
With turbo on

Code: Select all

steve@steve-Inspiron-5580:~$ cat /sys/devices/system/cpu/intel_pstate/no_turbo
0

Code: Select all

steve@steve-Inspiron-5580:~$ inxi -Cxxxz
CPU:       Topology: Quad Core model: Intel Core i5-8265U bits: 64 type: MT MCP arch: Kaby Lake rev: B 
           L2 cache: 6144 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 28800 
           Speed: 744 MHz min/max: 400/3900 MHz Core speeds (MHz): 1: 746 2: 736 3: 772 4: 741 5: 711 6: 714 7: 724 
           8: 798 
Under load (converting a vid with handbrake). Not sure why mine pegs at 2200Mhz...

Code: Select all

steve@steve-Inspiron-5580:~$ inxi -Cxxxz
CPU:       Topology: Quad Core model: Intel Core i5-8265U bits: 64 type: MT MCP arch: Kaby Lake rev: B 
           L2 cache: 6144 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 28800 
           Speed: 2200 MHz min/max: 400/3900 MHz Core speeds (MHz): 1: 2200 2: 2200 3: 2200 4: 2200 5: 2200 6: 2200 
           7: 2200 8: 2200 
Still interested in what processes are driving the CPU use up. What does this command return?

Code: Select all

top -n3
Edit to add - any reason for not updating the kernel?
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.

sangorys
Level 1
Level 1
Posts: 14
Joined: Sat Jul 20, 2013 11:29 am

Re: Cannot remove Intel i7 turbo mode

Post by sangorys »

Yes indeed, my issue is that the frequency of my CPU is higher to the high / top frequency !!!


The return of the command top -n3

Code: Select all

  PID UTIL.     PR  NI    VIRT    RES    SHR S  %CPU %MEM    TEMPS+ COM.        
 8019 sangorys  20   0  731616 236964 187804 S   7,6  0,7   2:19.51 slimjet     
 4005 sangorys  20   0 3240704 360716 143388 S   5,6  1,1   4:01.90 thunderbird 
 8661 sangorys  20   0 1194760 258192  89156 S   5,6  0,8   2:52.97 slimjet     
 1818 sangorys  20   0 3747912 204600 113560 S   4,3  0,6   1:56.66 cinnamon    
 1192 root      20   0  954148 189468 156400 S   3,6  0,6   2:38.56 Xorg        
10046 sangorys  20   0  764120 123700  78480 S   3,0  0,4   0:19.15 slimjet     
10464 sangorys  20   0  791540 142320  85128 S   2,3  0,4   0:08.45 slimjet     
 8649 sangorys  20   0  918848 237956  86488 S   2,0  0,7   1:04.74 slimjet     
   13 root      20   0       0      0      0 I   0,3  0,0   0:01.29 kworker/0:+ 
 1901 sangorys  20   0 1166748 197916 115292 S   0,3  0,6   0:16.63 brave       
 3351 sangorys  20   0  943616 237892 123144 S   0,3  0,7   0:21.93 brave       
 7947 sangorys  20   0 1189948 313892 125660 S   0,3  1,0   1:11.25 slimjet     
 8258 sangorys  20   0  793108 114928  79156 S   0,3  0,4   0:04.34 slimjet     
10640 sangorys  20   0   45696   4420   3528 R   0,3  0,0   0:00.04 top         
    1 root      20   0  225496   9256   6640 S   0,0  0,0   0:02.53 systemd     
    2 root      20   0       0      0      0 S   0,0  0,0   0:00.00 kthreadd    
    3 root       0 -20       0      0      0 I   0,0  0,0   0:00.00 rcu_gp  

sangorys
Level 1
Level 1
Posts: 14
Joined: Sat Jul 20, 2013 11:29 am

Re: Cannot remove Intel i7 turbo mode

Post by sangorys »

Any advice ? How to solve my isse ?

gittiest personITW
Level 6
Level 6
Posts: 1121
Joined: Tue May 28, 2019 4:27 pm

Re: Cannot remove Intel i7 turbo mode

Post by gittiest personITW »

I know you've checked the BIOS but can you check again and look for Speedstep or Turbo or CPU or Power settings.

Did it work ok in Windows?

User avatar
smurphos
Level 14
Level 14
Posts: 5257
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: Cannot remove Intel i7 turbo mode

Post by smurphos »

sangorys wrote:
Thu Jan 16, 2020 4:35 pm
Any advice ? How to solve my isse ?
Did you apply pending updates? I noted you were on the default install kernel which means you are also missing Intel microcode.

Might not help, but it's something to check off the tick list.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.

sangorys
Level 1
Level 1
Posts: 14
Joined: Sat Jul 20, 2013 11:29 am

Re: Cannot remove Intel i7 turbo mode

Post by sangorys »

smurphos wrote:
Fri Jan 17, 2020 1:35 am
sangorys wrote:
Thu Jan 16, 2020 4:35 pm
Did you apply pending updates? I noted you were on the default install kernel which means you are also missing Intel microcode.

I installed 5.0.0-37-generic kernel and I thought that I solved my issue because my CPU was less hot and the fan was quiet !!!

I made a reboot and my issue is still present. I really don't understand what is wrong !!! :(

another question : how did you find out the the microcode was missing :?:

User avatar
smurphos
Level 14
Level 14
Posts: 5257
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: Cannot remove Intel i7 turbo mode

Post by smurphos »

sangorys wrote:
Thu Jan 23, 2020 4:04 pm
another question : how did you find out the the microcode was missing :?:
Because I know it's not installed out of the box in Mint, but only comes in with the first kernel update applied.

A google search for i7-3740QM p-state may be informative / helpful. It seems you are not alone in seeing anomalous behaviour with this particular CPU and the p-state driver.

https://forums.gentoo.org/viewtopic-t-1 ... art-0.html
https://www.reddit.com/r/thinkpad/comme ... mperature/
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.

Post Reply

Return to “Hardware Support”