* [Qemu-devel] USB performance Question @ 2007-11-21 9:39 admin 2007-11-25 13:01 ` admin 0 siblings, 1 reply; 6+ messages in thread From: admin @ 2007-11-21 9:39 UTC (permalink / raw) To: qemu-devel I could get very complicated USB devices to work under Qemu with Windows as guest, Linux as host. This is pretty amazing development and I must congratulate the Qemu developers. The only problem is the USB speed. I get only about 10kbit/s max! This is measured by downloading a 1MByte scientific camera image. Is this the expected USB speed at the moment or is there anything I can do to improve speed? Thanks ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] USB performance Question 2007-11-21 9:39 [Qemu-devel] USB performance Question admin @ 2007-11-25 13:01 ` admin 2007-11-25 15:48 ` Arnon Gilboa 0 siblings, 1 reply; 6+ messages in thread From: admin @ 2007-11-25 13:01 UTC (permalink / raw) To: qemu-devel Does anyone have a comment about this? It would be interesting to know where the USB development is going as it is extremely promising and the only small obstacle (i.m.o) for full feature device access. The only remaining barrier is speed which should be improved. I can look at the code if someone can point me to where in the sources the USB interface is. thanks admin@mmri.us wrote: > I could get very complicated USB devices to work under Qemu with > Windows as guest, Linux as host. > This is pretty amazing development and I must congratulate the Qemu > developers. > > > The only problem is the USB speed. > I get only about 10kbit/s max! > This is measured by downloading a 1MByte scientific camera image. > > > Is this the expected USB speed at the moment or is there anything I > can do to improve speed? > > Thanks > > > > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] USB performance Question 2007-11-25 13:01 ` admin @ 2007-11-25 15:48 ` Arnon Gilboa 2007-11-25 15:53 ` admin 0 siblings, 1 reply; 6+ messages in thread From: Arnon Gilboa @ 2007-11-25 15:48 UTC (permalink / raw) To: qemu-devel I am in the middle of coding EHCI (USB 2.0) host controller emulation. It is supposed to support faster device speeds (480 Mbit/sec instead of USB 1.1 speeds - 1.5 or 12Mbit/sec). I will post it on the list when it basicly supports simple devices such as disk-on-key. Currently I still have some major problems with the scheduling of async and periodic frame lists. I will check your comment regarding the speed and see what can be done. Anway, if you want to try to solve the issue yourself, the relevant code is in usb-linux.c (Linux host USB redirector) and the USB UHCI/OHCI controller emulations (hw/usb-uhci.c or hw/usb-ohci.c). -----Original Message----- From: qemu-devel-bounces+arnong=qumranet.com@nongnu.org [mailto:qemu-devel-bounces+arnong=qumranet.com@nongnu.org] On Behalf Of admin@mmri.us Sent: Sunday, November 25, 2007 3:01 PM To: qemu-devel@nongnu.org Subject: Re: [Qemu-devel] USB performance Question Does anyone have a comment about this? It would be interesting to know where the USB development is going as it is extremely promising and the only small obstacle (i.m.o) for full feature device access. The only remaining barrier is speed which should be improved. I can look at the code if someone can point me to where in the sources the USB interface is. thanks admin@mmri.us wrote: > I could get very complicated USB devices to work under Qemu with > Windows as guest, Linux as host. > This is pretty amazing development and I must congratulate the Qemu > developers. > > > The only problem is the USB speed. > I get only about 10kbit/s max! > This is measured by downloading a 1MByte scientific camera image. > > > Is this the expected USB speed at the moment or is there anything I > can do to improve speed? > > Thanks > > > > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] USB performance Question 2007-11-25 15:48 ` Arnon Gilboa @ 2007-11-25 15:53 ` admin 2007-11-26 12:16 ` Arnon Gilboa 0 siblings, 1 reply; 6+ messages in thread From: admin @ 2007-11-25 15:53 UTC (permalink / raw) To: qemu-devel [-- Attachment #1: Type: text/html, Size: 3103 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [Qemu-devel] USB performance Question 2007-11-25 15:53 ` admin @ 2007-11-26 12:16 ` Arnon Gilboa 2007-11-26 18:51 ` admin 0 siblings, 1 reply; 6+ messages in thread From: Arnon Gilboa @ 2007-11-26 12:16 UTC (permalink / raw) To: qemu-devel [-- Attachment #1: Type: text/plain, Size: 3060 bytes --] I have just copied 138 MByte (800 files) from a disk-on-key in 75 sec. This is ~14.7Mbit/s, which is more than USB 1.1 full-speed. I have checked it using KVM and WinXP guest. With QEMU only (-no-kvm), it took 130 sec, which is ~8.5 Mbit/sec. If you can give some info about your USB device (configurations, interfaces, endpoints etc.) and the transfers (isochronous? bulk?) , it would help in solving this issue. ________________________________ From: qemu-devel-bounces+arnong=qumranet.com@nongnu.org [mailto:qemu-devel-bounces+arnong=qumranet.com@nongnu.org] On Behalf Of admin@mmri.us Sent: Sunday, November 25, 2007 5:54 PM To: qemu-devel@nongnu.org Subject: Re: [Qemu-devel] USB performance Question Thanks Arnon. USB1 works really great even for complex streaming cameras! Although it is just very very slow. As mentioned I only get about 10kbit/s! which is something I dont understand why. I would have expected 1Mbit/s and could live with that. If there are any test you want me to do please dont hesitate. Cant wait for your USB2 implementation. Great effort! Arnon Gilboa wrote: I am in the middle of coding EHCI (USB 2.0) host controller emulation. It is supposed to support faster device speeds (480 Mbit/sec instead of USB 1.1 speeds - 1.5 or 12Mbit/sec). I will post it on the list when it basicly supports simple devices such as disk-on-key. Currently I still have some major problems with the scheduling of async and periodic frame lists. I will check your comment regarding the speed and see what can be done. Anway, if you want to try to solve the issue yourself, the relevant code is in usb-linux.c (Linux host USB redirector) and the USB UHCI/OHCI controller emulations (hw/usb-uhci.c or hw/usb-ohci.c). -----Original Message----- From: qemu-devel-bounces+arnong=qumranet.com@nongnu.org [mailto:qemu-devel-bounces+arnong=qumranet.com@nongnu.org] On Behalf Of admin@mmri.us Sent: Sunday, November 25, 2007 3:01 PM To: qemu-devel@nongnu.org Subject: Re: [Qemu-devel] USB performance Question Does anyone have a comment about this? It would be interesting to know where the USB development is going as it is extremely promising and the only small obstacle (i.m.o) for full feature device access. The only remaining barrier is speed which should be improved. I can look at the code if someone can point me to where in the sources the USB interface is. thanks admin@mmri.us wrote: I could get very complicated USB devices to work under Qemu with Windows as guest, Linux as host. This is pretty amazing development and I must congratulate the Qemu developers. The only problem is the USB speed. I get only about 10kbit/s max! This is measured by downloading a 1MByte scientific camera image. Is this the expected USB speed at the moment or is there anything I can do to improve speed? Thanks [-- Attachment #2: Type: text/html, Size: 4645 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] USB performance Question 2007-11-26 12:16 ` Arnon Gilboa @ 2007-11-26 18:51 ` admin 0 siblings, 0 replies; 6+ messages in thread From: admin @ 2007-11-26 18:51 UTC (permalink / raw) To: qemu-devel [-- Attachment #1: Type: text/html, Size: 3335 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-11-26 18:52 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2007-11-21 9:39 [Qemu-devel] USB performance Question admin 2007-11-25 13:01 ` admin 2007-11-25 15:48 ` Arnon Gilboa 2007-11-25 15:53 ` admin 2007-11-26 12:16 ` Arnon Gilboa 2007-11-26 18:51 ` admin
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).