Abysmal performance for USB with Solaris 10 x86

From: Alex Sudakar (alex.sudakar@gmail.com)
Date: Wed Mar 07 2007 - 07:29:36 EST


I'm runing Solaris 10 x86 - release 6/06, fully patched to the
1st March 2007, kernel patch 118855-36 - on a new Dell Optiplex
745 PC. I'm having problems with performance using an 'ASTONE'
2GB USB memory stick.

The memory stick boasts '80x' speed on its cover, but under Solaris,
doing a 'dd' of /dev/zero into a file on a filesystem mounted on the
stick, I get only 450 kilobytes/sec. Running the Slackware 11 distribution
of Linux on the machine I get 2MB/sec; with Ubuntu I get better than
3.5MB/sec.

When I plug in the memory stick under Solaris 10 I see these messages
in /var/adm/messages:

Mar 7 10:52:11 mars usba: [ID 912658 kern.info] USB 2.0 device
(usb13fe,1a23) operating at hi speed (USB 2.x) on USB 2.0 root hub:
storage@2, scsa2usb0 at bus address 2
Mar 7 10:52:11 mars usba: [ID 349649 kern.info] ASTONE 6E69040010A7
Mar 7 10:52:11 mars genunix: [ID 936769 kern.info] scsa2usb0 is
/pci@0,0/pci1028,1da@1a,7/storage@2
Mar 7 10:52:11 mars genunix: [ID 408114 kern.info]
/pci@0,0/pci1028,1da@1a,7/storage@2 (scsa2usb0) online
Mar 7 10:52:12 mars scsi: [ID 193665 kern.info] sd1 at scsa2usb0:
target 0 lun 0
Mar 7 10:52:12 mars genunix: [ID 936769 kern.info] sd1 is
/pci@0,0/pci1028,1da@1a,7/storage@2/disk@0,0
Mar 7 10:52:13 mars genunix: [ID 408114 kern.info]
/pci@0,0/pci1028,1da@1a,7/storage@2/disk@0,0 (sd1) online

A 'cfgadm -lv' of the usb port on which the ASTONE appears is as
follows:

Ap_Id Receptacle Occupant Condition Information
When Type Busy Phys_Id
usb2/2 connected configured ok
Mfg: Product: ASTONE NConfigs: 1 Config: 0 <no cfg str
descr>
unavailable usb-storage n /devices/pci@0,0/pci1028,1da@1a,7:2

An excerpt from 'prtconf -D' has this:

    pci, instance #0 (driver name: npe)
        pci1028,1da
        pci8086,2991, instance #0 (driver name: pcie_pci)
            display, instance #0 (driver name: vgatext)
            pci1028,403
        pci1028,1da, instance #0 (driver name: uhci)
        pci1028,1da, instance #1 (driver name: uhci)
        pci1028,1da, instance #0 (driver name: ehci)
            storage, instance #0 (driver name: scsa2usb)
                disk, instance #1 (driver name: sd)
    ...

which seems to suggest that the USB device is running under the
high-speed ehci driver?

I don't know much/anything about the mechanics of USB with Solaris 10 so
I would appreciate any advice; are there parameters I can inspect or
fiddle? Does anyone have an ASTONE 2GB memory stick working on Solaris
10 x86?

Any help would be most gratefully received!

Thanks,

Alex
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:44 EDT