Page 1 of 1
CPU speed problem
Posted: Fri Jan 04, 2019 7:41 am
by lalix
Hello,
I use MX since a few months now, and I'm very satisfied. Now, I realize the system is running the CPU on mimimum freq.
I changed settings in the BIOS > nothing happened.
I was looking for help in the forum, then I found indicator-cpufreq. I installed, and have the possibilities to make changes on the panel menu, but none of them affects the speed of the CPU.
The indicator shows 1.00GHz, 1,33GHz (Turbo mode), 1,67GHz (Turbo mode).
The system runs like this since the first install, so it's a problem since the beginning.
Here is the output of the command $ inxi -F:
System: Host: t60 Kernel: 4.15.0-1-686-pae i686 bits: 32 Desktop: Xfce 4.12.3
Distro: MX-18_386 Continuum March 12 2017
Machine: Type: Laptop System: LENOVO product: 1952E65 v: ThinkPad T60 serial: <root required>
Mobo: LENOVO model: 1952E65 serial: <root required> BIOS: LENOVO v: 79ETD3WW (2.13 )
date: 04/30/2007
CPU: Topology: Dual Core model: Intel Core2 T5500 bits: 64 type: MCP L2 cache: 2048 KiB
Speed: 997 MHz max: 1000 MHz Core speeds (MHz): 1: 997 2: 997
Graphics: Device-1: Intel Mobile 945GM/GMS 943/940GML Express Integrated Graphics driver: i915
v: kernel
Display: x11 server: X.Org 1.19.2 driver: intel unloaded: fbdev,modesetting,vesa
resolution: 1024x768~60Hz
OpenGL: renderer: Mesa DRI Intel 945GM x86/MMX/SSE2 v: 1.4 Mesa 18.2.6
Audio: Device-1: Intel NM10/ICH7 Family High Definition Audio driver: snd_hda_intel
Sound Server: ALSA v: k4.15.0-1-686-pae
Network: Device-1: Intel 82573L Gigabit Ethernet driver: e1000e
IF: eth0 state: down mac: 00:1a:6b:6b:8f:01
Device-2: Intel PRO/Wireless 3945ABG [Golan] Network driver: iwl3945
IF: wlan0 state: up mac: 00:1b:77:6f:09:55
Drives: Local Storage: total: 55.89 GiB used: 49.02 GiB (87.7%)
ID-1: /dev/sda vendor: Seagate model: ST960813AS size: 55.89 GiB
Partition: ID-1: / size: 52.79 GiB used: 49.00 GiB (92.8%) fs: ext4 dev: /dev/sda2
ID-2: swap-1 size: 2.00 GiB used: 18.3 MiB (0.9%) fs: swap dev: /dev/sda1
Sensors: System Temperatures: cpu: 55.0 C mobo: 52.0 C
Fan Speeds (RPM): fan-1: 0
Info: Processes: 191 Uptime: 15m Memory: 2.46 GiB used: 1.51 GiB (61.6%) Shell: bash
inxi: 3.0.29
And here is the output of the command $ cat /proc/cpuinfo:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz
stepping : 2
microcode : 0x5c
cpu MHz : 997.467
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts cpuid aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow dtherm
bugs : cpu_meltdown spectre_v1 spectre_v2
bogomips : 3324.88
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz
stepping : 2
microcode : 0x5c
cpu MHz : 997.467
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts cpuid aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow dtherm
bugs : cpu_meltdown spectre_v1 spectre_v2
bogomips : 3324.88
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
Now my question is, how could I get the cpu using the higher freqs?
Re: CPU speed problem
Posted: Fri Jan 04, 2019 7:59 am
by richb
Please paste terminal code text beween code-tags ( [code] text goes here [/code] )
Re: CPU speed problem
Posted: Fri Jan 04, 2019 8:23 am
by lalix
Do you mean like this? Sorry I'm basicly a GUI user and I'm not used to write posts since I usually find solutions, but in this case it seems I couldn't.
[inxi -F]
System: Host: t60 Kernel: 4.15.0-1-686-pae i686 bits: 32 Desktop: Xfce 4.12.3
Distro: MX-18_386 Continuum March 12 2017
Machine: Type: Laptop System: LENOVO product: 1952E65 v: ThinkPad T60 serial: <root required>
Mobo: LENOVO model: 1952E65 serial: <root required> BIOS: LENOVO v: 79ETD3WW (2.13 )
date: 04/30/2007
CPU: Topology: Dual Core model: Intel Core2 T5500 bits: 64 type: MCP L2 cache: 2048 KiB
Speed: 997 MHz max: 1000 MHz Core speeds (MHz): 1: 997 2: 997
Graphics: Device-1: Intel Mobile 945GM/GMS 943/940GML Express Integrated Graphics driver: i915
v: kernel
Display: x11 server: X.Org 1.19.2 driver: intel unloaded: fbdev,modesetting,vesa
resolution: 1024x768~60Hz
OpenGL: renderer: Mesa DRI Intel 945GM x86/MMX/SSE2 v: 1.4 Mesa 18.2.6
Audio: Device-1: Intel NM10/ICH7 Family High Definition Audio driver: snd_hda_intel
Sound Server: ALSA v: k4.15.0-1-686-pae
Network: Device-1: Intel 82573L Gigabit Ethernet driver: e1000e
IF: eth0 state: down mac: 00:1a:6b:6b:8f:01
Device-2: Intel PRO/Wireless 3945ABG [Golan] Network driver: iwl3945
IF: wlan0 state: up mac: 00:1b:77:6f:09:55
Drives: Local Storage: total: 55.89 GiB used: 49.02 GiB (87.7%)
ID-1: /dev/sda vendor: Seagate model: ST960813AS size: 55.89 GiB
Partition: ID-1: / size: 52.79 GiB used: 49.00 GiB (92.8%) fs: ext4 dev: /dev/sda2
ID-2: swap-1 size: 2.00 GiB used: 18.3 MiB (0.9%) fs: swap dev: /dev/sda1
Sensors: System Temperatures: cpu: 55.0 C mobo: 52.0 C
Fan Speeds (RPM): fan-1: 0
Info: Processes: 191 Uptime: 15m Memory: 2.46 GiB used: 1.51 GiB (61.6%) Shell: bash
inxi: 3.0.29
[/inxi -F]
[cat /proc/cpuinfo]
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz
stepping : 2
microcode : 0x5c
cpu MHz : 997.467
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts cpuid aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow dtherm
bugs : cpu_meltdown spectre_v1 spectre_v2
bogomips : 3324.88
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz
stepping : 2
microcode : 0x5c
cpu MHz : 997.467
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts cpuid aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow dtherm
bugs : cpu_meltdown spectre_v1 spectre_v2
bogomips : 3324.88
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
[/ cat /proc/cpuinfo]
Re: CPU speed problem
Posted: Fri Jan 04, 2019 8:41 am
by richb
Like this:
Code: Select all
inxi -G
Graphics: Device-1: AMD Kaveri [Radeon R7 Graphics] driver: amdgpu v: kernel
Display: x11 server: X.Org 1.19.2 driver: amdgpu,ati
unloaded: fbdev,modesetting,radeon,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: AMD KAVERI (DRM 3.27.0 4.19.0-1-amd64 LLVM 7.0.0)
v: 4.5 Mesa 18.2.6
You would highlight the text and then click on the
</> symbol at the top of the post.
Re: CPU speed problem
Posted: Fri Jan 04, 2019 9:27 am
by lalix
I've got it.
Code: Select all
inix -F
System: Host: t60 Kernel: 4.15.0-1-686-pae i686 bits: 32 Desktop: Xfce 4.12.3
Distro: MX-18_386 Continuum March 12 2017
Machine: Type: Laptop System: LENOVO product: 1952E65 v: ThinkPad T60 serial: <root required>
Mobo: LENOVO model: 1952E65 serial: <root required> BIOS: LENOVO v: 79ETD3WW (2.13 )
date: 04/30/2007
CPU: Topology: Dual Core model: Intel Core2 T5500 bits: 64 type: MCP L2 cache: 2048 KiB
Speed: 997 MHz max: 1000 MHz Core speeds (MHz): 1: 997 2: 997
Graphics: Device-1: Intel Mobile 945GM/GMS 943/940GML Express Integrated Graphics driver: i915
v: kernel
Display: x11 server: X.Org 1.19.2 driver: intel unloaded: fbdev,modesetting,vesa
resolution: 1024x768~60Hz
OpenGL: renderer: Mesa DRI Intel 945GM x86/MMX/SSE2 v: 1.4 Mesa 18.2.6
Audio: Device-1: Intel NM10/ICH7 Family High Definition Audio driver: snd_hda_intel
Sound Server: ALSA v: k4.15.0-1-686-pae
Network: Device-1: Intel 82573L Gigabit Ethernet driver: e1000e
IF: eth0 state: down mac: 00:1a:6b:6b:8f:01
Device-2: Intel PRO/Wireless 3945ABG [Golan] Network driver: iwl3945
IF: wlan0 state: up mac: 00:1b:77:6f:09:55
Drives: Local Storage: total: 55.89 GiB used: 49.02 GiB (87.7%)
ID-1: /dev/sda vendor: Seagate model: ST960813AS size: 55.89 GiB
Partition: ID-1: / size: 52.79 GiB used: 49.00 GiB (92.8%) fs: ext4 dev: /dev/sda2
ID-2: swap-1 size: 2.00 GiB used: 18.3 MiB (0.9%) fs: swap dev: /dev/sda1
Sensors: System Temperatures: cpu: 55.0 C mobo: 52.0 C
Fan Speeds (RPM): fan-1: 0
Info: Processes: 191 Uptime: 15m Memory: 2.46 GiB used: 1.51 GiB (61.6%) Shell: bash
inxi: 3.0.29
Code: Select all
cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz
stepping : 2
microcode : 0x5c
cpu MHz : 997.467
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts cpuid aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow dtherm
bugs : cpu_meltdown spectre_v1 spectre_v2
bogomips : 3324.88
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz
stepping : 2
microcode : 0x5c
cpu MHz : 997.467
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts cpuid aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow dtherm
bugs : cpu_meltdown spectre_v1 spectre_v2
bogomips : 3324.88
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
Re: CPU speed problem
Posted: Fri Jan 04, 2019 2:16 pm
by Stevo
How are you monitoring your realtime CPU speed? You can add the "CPU Frequency Monitor" item to the panel to do that.
Most of the tools report only the base speed of a modern CPU, not the turbo modes, but the monitor will show the actual speeds.
We also have tlp installed by default, which could be limiting the turbo speed of a CPU on AC or battery. We have a GUI for its settings in the test repo called "tlpui".
Re: CPU speed problem
Posted: Sat Jan 05, 2019 11:17 am
by lalix
I simply changed Conky to show MHz instead of just percentages. Then I saw the cpu is running only 997MHz up to 100% sometimes for 5 minutes or more.
I installed tlpui, changed values, so it should be ok now, but it is sill not working. The statistics of tlpui shows the avaiable freqs of 1GHz, 1,33GHz and 1,66GHz, altough scalling_max_freq is still at 1GHz.
I added "CPU Frequency Monitor" to the panel. There's also only 997MHz.
Re: CPU speed problem
Posted: Sat Jan 05, 2019 4:59 pm
by Stevo
What about CPU_BOOST_ON_AC? Is that enabled? You can run "sudo tlp-stat" and post that in code tags so we can see your tlp status.
If you install indicator-cpufreq and run it from the terminal, you'll get a little CPU widget in the taskbar. With the default kernel, you'll only get Performance and Powersave options, but if you boot with the option "intel_pstate=disable", the kernel will fall back to cpufreq, and you should see a lot more options. Do you see any for the turbo mode or higher frequencies?
Re: CPU speed problem
Posted: Sat Jan 05, 2019 5:10 pm
by manyroads
[humor]
Dang, @stevo and I was going to suggest @lalix 'peddle faster'
[/humor]
Re: CPU speed problem
Posted: Sun Jan 06, 2019 6:10 am
by lalix
So far I see Idon't have the intel_pstate.
When I installed indicator-cpufreq there were by default options like powersave, balanced, performance and so, plus the three options of fixed freqs (1Hz, 1.33GHz, 1,66GHz). Sadly it makes no difference which one is marked, the cpu stands all the time at 997MHz.
Code: Select all
$ sudo tlp-stat
--- TLP 1.1 --------------------------------------------
+++ Configured Settings: /etc/default/tlp
TLP_ENABLE=1
TLP_DEFAULT_MODE=AC
TLP_PERSISTENT_DEFAULT=0
DISK_IDLE_SECS_ON_AC=0
DISK_IDLE_SECS_ON_BAT=2
MAX_LOST_WORK_SECS_ON_AC=15
MAX_LOST_WORK_SECS_ON_BAT=60
CPU_SCALING_GOVERNOR_ON_AC=performance
CPU_SCALING_MAX_FREQ_ON_AC=1667000
CPU_HWP_ON_AC=balance_performance
CPU_HWP_ON_BAT=balance_power
CPU_MAX_PERF_ON_AC=100
CPU_BOOST_ON_AC=1
SCHED_POWERSAVE_ON_AC=0
SCHED_POWERSAVE_ON_BAT=1
NMI_WATCHDOG=0
ENERGY_PERF_POLICY_ON_AC=performance
ENERGY_PERF_POLICY_ON_BAT=power
DISK_DEVICES="sda sdb"
DISK_APM_LEVEL_ON_AC="254 254"
DISK_APM_LEVEL_ON_BAT="128 128"
SATA_LINKPWR_ON_AC="med_power_with_dipm max_performance"
SATA_LINKPWR_ON_BAT="med_power_with_dipm min_power"
AHCI_RUNTIME_PM_TIMEOUT=15
PCIE_ASPM_ON_AC=performance
PCIE_ASPM_ON_BAT=powersave
RADEON_POWER_PROFILE_ON_AC=high
RADEON_POWER_PROFILE_ON_BAT=low
RADEON_DPM_STATE_ON_AC=performance
RADEON_DPM_STATE_ON_BAT=battery
RADEON_DPM_PERF_LEVEL_ON_AC=auto
RADEON_DPM_PERF_LEVEL_ON_BAT=auto
WIFI_PWR_ON_AC=off
WIFI_PWR_ON_BAT=on
WOL_DISABLE=Y
SOUND_POWER_SAVE_ON_AC=0
SOUND_POWER_SAVE_ON_BAT=1
SOUND_POWER_SAVE_CONTROLLER=Y
BAY_POWEROFF_ON_AC=0
BAY_POWEROFF_ON_BAT=0
BAY_DEVICE="sr0"
RUNTIME_PM_ON_AC=on
RUNTIME_PM_ON_BAT=auto
USB_AUTOSUSPEND=1
USB_BLACKLIST_BTUSB=1
USB_BLACKLIST_PHONE=0
USB_BLACKLIST_PRINTER=1
USB_BLACKLIST_WWAN=1
RESTORE_DEVICE_STATE_ON_STARTUP=1
+++ System Info
System = LENOVO ThinkPad T60 1952E65
BIOS = 79ETD3WW (2.13 )
Release = MX 18 Continuum
Kernel = 4.15.0-1-686-pae #1 SMP Debian 4.15.4-1~mx17+1 (2018-02-23) i686
/proc/cmdline = BOOT_IMAGE=/boot/vmlinuz-4.15.0-1-686-pae root=UUID=5bb41367-eb75-4a22-8c20-eddd8471ace6 ro quiet
Init system = sysvinit
Boot mode = BIOS (CSM, Legacy)
+++ TLP Status
State = enabled
Last run = 11:40:11, 1268 sec(s) ago
Mode = AC
Power source = AC
+++ Processor
CPU model = Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz
/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = userspace
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = powersave userspace conservative ondemand performance schedutil
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq = 1000000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 1000000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies = 1667000 1333000 1000000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor = userspace
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors = powersave userspace conservative ondemand performance schedutil
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq = 1000000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq = 1000000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies = 1667000 1333000 1000000 [kHz]
/sys/devices/system/cpu/cpufreq/boost = (not available)
x86_energy_perf_policy: program not installed.
/sys/module/workqueue/parameters/power_efficient = N
/proc/sys/kernel/nmi_watchdog = 0
+++ Undervolting
PHC kernel not available.
+++ Temperatures
/proc/acpi/ibm/thermal = 47 37 37 -128 -128 -128 -128 -128 39 41 45 -128 -128 -128 -128 -128 [°C]
/proc/acpi/ibm/fan = 0 [/min]
+++ File System
/proc/sys/vm/laptop_mode = 0
/proc/sys/vm/dirty_writeback_centisecs = 1500
/proc/sys/vm/dirty_expire_centisecs = 1500
/proc/sys/vm/dirty_ratio = 20
/proc/sys/vm/dirty_background_ratio = 10
/proc/sys/fs/xfs/xfssyncd_centisecs = 3000
+++ Storage Devices
/dev/sda:
Model = ST960813AS
Firmware = 3.CLF
APM Level = 254
Status = active/idle
Scheduler = cfq
Runtime PM: control = on, autosuspend_delay = -1
SMART info:
4 Start_Stop_Count = 4490
5 Reallocated_Sector_Ct = 0
9 Power_On_Hours = 17300 [h]
12 Power_Cycle_Count = 3796
190 Airflow_Temperature_Cel = 33 [°C]
191 G-Sense_Error_Rate = 312
193 Load_Cycle_Count = 609118
194 Temperature_Celsius = 33 (0 11 0 [°C]
+++ AHCI Link Power Management (ALPM)
/sys/class/scsi_host/host2/link_power_management_policy = med_power_with_dipm
/sys/class/scsi_host/host3/link_power_management_policy = med_power_with_dipm
/sys/class/scsi_host/host4/link_power_management_policy = med_power_with_dipm
/sys/class/scsi_host/host5/link_power_management_policy = med_power_with_dipm
+++ AHCI Host Controller Runtime Power Management
/sys/bus/pci/devices/0000:00:1f.1/ata1/power/control = on
/sys/bus/pci/devices/0000:00:1f.1/ata2/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata3/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata4/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata5/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata6/power/control = on
+++ Docks and Device Bays
/sys/devices/platform/dock.0: battery_bay = no battery
/sys/devices/platform/dock.1: ata_bay = drive present
/sys/devices/platform/dock.2: dock_station = undocked
+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = default (using bios preferences)
+++ Intel Graphics
/sys/module/i915/parameters/enable_rc6 = 0 (disabled)
/sys/module/i915/parameters/enable_dc = -1 (use per-chip default)
/sys/module/i915/parameters/enable_fbc = 0 (disabled)
/sys/module/i915/parameters/enable_psr = -1 (use per-chip default)
/sys/module/i915/parameters/modeset = -1 (use per-chip default)
/sys/module/i915/parameters/semaphores = 0 (disabled)
+++ Wireless
bluetooth = none (no device)
wifi = on
wwan = none (no device)
wlan0(iwl3945) : wifi, connected, power management = off
+++ Audio
/sys/module/snd_hda_intel/parameters/power_save = 0
/sys/module/snd_hda_intel/parameters/power_save_controller = N
+++ Runtime Power Management
Device blacklist = (not configured)
Driver blacklist = amdgpu nouveau nvidia radeon (default)
/sys/bus/pci/devices/0000:00:00.0/power/control = on (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:02.0/power/control = on (0x030000, VGA compatible controller, i915)
/sys/bus/pci/devices/0000:00:02.1/power/control = on (0x038000, Display controller, no driver)
/sys/bus/pci/devices/0000:00:1b.0/power/control = on (0x040300, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:00:1c.0/power/control = on (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.1/power/control = on (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.2/power/control = on (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.3/power/control = on (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1d.0/power/control = on (0x0c0300, USB controller, uhci_hcd)
/sys/bus/pci/devices/0000:00:1d.1/power/control = on (0x0c0300, USB controller, uhci_hcd)
/sys/bus/pci/devices/0000:00:1d.2/power/control = on (0x0c0300, USB controller, uhci_hcd)
/sys/bus/pci/devices/0000:00:1d.3/power/control = on (0x0c0300, USB controller, uhci_hcd)
/sys/bus/pci/devices/0000:00:1d.7/power/control = on (0x0c0320, USB controller, ehci-pci)
/sys/bus/pci/devices/0000:00:1e.0/power/control = on (0x060401, PCI bridge, no driver)
/sys/bus/pci/devices/0000:00:1f.0/power/control = on (0x060100, ISA bridge, lpc_ich)
/sys/bus/pci/devices/0000:00:1f.1/power/control = on (0x01018a, IDE interface, ata_piix)
/sys/bus/pci/devices/0000:00:1f.2/power/control = on (0x010601, SATA controller, ahci)
/sys/bus/pci/devices/0000:00:1f.3/power/control = on (0x0c0500, SMBus, i801_smbus)
/sys/bus/pci/devices/0000:02:00.0/power/control = on (0x020000, Ethernet controller, e1000e)
/sys/bus/pci/devices/0000:03:00.0/power/control = on (0x028000, Network controller, iwl3945)
/sys/bus/pci/devices/0000:15:00.0/power/control = on (0x060700, CardBus bridge, yenta_cardbus)
+++ USB
Autosuspend = enabled
Device whitelist = (not configured)
Device blacklist = (not configured)
Bluetooth blacklist = enabled
Phone blacklist = disabled
WWAN blacklist = enabled
Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root hub (hub)
Bus 005 Device 001 ID 1d6b:0001 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 1.1 root hub (hub)
Bus 004 Device 001 ID 1d6b:0001 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 1.1 root hub (hub)
Bus 003 Device 001 ID 1d6b:0001 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 1.1 root hub (hub)
Bus 002 Device 001 ID 1d6b:0001 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 1.1 root hub (hub)
+++ ThinkPad Battery Features
tp-smapi = inactive (kernel module 'tp_smapi' not installed)
tpacpi-bat = inactive (unsupported hardware)
+++ Battery Status
No batteries detected.
+++ Suggestions
* Install tp-smapi kernel modules for ThinkPad battery features
Re: CPU speed problem
Posted: Sun Jan 06, 2019 7:18 am
by sanlav
Or you can try my solution in rc.local . At the end add :
echo 0 > /sys/devices/system/cpu/intel_pstate/no_turbo
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
# echo performance > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
# echo performance > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
It seems you have only 2 CPU's.
Re: CPU speed problem
Posted: Sun Jan 06, 2019 7:30 am
by Richard
Just to clarify, I read over the thread but not sure if you have enabled intel_pstate.
My /etc/default/grub looks like this at the top of the file:
Code: Select all
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT=2
GRUB_DISTRIBUTOR=`lsb_release -s -d 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_pstate=enable"
GRUB_CMDLINE_LINUX=""
Change to "intel_pstate=disable" to turn it off. Remember to run "update-grub" if you modify /etc/default/grub.
Enabled slows down to help control overheating when snapshooting --my problem.
Re: CPU speed problem
Posted: Sun Jan 06, 2019 5:28 pm
by Stevo
The 4.15 MX kernel runs p_state for default for recent Intel processors, but yours seems to be too old to support that...
Maybe you could uninstall tlp and reboot to see if that makes any difference.
Your BIOS also may have a setting to enable or disable turbo mode on the CPU, so that would would be worth a look.
Re: CPU speed problem
Posted: Mon Jan 07, 2019 10:55 am
by lalix
There must be some kind of general failure. I tried all your suggestions, without success. Then I got angry, so I installed several other distros to see how they handle the cpu. Well, recent Fedora, Manjaro, Vector, openSuse, BunsenLabs shows the same cpu freq of 997Mz whatever I do. However I did'nt tried any Ubuntu based distro, I suppose the same result.
Re: CPU speed problem
Posted: Mon Jan 07, 2019 11:07 am
by baldyeti
I would check the BIOS for fixed frequency multiplier (10 i/o 16), "Enable Turbo Mode" as suggested by Stevo and perhaps "Enable EIST" (intel SpeedStep)
Re: CPU speed problem
Posted: Mon Jan 07, 2019 2:18 pm
by lalix
As an absolute GUI user, the BIOS was my first step, belive me :) There is everything okay.
Actually I don't know if the problem was also there before, because that time there was only 512MB RAM inside and I didn't try to wach films. The only time I can remember when it was really running 1,66GHz, was in the time of Windows XP.
Re: CPU speed problem
Posted: Wed Jan 16, 2019 4:49 am
by linuxsociety
I'm new to the forum and just recently picked up MX myself. Don't let that fool you as I have been an experienced Linux User for over 25 years now. I noticed your post and just wanted to try to provide a little support since the Thinkpad T60 is still one of my favorite laptops ever.
You should be using cpufrequtils pkg which provides cpufreq-info and cpufreq-set. Set your bios back to stock settings first if you haven't already done so. Disabling speedstep /dynamic cpu frequency settings in the bios will either get you a stuck minimum Mhz or a stuck Maximum.
cpufreq-info will tell you the current cpufreq and the active cpufreq governor in use. Take note if it is ondemand, performance, or powersave.
If you are unable to use cpufreq-info or it doesn't spit out any useful information, then I will ask have you tinkered with a custom kernel?
If cpufreq-info does in fact spit out the governor in use and the scaling frequencies, then be sure you remember what governor it specifies for each cpu/core. You probably want it to be ondemand, but you may also desire the performance governor as well. Not too many people opt for the powersave governor due to its default settings being quite lazy at increasing the freq while under heavy load.
Manually change the governor by issuing the following command:
Code: Select all
sudo cpufreq-set -c0 -g performance;sudo cpufreq-set -c1 -g performance
Be sure you issue the command for both cores (-c switch in the above command indicates the core for which you are setting)
Verify that you have the maximum frequency by running the following two commands:
and
Reboot if this makes it show the desired frequency. Run the above two commands again and see if you are back to square 1. You should be as you didn't make anything permanent yet. If you get this far with success, I'll be glad to help you make this change permanent :)
Re: CPU speed problem
Posted: Mon May 24, 2021 10:16 am
by dimi
Hello and thank you a ton for providing this solution.
I am on an Intel Core 2 T5500 on an old ASUS F3J laptop with similar problems. CPU's were being awfully stressed, and I have tried different solutions before. I have tried today your solution by changing the governors and it seems to work. I have ended up with the powersave governor as it seems that is keeping the CPU's calm. Could you please post how I can make it permanent?
Thank you a lot!
I highly appreciate the solution!
Re: CPU speed problem
Posted: Mon May 24, 2021 11:29 am
by dexter___
hi all regards !!
check swap memory !
$
or
$
or
i have the experience of setup mx 19.2 in a old laptop and when swap is not present or insufficient, freezes in a few programs is executed.
change the gorvernos helps a lot, but in my case the mx linux(debian) never works fine without swap...
if you dont have the partition swap, or if you need to expand, you can create a part swap image file, then you dont need to resizes parts et c..
rgards, i hope to help..
Re: CPU speed problem
Posted: Mon May 24, 2021 12:42 pm
by dimi
Thank you veeeery much,
Though swap I did a long time ago. The problem was the stress on the CPU. I will keep these settings. If I reboot I will see if it's possible to find a guide to make these settings permanent. I don't expect a lot. It's just that an old machine trying to surf on a bloated internet.
Thank you for your advice though,
Have a nice evening

Re: CPU speed problem
Posted: Mon May 24, 2021 2:53 pm
by Stevo
What kernel are you running? (uname -a in the terminal) The Debian ones default to powersave, Liquorix to performance.
Re: CPU speed problem
Posted: Mon May 24, 2021 3:24 pm
by dimi
I am on Debian, but awkwardly changing the governor to powersave, runs the machine without a lot o f stress on the CPU. Strange uh?
Re: CPU speed problem
Posted: Mon May 24, 2021 5:09 pm
by Stevo
We don't know what processor you're running at all. P_state is only for 2nd-gen Intel CPUs and higher--AMDs are a bit different. Anyway, for modern p_state, even if set on performance with the CPU reporting that it's running at maximum turbo speed, the temperatures vs powersave don't change a bit for me if there's no load on the machine. That is because the CPU is completely halted when idle.
I find indicator-cpufreq works well to easily switch between governors on my Intel machines, but can be flaky at times if you're trying to control the exact speed of a CPU from all its choices--which are only displayed if I disable p_state at boot time.
Re: CPU speed problem
Posted: Tue May 25, 2021 4:43 am
by dimi
Good morning Stevo,
I am on a Intel Core 2 T5500 (2) @ 1.660GHz. AMD's are much different for sure. My problem is that processors are highly stressed and eventually I get a system freeze after long use. It's reasonable. I have set up swap at
Code: Select all
total used free shared buff/cache available
Mem: 2035528 1315928 144816 64488 574784 507784
Swap: 2097148 11008 2086140
but still, when running Facebook, youtube, and other heavy stuff I get eventually problems. Plus I use wireless for internet which I don't like and it's also consuming resources. Cable it's too far and I am not at home to make the necessary setup. It's an internet full of stuff and the machine is old. I have a problem with my screen on my working horse, so for a while, I will have to work on this machine. Plus it's a great joy to make an old machine work as new. You know the drill

Re: CPU speed problem
Posted: Tue May 25, 2021 5:46 am
by JayM
@lalix Please edit your posts #1 and #3 using the button next to them with a pencil icon

to wrap the information inside of code tags as per the
forum rules (which please read.) Example: [
code]log file contents, configuration file contents, system information and terminal text go here[/code]
Code: Select all
to make it look like this, which is a lot easier to read for large amounts of text:
1. It really stands out as being separate from the text that you're typing due to the different background and font colors
2. It also puts it inside of its own little frame with its own scrollbars, making it easier to navigate.
To do this, select the text by dragging your mouse over it while holding the left button down then click the </> icon in the forum's editor's toolbar and click the Submit button.

Thanks.
Re: CPU speed problem
Posted: Tue May 25, 2021 7:19 pm
by dexter___
Transparent Hugepages gives some applications a small performance improvement (~ 10% at best, 0-3% more typically), but can cause significant performance problems, or even apparent memory leaks at worst.
To avoid these problems, you should set enabled=madvise on your servers by running
Code: Select all
echo madvise | sudo tee /sys/kernel/mm/transparent_hugepage/enabled
and setting transparent_hugepage=madvise on your kernel command line (e.g. in /etc/default/grub).
This change will allow applications that are optimized for transparent hugepages to obtain the performance benefits, and prevent the associated problems otherwise.
Read on for more details.
https://blog.nelhage.com/post/transparent-hugepages/
Re: CPU speed problem
Posted: Tue May 25, 2021 7:51 pm
by Stevo
I've must have missed where you told us how much RAM your old machine has, plus how you're monitoring in real time how much of that those heavy webpages are consuming. I say that because using heavy sites that throw a lot of crud at your machine barely work if you have 4 GB, and you describe the same symptoms as running out of RAM and having to resort to swap. A slow CPU doesn't lock up, it just takes longer, and actually should run cooler when not at maximum speed.
Also, PLEASE tell us how you know your CPU isn't speeding up when stressed. You still haven't done so, not even with one of the default Conkys we ship. Quick System Info just looks at your CPU speed at one instant, and that should be very slow if there's no load on the CPU. Same as those other terminal commands. Try installing s-tui and stress, then run "s-tui" in the terminal to get an idea of the speeds at idle and under stress. Or use the XFCE CPU speed panel widget.
Re: CPU speed problem
Posted: Tue May 25, 2021 8:12 pm
by JayM
I'm looking at a
review of the OP's laptop dated February 2006. His has a 1.6GHz Core Duo CPU, a 60GB spinner, and just 3GB of RAM (the machine's maxed out at 4GB.) Its specs are similar to those of older netbooks. Of course it's going to be slow opening modern websites with all of their client-side scripting. (But it was considered a premium laptop when it was new, costing $2700ish.)
Here's how to improve performance on old, slow computers and make them usable again (though still not fast) when running MX Linux:
viewtopic.php?p=560215#p560215
Re: CPU speed problem
Posted: Fri May 28, 2021 8:40 am
by dimi
Pardon me@Stevo . I am on a asus f3j laptop with 2 gigs of ram and an Intel core duo processor. Pardon me for posting my configuration like this but I am out of the system at the moment due to following a guide on installing proprietary drivers for my nvidia gpu 7300 go series. I am following a method from burezzo and I am still stuck there. As soon as I get in I will post the configuration normally. Thank you!
Re: CPU speed problem
Posted: Fri May 28, 2021 5:53 pm
by Stevo
Yes, you're running out of RAM and having to use swap on those heavy sites, exactly as you described. If you have a hard drive LED, you'll see it running frantically as it swaps. If you left it that way, eventually it may finish the swapping and "unlock", but who has time for that?
We've had multiple lengthy threads from users trying to get by on the Web with 2-4 GB, but the consensus for 2 is you need to add at least 2 more. Welcome to today's Net.
Re: CPU speed problem
Posted: Sat May 29, 2021 4:44 am
by dimi
Good morning Stevo,
Thank you for your answer. I thought about adding memory a long time ago, but I didn't gave much importance because I was doing stuff on my regular machine and this little machine is secondary. Do you believe that installing proprietary drivers will not help at all? I shouldn't even bother getting into that?
Re: CPU speed problem
Posted: Sat May 29, 2021 5:19 am
by JayM
JayM wrote: Tue May 25, 2021 5:46 am
@lalix Please edit your posts #1 and #3 using the button next to them with a pencil icon

to wrap the information inside of code tags as per the
forum rules (which please read.) Example: [
code]log file contents, configuration file contents, system information and terminal text go here[/code]
Code: Select all
to make it look like this, which is a lot easier to read for large amounts of text:
1. It really stands out as being separate from the text that you're typing due to the different background and font colors
2. It also puts it inside of its own little frame with its own scrollbars, making it easier to navigate.
To do this, select the text by dragging your mouse over it while holding the left button down then click the </> icon in the forum's editor's toolbar and click the Submit button.

Thanks.
Never mind, I didn't realize you's bumped someone else's 2 year old topic to ask for help instead of starting your own new one.

Re: CPU speed problem
Posted: Sat May 29, 2021 5:25 am
by dimi
@JayM Bumping to an 2 years old thread, while trying to fix a machine from 2009 is not a crime right?
Re: CPU speed problem
Posted: Sat May 29, 2021 5:27 am
by JayM
I refer you to the forum rules:
Do not reply to others' existing topics to ask for help nor post multiple issues in one topic. Start a new topic for each issue. This helps to avoid confusion and chaos.
Do not reply to or "bump" old topics unless you have something useful to contribute. Do not unnecessarily bump your own topics. Wait at least 24 hours for a reply.
Re: CPU speed problem
Posted: Sat May 29, 2021 5:30 am
by dimi
Ok@JayM Pardon me! I Will try to be compliant.
Re: CPU speed problem
Posted: Tue Jun 01, 2021 3:23 pm
by Stevo
dimi wrote: Sat May 29, 2021 4:44 am
Good morning Stevo,
Thank you for your answer. I thought about adding memory a long time ago, but I didn't gave much importance because I was doing stuff on my regular machine and this little machine is secondary. Do you believe that installing proprietary drivers will not help at all? I shouldn't even bother getting into that?
Repeating: We've had multiple lengthy threads from users trying to get by on the Web with 2-4 GB, but the consensus for 2 is you need to add at least 2 more. Welcome to today's Net.
If your graphics are Intel (for some reason you didn't say), all drivers are open source anyway, but even Nvidia proprietary drivers won't increase the RAM that you're running out of. MX already modifies the swappiness by default to reduce that...