Skip to content

touchy: pegs one CPU core via continuous X redraw traffic at idle #4070

Closed

Description

@grandixximo

touchy pegs one core at idle. Measured under xvfb (uspace RIP, #4054 build):

  • The pegged core is the X server (Xvfb 90-96%), not touchy's Python (touchy ~10% CPU, ~85% of py-spy samples idle in the GTK main loop).
  • axis, gmoccapy, and qtdragon keep Xvfb near 0% under the same setup; only touchy floods X.
  • So it is not a sleepless busy-loop; touchy generates continuous X redraw traffic, likely the periodic set_label widget updates in periodic_status/periodic_radiobuttons (src/emc/usr_intf/touchy/touchy.py).

Pinning the exact widget needs GTK draw-count instrumentation.

Activity

  1. added a commit that references this issue on Jun 1, 2026
    34fa4e1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions