我的Ubuntu 16.04机器具有4个CPU内核,其中一个(具体有所不同)通常始终有90%到100%的负载。
不管我在做什么,即使在根本没有打开窗口的情况下什么也没做,这都是事实。它是在启动后或工作数小时后立即发生的。
我已经在这里和这里阅读了两个流行的相关问题,但是不幸的是,这些问题没有帮助。
在工作的大部分时间里,我的生产率不受此问题的影响。当时我知道这个问题的唯一原因是风扇始终以最大功率工作,而Ubuntu的系统监控显示其中一个核心负载很重。
但是,另外一个表现就是,我工作时间的10%受到难以置信的不良反应的影响。
特别是UI(在动画过程中以及对点击做出反应时)非常慢。这使我想到,也许CPU也正在执行GPU的工作。但这仅仅是一个没有根据的信念,下面的数据似乎也矛盾。
我担心的是,如果无法解决此问题,是否会对计算机的寿命产生(重大)影响。我不知道在数月或数年中,CPU的> 90%恒定负载会产生什么影响。
无论如何,以下是我可以从计算机中收集的数据,这些数据可能相关或有用:
top
:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
415 root 20 0 0 0 0 R 97,3 0,0 1:39.30 kworker/2:2
2442 john 20 0 663828 38704 29852 S 3,3 0,5 0:00.90 gnome-terminal-
1194 root 20 0 335728 69900 48392 S 2,3 0,9 0:08.36 Xorg
1821 john 20 0 1423440 114660 77600 S 1,3 1,5 0:03.77 compiz
6 root 20 0 0 0 0 D 0,3 0,0 0:00.84 kworker/u8:0
grep . -r /sys/firmware/acpi/interrupts/
:
/sys/firmware/acpi/interrupts/sci: 36
/sys/firmware/acpi/interrupts/error: 0
/sys/firmware/acpi/interrupts/gpe00: 0 invalid
/sys/firmware/acpi/interrupts/gpe01: 0 invalid
/sys/firmware/acpi/interrupts/gpe02: 0 invalid
/sys/firmware/acpi/interrupts/gpe03: 36 enabled
/sys/firmware/acpi/interrupts/gpe04: 0 invalid
(...)
/sys/firmware/acpi/interrupts/gpe1F: 0 disabled
/sys/firmware/acpi/interrupts/sci_not: 0
/sys/firmware/acpi/interrupts/ff_pmtimer: 0 invalid
/sys/firmware/acpi/interrupts/ff_rt_clk: 0 disabled
/sys/firmware/acpi/interrupts/gpe_all: 36
/sys/firmware/acpi/interrupts/ff_gbl_lock: 0 enabled
/sys/firmware/acpi/interrupts/ff_pwr_btn: 0 enabled
/sys/firmware/acpi/interrupts/ff_slp_btn: 0 invalid
uname -a
:
Linux my-host-name 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
cat /proc/cmdline
:
BOOT_IMAGE=/vmlinuz-4.8.0-28-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
lspci -v
:
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1576
Subsystem: Hewlett-Packard Company Device 81f9
Flags: bus master, fast devsel, latency 0
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 1577
Subsystem: Hewlett-Packard Company Device 81f9
Flags: bus master, fast devsel, latency 0, IRQ 24
Capabilities: <access denied>
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Carrizo (rev ca) (prog-if 00 [VGA controller])
DeviceName: ATI EG BROADWAY
Subsystem: Hewlett-Packard Company Carrizo
Flags: bus master, fast devsel, latency 0, IRQ 227
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f0800000 (64-bit, prefetchable) [size=8M]
I/O ports at 4000 [size=256]
Memory at f0500000 (32-bit, non-prefetchable) [size=256K]
Expansion ROM at f0580000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: amdgpu
Kernel modules: amdgpu
...
00:08.0 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 1578
Subsystem: Hewlett-Packard Company Device 81f9
Flags: bus master, fast devsel, latency 0, IRQ 255
Memory at f0540000 (64-bit, prefetchable) [size=128K]
Memory at f0300000 (32-bit, non-prefetchable) [size=1M]
Memory at f0570000 (32-bit, non-prefetchable) [size=4K]
Memory at f056a000 (32-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
...
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 07)
Subsystem: Hewlett-Packard Company RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
Flags: bus master, fast devsel, latency 0, IRQ 225
I/O ports at 3000 [size=256]
Memory at f0400000 (64-bit, non-prefetchable) [size=4K]
Memory at f0100000 (64-bit, prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: r8169
Kernel modules: r8169
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter
DeviceName: Sanji2
Subsystem: Hewlett-Packard Company RTL8723BE PCIe Wireless Network Adapter
Flags: bus master, fast devsel, latency 0, IRQ 231
I/O ports at 2000 [size=256]
Memory at f1000000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: rtl8723be
Kernel modules: rtl8723be
有人可以帮忙吗?