Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 5 years ago.
Improve this question
I had a question and was unable to find the answer (easily). On my Ubuntu installation, a kworker thread was consuming 100% CPU, which coused my computer to be very slow or crash at times.
If you run the command:
grep . -r /sys/firmware/acpi/interrupts/
and check for any high value like:
/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
backup your file
cp /sys/firmware/acpi/interrupts/gpe00 /root/gpe00.backup
and simply disable it:
echo "disable" > /sys/firmware/acpi/interrupts/gpe00
You have here the complete solution:
https://askubuntu.com/questions/176565/why-does-kworker-cpu-usage-get-so-high
EDIT 5:
In the end it seemed that my NVIDIA card was actually not working correctly. I sent it back and got a new one... :S
The problem was a nouveau conflict (or something) between my onboard videocard and the NVidia videocard. In the BIOS I disabled the onboard card, which solved the problem.
EDIT:
I also disabled XHCI now.
EDIT 2:
https://askubuntu.com/questions/33640/kworker-what-is-it-and-why-is-it-hogging-so-much-cpu
EDIT 3:
Still having problems. Guessing it has something to do with screen blanking. Going to try to do
xset s noblank;xset s 0 0;xset s off; xset -dpms
EDIT 4:
This seems to work. I put it in ~/.profile now (so that it is done on startup).