Skip to content

Instantly share code, notes, and snippets.

@munhitsu
Created October 5, 2015 09:59
Show Gist options
  • Save munhitsu/17b24825a1f383d6b6b9 to your computer and use it in GitHub Desktop.
Save munhitsu/17b24825a1f383d6b6b9 to your computer and use it in GitHub Desktop.
high kworker CPU usage / high system CPU usage
kworker is accounts for all kernel threads so you will also see high system CPU usage
In my case I've had nearly filled up BTRFS partition, so kernel was constantly searching for space.
tracing kernel - raw
```
# echo l > /proc/sysrq-trigger
# dmesg
```
tracing kernel - gui
# apt-get install linux-tools-common
# perf record -g -a sleep 10
# perf report
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment