Re: [Qemu-devel] Performance of USB2.0

2012-01-05 Thread Til Obes
Hello. Am 01.11.2011 10:37, schrieb Gerd Hoffmann: I think the main issue here is that we don't do buffering / pipelining for bulk transfers at the moment. We grab a single transfer request from the guest, pass it to the kernel, when it is done pass it back to the guest, then look look for the

Re: [Qemu-devel] Performance of USB2.0

2011-11-01 Thread Gerd Hoffmann
Hi, This means that the likely cause is just that usb emulation / pass through causes quite a bit of overhead, which is not unexpected since both the usb protocol and the ehci controller interface are both quite hard to emulate. I think the main issue here is that we don't do buffering /

Re: [Qemu-devel] Performance of USB2.0

2011-11-01 Thread Til Obes
Hi. Am 01.11.2011 10:37, schrieb Gerd Hoffmann: I think the main issue here is that we don't do buffering / pipelining for bulk transfers at the moment. We grab a single transfer request from the guest, pass it to the kernel, when it is done pass it back to the guest, then look look for the

[Qemu-devel] Performance of USB2.0

2011-10-31 Thread Til Obes
Hello all, i want to use a virtual router which is connected to a cable box via an usb ethernet controller. The device itself runs properly at normal usage. But inside the virtual machine i get only about 7MBit. I configured the the usb device with the following xml syntax of libvirt: controller

Re: [Qemu-devel] Performance of USB2.0

2011-10-31 Thread Hans de Goede
Hi, On 10/31/2011 10:27 AM, Til Obes wrote: Hello all, i want to use a virtual router which is connected to a cable box via an usb ethernet controller. The device itself runs properly at normal usage. But inside the virtual machine i get only about 7MBit. I configured the the usb device with

Re: [Qemu-devel] Performance of USB2.0

2011-10-31 Thread Til Obes
Hi. Am 31.10.2011 13:46, schrieb Hans de Goede: If you're using libvirt to start qemu, then it will also pass -usb to qemu, so you will have both a usb-1 (uhci) and a usb-2 (ehci) controller inside your vm, since your hostdev xml code does not specify a bus the hostdev will likely get connected

Re: [Qemu-devel] Performance of USB2.0

2011-10-31 Thread Hans de Goede
Hi, On 10/31/2011 02:37 PM, Til Obes wrote: Hi. Am 31.10.2011 13:46, schrieb Hans de Goede: If you're using libvirt to start qemu, then it will also pass -usb to qemu, so you will have both a usb-1 (uhci) and a usb-2 (ehci) controller inside your vm, since your hostdev xml code does not