Ubuntu 16.04 速度变慢,cpu 最大频率低

Ubuntu 16.04 速度变慢,cpu 最大频率低

我的笔记本上有两个操作系统。第一个是 Ubuntu 12.04,它还不错,但太旧了,而且由于我缺乏经验的操作(手动安装软件包等)而损坏。第二个是 Ubuntu 16.04。它是全新安装的(不是升级),我已经在其中安装了许多应用程序和库。

突然我注意到 Ubuntu 16.04 变慢了。Unity 变得不稳定,所有应用程序运行缓慢。这种情况偶尔会发生,特别是在长时间工作之后。(尤其是当我的朋友(其中大多数是 Windows 用户)与我一起工作时。)

cpufreq-info说:

cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009 Report errors and bugs to [email protected], please. analyzing CPU 0: driver: acpi-cpufreq CPUs which run at the same hardware frequency: 0 CPUs which need to have their frequency coordinated by software: 0 maximum transition latency: 10.0 us. hardware limits: 800 MHz - 2.30 GHz available frequency steps: 2.30 GHz, 1.80 GHz, 1.60 GHz, 1.40 GHz, 1.20 GHz, 1000 MHz, 800 MHz available cpufreq governors: conservative, ondemand, userspace, powersave, performance, schedutil current policy: frequency should be within 800 MHz and 1.40 GHz. The governor "ondemand" may decide which speed to use within this range. current CPU frequency is 1.41 GHz. cpufreq stats: 2.30 GHz:5,45%, 1.80 GHz:3,30%, 1.60 GHz:2,71%, 1.40 GHz:4,81%, 1.20 GHz:8,84%, 1000 MHz:17,69%, 800 MHz:57,20% (276340) analyzing CPU 1: driver: acpi-cpufreq CPUs which run at the same hardware frequency: 1 CPUs which need to have their frequency coordinated by software: 1 maximum transition latency: 10.0 us. hardware limits: 800 MHz - 2.30 GHz available frequency steps: 2.30 GHz, 1.80 GHz, 1.60 GHz, 1.40 GHz, 1.20 GHz, 1000 MHz, 800 MHz available cpufreq governors: conservative, ondemand, userspace, powersave, performance, schedutil current policy: frequency should be within 800 MHz and 1.40 GHz. The governor "ondemand" may decide which speed to use within this range. current CPU frequency is 1.47 GHz. cpufreq stats: 2.30 GHz:9,57%, 1.80 GHz:3,13%, 1.60 GHz:2,55%, 1.40 GHz:4,67%, 1.20 GHz:8,55%, 1000 MHz:16,73%, 800 MHz:54,80% (256609) analyzing CPU 2: driver: acpi-cpufreq CPUs which run at the same hardware frequency: 2 CPUs which need to have their frequency coordinated by software: 2 maximum transition latency: 10.0 us. hardware limits: 800 MHz - 2.30 GHz available frequency steps: 2.30 GHz, 1.80 GHz, 1.60 GHz, 1.40 GHz, 1.20 GHz, 1000 MHz, 800 MHz available cpufreq governors: conservative, ondemand, userspace, powersave, performance, schedutil current policy: frequency should be within 800 MHz and 1.40 GHz. The governor "ondemand" may decide which speed to use within this range. current CPU frequency is 1.41 GHz. cpufreq stats: 2.30 GHz:8,27%, 1.80 GHz:3,19%, 1.60 GHz:2,57%, 1.40 GHz:4,60%, 1.20 GHz:8,56%, 1000 MHz:16,26%, 800 MHz:56,54% (274971) analyzing CPU 3: driver: acpi-cpufreq CPUs which run at the same hardware frequency: 3 CPUs which need to have their frequency coordinated by software: 3 maximum transition latency: 10.0 us. hardware limits: 800 MHz - 2.30 GHz available frequency steps: 2.30 GHz, 1.80 GHz, 1.60 GHz, 1.40 GHz, 1.20 GHz, 1000 MHz, 800 MHz available cpufreq governors: conservative, ondemand, userspace, powersave, performance, schedutil current policy: frequency should be within 800 MHz and 1.40 GHz. The governor "ondemand" may decide which speed to use within this range. current CPU frequency is 1.34 GHz. cpufreq stats: 2.30 GHz:4,96%, 1.80 GHz:3,40%, 1.60 GHz:3,15%, 1.40 GHz:6,25%, 1.20 GHz:12,28%, 1000 MHz:15,64%, 800 MHz:54,31% (303947) 可能存在不同的值,而不是1.40 GHz,甚至920 MHz800 MHz

