Skip to content

High CPU usage #643

@Kirkezz

Description

@Kirkezz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions