emersion / emersion/mako

High CPU usage

Open
#643 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
3.3k
Forks
173
PR merge metrics
No merged PRs in 30d

Description

Arch Linux kernel 6.19.10-zen1-1-zen, mako 1.11.0-1, hyprland

After running for ~2 days, mako accumulated 412 minutes of CPU time and was consuming ~15% of total CPU (24-core machine - roughly 3-4 full cores).
This might be a sign of a tight polling/spin loop:
```
$ cat /proc/$(pgrep mako)/status | grep voluntary
voluntary_ctxt_switches: 4151548764
nonvoluntary_ctxt_switches: 1066931
```

`systemctl --user restart mako` fixed this, usage is back to ~0.0%. Will update and try to dig deeper if it happens again.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.