USB hard drive slow in AppVM, but fast in sys-usb

Dear Qubes community,

is it normal, when an usb hard drive reaches 1000 MB/s in sys-usb but only 200 MB or less in the AppVM? How to solve this?

USB drive is connected via thunderbold usb c port.

Thank you

1 Like

In sys-usb “lsusb -t” says:

BusX, Driver=xhci_hcd/3p, 20000M/x2
    |__ Port 1: Dev 4, If 0, Class=Mass Storage, Driver=uas, 10000M"

But in AppVM:

BusX, Driver=vhci_hcd/8p, 10000M
    |__ Port 1: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 5000M

???

1 Like

Instead of forwarding as a USB device, try forwarding as a block device. That’s more robust and more secure anyway, and it might be faster.

USB forwarding is currently limited to (nominally) 5 Gbit/s. There’s a pending change that would increase it to 10 Gbit/s for newer kernels:

1 Like

Great, as block device speed is 800 MB/s.

2 Likes