尽管每项任务的CPU使用率非常高,但Kubuntu 15.04速度非常慢

似乎在我的系统上运行的每个任务都使用了过多的CPU功率。 通过conkytop监视CPU使用情况,在Firefox中打开页面或在google中搜索某些东西突然使我的CPU使用率达到100%。

对于在vim中编辑文件或打开pdf也是如此。 在Okular中打开文档会导致Xorgkwin_x11plasmashellpreloadokular达到20%到30%的CPU使用率。

我想的不多,但我的电脑速度难以忍受。 我无法编辑文本文件,浏览网页或打开文档而没有巨大的CPU峰值。 即使在firefox中写这篇文章也会导致通过firefox使用30-50%的CPU,以及通过Xorg使用10%到30%的CPU

非常感谢任何帮助和想法。

编辑

 $ sudo modprobe msr $ sudo rdmsr -a 0x19a 0 0 0 0 

暂停

 $ sudo rdmsr -a 0x19a 0 0 0 0 

CPU仍然在500MHz。 我应该为此做点什么吗?

 $ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor powersave powersave powersave powersave 

最后,

 $ cd /sys/class/thermal $ grep -r . * cooling_device0/type:Processor cooling_device0/power/control:auto cooling_device0/power/async:disabled cooling_device0/power/runtime_enabled:disabled cooling_device0/power/runtime_active_kids:0 cooling_device0/power/runtime_active_time:0 grep: cooling_device0/power/autosuspend_delay_ms: Input/output error cooling_device0/power/runtime_status:unsupported cooling_device0/power/runtime_usage:0 cooling_device0/power/runtime_suspended_time:0 cooling_device0/cur_state:0 cooling_device0/max_state:3 cooling_device1/type:Processor cooling_device1/power/control:auto cooling_device1/power/async:disabled cooling_device1/power/runtime_enabled:disabled cooling_device1/power/runtime_active_kids:0 cooling_device1/power/runtime_active_time:0 grep: cooling_device1/power/autosuspend_delay_ms: Input/output error cooling_device1/power/runtime_status:unsupported cooling_device1/power/runtime_usage:0 cooling_device1/power/runtime_suspended_time:0 cooling_device1/cur_state:0 cooling_device1/max_state:3 cooling_device2/type:Processor cooling_device2/power/control:auto cooling_device2/power/async:disabled cooling_device2/power/runtime_enabled:disabled cooling_device2/power/runtime_active_kids:0 cooling_device2/power/runtime_active_time:0 grep: cooling_device2/power/autosuspend_delay_ms: Input/output error cooling_device2/power/runtime_status:unsupported cooling_device2/power/runtime_usage:0 cooling_device2/power/runtime_suspended_time:0 cooling_device2/cur_state:0 cooling_device2/max_state:3 cooling_device3/type:Processor cooling_device3/power/control:auto cooling_device3/power/async:disabled cooling_device3/power/runtime_enabled:disabled cooling_device3/power/runtime_active_kids:0 cooling_device3/power/runtime_active_time:0 grep: cooling_device3/power/autosuspend_delay_ms: Input/output error cooling_device3/power/runtime_status:unsupported cooling_device3/power/runtime_usage:0 cooling_device3/power/runtime_suspended_time:0 cooling_device3/cur_state:0 cooling_device3/max_state:3 cooling_device4/type:intel_powerclamp cooling_device4/power/control:auto cooling_device4/power/async:disabled cooling_device4/power/runtime_enabled:disabled cooling_device4/power/runtime_active_kids:0 cooling_device4/power/runtime_active_time:0 grep: cooling_device4/power/autosuspend_delay_ms: Input/output error cooling_device4/power/runtime_status:unsupported cooling_device4/power/runtime_usage:0 cooling_device4/power/runtime_suspended_time:0 cooling_device4/cur_state:-1 cooling_device4/max_state:50 thermal_zone0/mode:enabled thermal_zone0/temp:27800 thermal_zone0/type:acpitz thermal_zone0/power/control:auto thermal_zone0/power/async:disabled thermal_zone0/power/runtime_enabled:disabled thermal_zone0/power/runtime_active_kids:0 thermal_zone0/power/runtime_active_time:0 grep: thermal_zone0/power/autosuspend_delay_ms: Input/output error thermal_zone0/power/runtime_status:unsupported thermal_zone0/power/runtime_usage:0 thermal_zone0/power/runtime_suspended_time:0 grep: thermal_zone0/emul_temp: Permission denied thermal_zone0/trip_point_0_temp:105000 thermal_zone0/trip_point_0_type:critical thermal_zone0/policy:step_wise thermal_zone0/passive:0 thermal_zone1/mode:enabled thermal_zone1/temp:29800 thermal_zone1/type:acpitz thermal_zone1/cdev2_trip_point:1 thermal_zone1/power/control:auto thermal_zone1/power/async:disabled thermal_zone1/power/runtime_enabled:disabled thermal_zone1/power/runtime_active_kids:0 thermal_zone1/power/runtime_active_time:0 grep: thermal_zone1/power/autosuspend_delay_ms: Input/output error thermal_zone1/power/runtime_status:unsupported thermal_zone1/power/runtime_usage:0 thermal_zone1/power/runtime_suspended_time:0 thermal_zone1/cdev3_trip_point:1 grep: thermal_zone1/emul_temp: Permission denied thermal_zone1/trip_point_0_temp:105000 thermal_zone1/trip_point_0_type:critical thermal_zone1/trip_point_1_temp:95000 thermal_zone1/trip_point_1_type:passive thermal_zone1/policy:step_wise thermal_zone1/cdev0_trip_point:1 thermal_zone1/cdev1_trip_point:1 thermal_zone2/mode:disabled thermal_zone2/temp:20000 thermal_zone2/type:INT3400 Thermal thermal_zone2/power/control:auto thermal_zone2/power/async:disabled thermal_zone2/power/runtime_enabled:disabled thermal_zone2/power/runtime_active_kids:0 thermal_zone2/power/runtime_active_time:0 grep: thermal_zone2/power/autosuspend_delay_ms: Input/output error thermal_zone2/power/runtime_status:unsupported thermal_zone2/power/runtime_usage:0 thermal_zone2/power/runtime_suspended_time:0 grep: thermal_zone2/emul_temp: Permission denied thermal_zone2/policy:user_space thermal_zone2/passive:0 thermal_zone3/temp:26800 thermal_zone3/type:TMEM thermal_zone3/power/control:auto thermal_zone3/power/async:disabled thermal_zone3/power/runtime_enabled:disabled thermal_zone3/power/runtime_active_kids:0 thermal_zone3/power/runtime_active_time:0 grep: thermal_zone3/power/autosuspend_delay_ms: Input/output error thermal_zone3/power/runtime_status:unsupported thermal_zone3/power/runtime_usage:0 thermal_zone3/power/runtime_suspended_time:0 grep: thermal_zone3/emul_temp: Permission denied thermal_zone3/trip_point_0_temp:53000 thermal_zone3/trip_point_0_type:passive thermal_zone3/trip_point_1_temp:0 thermal_zone3/trip_point_1_type:passive thermal_zone3/trip_point_2_temp:103000 thermal_zone3/trip_point_2_type:critical thermal_zone3/trip_point_3_temp:100000 thermal_zone3/trip_point_3_type:hot thermal_zone3/trip_point_4_temp:71000 thermal_zone3/trip_point_4_type:passive thermal_zone3/trip_point_5_temp:63000 thermal_zone3/trip_point_5_type:active thermal_zone3/trip_point_6_temp:58000 thermal_zone3/trip_point_6_type:active thermal_zone3/policy:user_space thermal_zone4/temp:44000 thermal_zone4/type:x86_pkg_temp thermal_zone4/power/control:auto thermal_zone4/power/async:disabled thermal_zone4/power/runtime_enabled:disabled thermal_zone4/power/runtime_active_kids:0 thermal_zone4/power/runtime_active_time:0 grep: thermal_zone4/power/autosuspend_delay_ms: Input/output error thermal_zone4/power/runtime_status:unsupported thermal_zone4/power/runtime_usage:0 thermal_zone4/power/runtime_suspended_time:0 grep: thermal_zone4/emul_temp: Permission denied thermal_zone4/trip_point_0_temp:0 thermal_zone4/trip_point_0_type:passive thermal_zone4/trip_point_1_temp:0 thermal_zone4/trip_point_1_type:passive thermal_zone4/policy:user_space 

