Ubuntu kworker线程消耗100%的CPU

时间:2014-01-23 10:08:48

标签: ubuntu cpu nvidia

我有一个问题而且无法找到答案(很容易)。在我的Ubuntu安装中,一个kworker线程占用了100%的CPU,这使得我的计算机很慢或者有时会崩溃。

2 个答案:

答案 0 :(得分:9)

如果您运行命令:

grep . -r /sys/firmware/acpi/interrupts/

并检查任何高值,例如:

/sys/firmware/acpi/interrupts/sci:     264
/sys/firmware/acpi/interrupts/error:       0
/sys/firmware/acpi/interrupts/gpe00:     264   enabled
/sys/firmware/acpi/interrupts/gpe01:       0   invalid
...
/sys/firmware/acpi/interrupts/gpe1F:       0   invalid
/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:     265
/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

备份文件

cp /sys/firmware/acpi/interrupts/gpe00 /root/gpe00.backup

并简单地禁用它:

echo "disable" > /sys/firmware/acpi/interrupts/gpe00

您有完整的解决方案:

https://askubuntu.com/questions/176565/why-does-kworker-cpu-usage-get-so-high

答案 1 :(得分:0)

编辑5:

最后我的NVIDIA卡似乎无法正常工作。我发回了它并得到了一个......:S


问题是我的机载视频卡和NVidia显卡之间存在新的冲突(或其他)。在BIOS中,我禁用了板载卡,解决了这个问题。

编辑:

我现在也禁用了XHCI。

编辑2:

https://askubuntu.com/questions/33640/kworker-what-is-it-and-why-is-it-hogging-so-much-cpu

编辑3:

还有问题。猜测它与屏幕消隐有关。要去尝试

xset s noblank;xset s 0 0;xset s off; xset -dpms

编辑4:

这似乎有效。我现在把它放在〜/ .profile中(以便在启动时完成)。