WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Using OHCI to replace UHCI can improve the USB performance d

To: xen-users@xxxxxxxxxxxxxxxxxxx, qemu-devel@xxxxxxxxxx
Subject: [Xen-users] Using OHCI to replace UHCI can improve the USB performance dramatically under windows
From: "Steven Hu" <learn.hu@xxxxxxxxx>
Date: Thu, 16 Aug 2007 12:57:15 +0800
Delivery-date: Wed, 15 Aug 2007 21:57:41 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=UeSoyT8sYEiBJSCLVhfZj6qqrPvPgar0TIMlC0zcCCK8SQhXoYwJgImaritO+YLpNhXIQQpbKsVCcC6Lsqls8I5oUzuZSyND/J2MRPxaC2CtwvkaYa355oX+mqapFhsn6lTQbQSRfGpF/i2qpXsOJIFAfwaKWU/gbTwGVKPdgm4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=MUrYrmmz1QfuBOb1IHGLUyfVacXeeUE2g7wd7gFiQxOxVPzAzbhDn/Sm5AVD9YiGEiM1DgJ82TapfCvqpIlFFb6Cmr/OBDpwbWN0fHwmjYeHYCwMav6peOewiUORGebCHPbgHrN27ffsftusjKIADQNFDyq9WzpODFWn0pvjwgU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello, all
Is there anyone interested in the performance of USB under QEMU?
I found that when use OHCI to replace UHCI in qemu, it will improve
the performance of USB storage device.  I have tested it, the
performance is almost equal of a real usb device.
The way to do this is making
little change in the file xen-3.1.0-src/tools/ioemu/hw/pc.c .

--- pc.c.original       2007-08-14 14:04:33.000000000 +0800
+++ pc.c        2007-08-08 08:57:33.000000000 +0800
@@ -897,7 +897,9 @@
        pci_piix4_acpi_init(pci_bus, piix3_devfn + 2);

    if (pci_enabled && usb_enabled) {
-        usb_uhci_init(pci_bus, piix3_devfn + (acpi_enabled ? 3 : 2));
+        //usb_uhci_init(pci_bus, piix3_devfn + (acpi_enabled ? 3 : 2));
+               //usb_ohci_init(pci_bus, 3, -1);
+        usb_ohci_init(pci_bus, 3,piix3_devfn + (acpi_enabled ? 3 : 2));
    }

 #ifndef CONFIG_DM


There are some issues forLinux guest OS. I am trying to fix it. Is

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Using OHCI to replace UHCI can improve the USB performance dramatically under windows, Steven Hu <=