[SOLVED] CPU frequency Applet

Add functionality to your desktop
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
sirlitoldo

[SOLVED] CPU frequency Applet

Post by sirlitoldo »

Dear, sorry for my english: I upgrade mint 17.1 up to mint 17.2 and now this applet do not work (show the frequency but do not able to change the frequency). Before the upgrade this applet work really well and was very helpfull!!! PLS BE SO KIND TO HELP ME IN ORDER TO SOLVE THIS MATTER.
Lorenzo (Italy)
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Laurent85
Level 17
Level 17
Posts: 7081
Joined: Tue May 26, 2015 10:11 am

Re: CPU frequency Applet

Post by Laurent85 »

Open a terminal and post back command results:

Code: Select all

inxi -Fxz
Image
sirlitoldo

Re: CPU frequency Applet

Post by sirlitoldo »

Thks Laurent, herebelow the post:

System: Host: VPCCA3C5E Kernel: 3.13.0-37-generic x86_64 (64 bit, gcc: 4.8.2)
Desktop: Cinnamon 2.6.13 Distro: Linux Mint 17.2 Rafaela
Machine: System: Sony (portable) product: VPCCA3C5E version: C60A6TMJ
Mobo: Sony model: VAIO Bios: American Megatrends version: R2100V2 date: 08/24/2011
CPU: Dual core Intel Core i7-2640M CPU (-HT-MCP-) cache: 4096 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 11174.7
Clock Speeds: 1: 800.00 MHz 2: 1200.00 MHz 3: 800.00 MHz 4: 800.00 MHz
Graphics: Card-1: Intel 2nd Generation Core Processor Family Integrated Graphics Controller bus-ID: 00:02.0
Card-2: Advanced Micro Devices [AMD/ATI] Whistler [Radeon HD 6630M/6650M/6750M/7670M/7690M] bus-ID: 01:00.0
X.Org: 1.15.1 drivers: ati,radeon,intel (unloaded: fbdev,vesa) Resolution: 1600x900@60.0hz
GLX Renderer: Mesa DRI Intel Sandybridge Mobile GLX Version: 3.0 Mesa 10.1.3 Direct Rendering: Yes
Audio: Card: Intel 6 Series/C200 Series Family High Definition Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
Sound: Advanced Linux Sound Architecture ver: k3.13.0-37-generic
Network: Card-1: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet driver: atl1c ver: 1.0.1.1-NAPI port: 9000 bus-ID: 05:00.0
IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Card-2: Qualcomm Atheros AR9485 Wireless Network Adapter driver: ath9k bus-ID: 02:00.0
IF: wlan0 state: down mac: <filter>
Drives: HDD Total Size: 512.1GB (6.1% used) 1: id: /dev/sda model: TS512GSSD370S size: 512.1GB
Partition: ID: / size: 50G used: 30G (63%) fs: ext4 ID: swap-1 size: 8.49GB used: 0.00GB (0%) fs: swap
RAID: No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors: System Temperatures: cpu: 46.0C mobo: 46.0C gpu: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 208 Uptime: 4 min Memory: 964.2/7894.8MB Runlevel: 2 Gcc sys: 4.8.4
Client: Shell (bash 4.3.11) inxi: 1.9.17
Laurent85
Level 17
Level 17
Posts: 7081
Joined: Tue May 26, 2015 10:11 am

Re: CPU frequency Applet

Post by Laurent85 »

Scaling governor applets are deprecated for new Intel processors starting with SandyBridge processors onward. You were using the old Acpi driver governor designed for early cpufreq capable processors many years ago.

Your cpu is SandyBridge architecture. Now processors implements their own scaling policy, they manage running frequency and power consumption on their own. The new user space driver interface is called intel pstate, Ubuntu used to disable pstate for some reasons hence allowing the use of deprecated driver for your cpu. Only Performance and Powersave governors are now available to user space, powersave governor now means leaving the cpu's own policy decides cpu throttle. Basically trying to force the old behavior is non sense, that's why old driver is now no more available.
Image
sirlitoldo

Re: CPU frequency Applet

Post by sirlitoldo »

Understood, so in your opinion no solution to return back to ACPI? or not safe?
but last question:
may I manage the default status between Performance and/or Powersave, or the governor decide upon me!!!
If I can mange, how to do it?
Thks again Laurent :D
Laurent85
Level 17
Level 17
Posts: 7081
Joined: Tue May 26, 2015 10:11 am

Re: CPU frequency Applet

Post by Laurent85 »

Hi sirlitoldo,
I would not recommend to force the old driver since it was designed for now old cpu's with different capabilities, I don't know about the consequences.
I manage the default status between Performance and/or Powersave
I think that if you select Performance the cpu always run at top frequency, using default Powersave governor the processor uses it's internal own policy for cpu throttle, I mean at the hardware level, you can't manage it at the user level. Things that do work are for example using cpufreq tools to cap top frequency to a lower level when throttling, or disabling turbo boost. I personally disable turbo boot for heat and power consumption concerns with close to no differences in terms of performances feeling.
Image
sirlitoldo

Re: CPU frequency Applet

Post by sirlitoldo »

Thks Laurent,
below find my situation:

cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Per favore, comunicare errori e malfunzionamenti a cpufreq@vger.kernel.org.
analisi della CPU 0:
modulo acpi-cpufreq
CPU che operano alla stessa frequenza hardware: 0
CPU che è necessario siano coordinate dal software: 0
latenza massima durante la transizione: 10.0 us.
limiti hardware: 800 MHz - 2.80 GHz
frequenze disponibili: 2.80 GHz, 2.80 GHz, 2.60 GHz, 2.40 GHz, 2.20 GHz, 2.00 GHz, 1.80 GHz, 1.60 GHz, 1.40 GHz, 1.20 GHz, 1000 MHz, 800 MHz
gestori disponibili: conservative, ondemand, userspace, powersave, performance
gestore attuale: la frequenza deve mantenersi tra 800 MHz e 2.80 GHz.
Il gestore "ondemand" può decidere quale velocità usare
in questo intervallo.
la frequenza attuale della CPU è 800 MHz.
statistiche cpufreq:2.80 GHz:4,35%, 2.80 GHz:0,27%, 2.60 GHz:0,39%, 2.40 GHz:0,32%, 2.20 GHz:0,40%, 2.00 GHz:0,51%, 1.80 GHz:0,59%, 1.60 GHz:0,82%, 1.40 GHz:1,01%, 1.20 GHz:1,28%, 1000 MHz:1,89%, 800 MHz:88,19% (27893)
analisi della CPU 1:
modulo acpi-cpufreq
CPU che operano alla stessa frequenza hardware: 1
CPU che è necessario siano coordinate dal software: 1
latenza massima durante la transizione: 10.0 us.
limiti hardware: 800 MHz - 2.80 GHz
frequenze disponibili: 2.80 GHz, 2.80 GHz, 2.60 GHz, 2.40 GHz, 2.20 GHz, 2.00 GHz, 1.80 GHz, 1.60 GHz, 1.40 GHz, 1.20 GHz, 1000 MHz, 800 MHz
gestori disponibili: conservative, ondemand, userspace, powersave, performance
gestore attuale: la frequenza deve mantenersi tra 800 MHz e 2.80 GHz.
Il gestore "ondemand" può decidere quale velocità usare
in questo intervallo.
la frequenza attuale della CPU è 1.20 GHz.
statistiche cpufreq:2.80 GHz:5,51%, 2.80 GHz:0,26%, 2.60 GHz:0,45%, 2.40 GHz:0,43%, 2.20 GHz:0,53%, 2.00 GHz:0,65%, 1.80 GHz:0,77%, 1.60 GHz:1,16%, 1.40 GHz:1,32%, 1.20 GHz:1,73%, 1000 MHz:2,42%, 800 MHz:84,77% (32488)
analisi della CPU 2:
modulo acpi-cpufreq
CPU che operano alla stessa frequenza hardware: 2
CPU che è necessario siano coordinate dal software: 2
latenza massima durante la transizione: 10.0 us.
limiti hardware: 800 MHz - 2.80 GHz
frequenze disponibili: 2.80 GHz, 2.80 GHz, 2.60 GHz, 2.40 GHz, 2.20 GHz, 2.00 GHz, 1.80 GHz, 1.60 GHz, 1.40 GHz, 1.20 GHz, 1000 MHz, 800 MHz
gestori disponibili: conservative, ondemand, userspace, powersave, performance
gestore attuale: la frequenza deve mantenersi tra 800 MHz e 2.80 GHz.
Il gestore "ondemand" può decidere quale velocità usare
in questo intervallo.
la frequenza attuale della CPU è 800 MHz.
statistiche cpufreq:2.80 GHz:5,04%, 2.80 GHz:0,34%, 2.60 GHz:0,51%, 2.40 GHz:0,33%, 2.20 GHz:0,40%, 2.00 GHz:0,46%, 1.80 GHz:0,63%, 1.60 GHz:0,90%, 1.40 GHz:1,09%, 1.20 GHz:1,48%, 1000 MHz:1,89%, 800 MHz:86,93% (31662)
analisi della CPU 3:
modulo acpi-cpufreq
CPU che operano alla stessa frequenza hardware: 3
CPU che è necessario siano coordinate dal software: 3
latenza massima durante la transizione: 10.0 us.
limiti hardware: 800 MHz - 2.80 GHz
frequenze disponibili: 2.80 GHz, 2.80 GHz, 2.60 GHz, 2.40 GHz, 2.20 GHz, 2.00 GHz, 1.80 GHz, 1.60 GHz, 1.40 GHz, 1.20 GHz, 1000 MHz, 800 MHz
gestori disponibili: conservative, ondemand, userspace, powersave, performance
gestore attuale: la frequenza deve mantenersi tra 800 MHz e 2.80 GHz.
Il gestore "ondemand" può decidere quale velocità usare
in questo intervallo.
la frequenza attuale della CPU è 800 MHz.
statistiche cpufreq:2.80 GHz:5,85%, 2.80 GHz:0,36%, 2.60 GHz:0,57%, 2.40 GHz:0,36%, 2.20 GHz:0,54%, 2.00 GHz:0,43%, 1.80 GHz:0,55%, 1.60 GHz:0,82%, 1.40 GHz:0,93%, 1.20 GHz:1,20%, 1000 MHz:1,63%, 800 MHz:86,76% (26150)

NOW: in order to fix the max frequency of all 4 cpus to 2,6GHz, shall I write in terminal:
sudo cpufreq-set -u 2.6Ghz


IS this correct?
How can I close this topic? or is not my rule?
Lorenzo
Laurent85
Level 17
Level 17
Posts: 7081
Joined: Tue May 26, 2015 10:11 am

Re: CPU frequency Applet

Post by Laurent85 »

Hi sirlitoldo
modulo acpi-cpufreq
Hmm I see you forced the deprecated driver, it's up to you ;)
NOW: in order to fix the max frequency of all 4 cpus to 2,6GHz, shall I write in terminal:
sudo cpufreq-set -u 2.6Ghz
Here is the command to set the upper limit for all cpu's to 2.6 GHz:

Code: Select all

for cpu in $(gawk '/processor/ {print $3}' /proc/cpuinfo); do sudo cpufreq-set -c $cpu -u 2.6GHz; done
How can I close this topic?
Edit your first post and add [SOLVED] to the topic.
Image
sirlitoldo

Re: CPU frequency Applet

Post by sirlitoldo »

Ok Laurent, thks for all, may I close the topic or the administrator put it in "solved"?
Thks 10005 for your support and your time, all the best.
Linux Mint 4ever
Laurent85
Level 17
Level 17
Posts: 7081
Joined: Tue May 26, 2015 10:11 am

Re: CPU frequency Applet

Post by Laurent85 »

Thanks sirlitoldo
You can edit your first post and append [SOLVED] to the topic.
Image
sirlitoldo

Re: [SOLVED] CPU frequency Applet

Post by sirlitoldo »

The last new: update system up to 17.3 "Rosa" all return back same in 17.1: applet handable my user. Solved (again)

Lorenzo (Italy)
Locked

Return to “Compiz, Conky, Docks & Widgets”