Re: spicy usbredir with USB mass storage device spend 30~60 seconds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 07/08/2012 06:12 AM, Lv Basen wrote:
HI all:

          I have setup a box running spicy with usb redirection,  when pulg-in a usb mass storage device( 200GB ) in the box,
It shoud spend 60 seconds, then we can found the usb device in virtual machine os.

          I enabled the debug log with --enable-debug-log=yes when configure libusb, and find there is very much "usb_redir_bulk_packet"
data packets.

          how can I do speed up the initial usb redirect with spicy.

You cannot I'm afraid USB mass storage devices can only handle one command at a time, so
what happens is:
send command, wait reply, send command, wait reply

Normally this is reasonable quick, but with usb redirection added to the loop
atleast 1 ms of latency gets inserted after each step, making things slow, esp. when
there is a lot of small packets going back and forth.

Still 1 minute seems quite long. Is this with a windows or a Linux guest? With Linux
guests usb sticks come up in a couple of seconds for me.

Regards,

Hans
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]