CPUFREQ编辑

似乎可以解决我的生活。 有点。 总督是ondemand ,我的电脑不再昏昏欲睡。 modproberdmsr命令给出了相同的输出,只是我的CPU在挂起之前和之后看起来都很好。 但是,应用程序似乎仍然使用奇怪的CPU使用百分比。

非常感谢您的帮助。 我很乐意继续调试。

您的计算机(通常是从暂停状态恢复后的Dell LapTops电池)可能会遇到有时启用时钟调制的情况。 在当前forms中,intel_pstate驱动程序与时钟调制不兼容,无论负载如何,它都会将目标pstate驱动到最小。

对于您的计算机,最小pstate为6,我认为您的处理器具有额外的时钟调制百分比位,最小调制百分比为83.3%,因此预期的CPU频率约为525MHz。

我相信这个问题的重要性尚未被理解,我试图获得支持性证据(我现在有一点点)。

我也相信使用acpi-cpufreq CPU缩放驱动程序时会出现问题,但它的响应完全不同。 这么多,以至于典型的用户可能甚至都没有注意到。 (除了将驱动器的响应曲线测试到各种调制百分比之外,我没有证据支持该声明。)

你愿意做这个答案中描述的测试吗? 而且当使用acpi-cpufreq驱动程序而不是intel_pstate驱动程序时。

如果您只想获得修复并继续前进,那么我建议禁用intel_pstate驱动程序,系统将默认使用acpi-cpufreq驱动程序。

要禁用intel_pstate驱动程序编辑,如sudo, /etc/default/grub并将intel_pstate=disable添加到GRUB_CMDLINE_LINUX_DEFAULT行。 例如,我使用的其他东西:

 GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 intel_pstate=disable net.ifnames=1 biosdevname=0 crashkernel=384M-:128M" 

之后你需要运行sudo update-grub