intel_pstate已禁用grub选项。

dmesg | grep temperature [19065.630210] CPU3: Core temperature above threshold, cpu clock throttled (total events = 2551) [19065.630212] CPU2: Core temperature above threshold, cpu clock throttled (total events = 2551) [19065.630214] CPU1: Package temperature above threshold, cpu clock throttled (total events = 2729) [19065.630216] CPU0: Package temperature above threshold, cpu clock throttled (total events = 2729) [19065.630219] CPU2: Package temperature above threshold, cpu clock throttled (total events = 2729) [19065.630225] CPU3: Package temperature above threshold, cpu clock throttled (total events = 2728) [19065.641347] CPU3: Core temperature/speed normal [19065.641350] CPU2: Core temperature/speed normal [19065.641358] CPU1: Package temperature/speed normal [19065.641361] CPU0: Package temperature/speed normal [19065.641387] CPU2: Package temperature/speed normal [19065.641393] CPU3: Package temperature/speed normal [19783.068723] CPU2: Core temperature above threshold, cpu clock throttled (total events = 2780) [19783.068727] CPU3: Core temperature above threshold, cpu clock throttled (total events = 2780) [19783.068734] CPU1: Package temperature above threshold, cpu clock throttled (total events = 2963) [19783.068738] CPU0: Package temperature above threshold, cpu clock throttled (total events = 2963) [19783.068746] CPU3: Package temperature above threshold, cpu clock throttled (total events = 2962) [19783.068760] CPU2: Package temperature above threshold, cpu clock throttled (total events = 2963) [19783.078851] CPU2: Core temperature/speed normal [19783.078854] CPU3: Core temperature/speed normal [19783.078885] CPU0: Package temperature/speed normal [19783.078888] CPU1: Package temperature/speed normal [19783.078891] CPU3: Package temperature/speed normal [19783.078897] CPU2: Package temperature/speed normal

cat /sys/devices/system/cpu/cpufreq/policy0/bios_limit 2300000

sensors说 ``` coretemp-isa-0000 适配器:ISA 适配器 封装 ID 0:+72.0°C (最高温度 = +80.0°C,临界温度 = +85.0°C) 核心 0:+72.0°C (最高温度 = +80.0°C,临界温度 = +85.0°C) 核心 1:+72.0°C (最高温度 = +80.0°C,临界温度 = +85.0°C)

acpitz-virtual-0 适配器:虚拟设备温度 1:+70.0°C(临界值 = +120.0°C)温度 2:+29.8°C(临界值 = +120.0°C)

nouveau-pci-0100 适配器:PCI 适配器 GPU 核心:+1.08 V(最小值 = +0.83 V,最大值 = +1.08 V)温度 1:+72.0°C(最高 = +95.0°C,hyst = +3.0°C)(临界 = +105.0°C,hyst = +5.0°C)(紧急 = +135.0°C,hyst = +5.0°C)```

/sys/module/processor/parameters/ignore_ppc手动设置为1

sudo modprobe acpi_cpufreq lsmod | grep acpi_cpufreq 什么也没说

sudo sh -c "echo 2300000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq" cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 没有效果

uname -aLinux nicknout 4.13.0-26-generic #29~16.04.2-Ubuntu SMP Tue Jan 9 22:00:44 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

更换调速器没关系。

拔下充电器并重新插入没关系。

有时低性能会持续几秒钟,然后最大频率恢复到 2.3 GHz

答案1

这实际上不是一个错误,而是避免过热的常规功能。如果您确实想禁用此功能(不推荐),只需执行以下操作:

sudo killall thermald

thermald 在 Ubuntu 14.04 中引入

相关内容