Skip to content

Qubesd takes a really long time to query and manage USB devices with multiple USB hubs #10569

Description

@Atrate

How to file a helpful issue

Qubes OS release

r4.3

Brief summary

Qubesd takes a really long time to query and manage USB devices with multiple USB hubs. This is quite annoying as qubesd uses 100% of one CPU core while doing that (in a blocking way), making it impossible to interact with Qubes GUI widgets or qubes-qube-manager (and other apps that rely on querying qubesd).

Steps to reproduce

  1. Connect multiple USB hubs to your computer. In my case it's 2 daisy-chained hubs (one plugged into the other) that are integrated into my displays.
  2. Attach a USB device to a qube or query usb devices

Expected behavior

Fast.

Actual behavior

Slow and making almost all dom0 Qubes GUI components unusable.

Additional information

timed while not much else was happening on the system:

user@dom0 ~ % time qvm-usb attach personal sys-usb:2-1.1.1
qvm-usb attach personal sys-usb:2-1.1.1  0.11s user 0.04s system 0% cpu 30.660 total

user@dom0 ~ % time qvm-usb >/dev/null 
qvm-usb > /dev/null  0.15s user 0.06s system 2% cpu 7.730 total

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

C: coreThis issue pertains to a Qubes core component.P: defaultPriority: default. Default priority for new issues, to be replaced given sufficient information.affects-4.3This issue affects Qubes OS 4.3.hardware supportThis issue pertains to the hardware that Qubes OS supports.needs diagnosisRequires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed.

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions