kworker CPU占用率高解决方法

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

检查最高值,例如:
/sys/firmware/acpi/interrupts/gpe13: 1659333 STS enabled unmasked

sudo mkdir /acpi_interrupts_backups
sudo cp /sys/firmware/acpi/interrupts/gpe13 /acpi_interrupts_backups
sudo crontab -e
Add:

@reboot echo "disable" > /sys/firmware/acpi/interrupts/gpe13

从暂停唤醒后也使其工作:
sudo touch /etc/pm/sleep.d/30_disable_gpe13
sudo chmod +x /etc/pm/sleep.d/30_disable_gpe13
sudo nano /etc/pm/sleep.d/30_disable_gpe13
Add:

#!/bin/bash
case "$1" in
    thaw|resume)
        echo disable > /sys/firmware/acpi/interrupts/gpe13 2>/dev/null
        ;;
    *)
        ;;
esac
exit $?

发表评论

电子邮件地址不会被公开。 必填项已用*标注

20 − 12 =