Abysmal performance for USB with Solaris 10 x86

2007-12-25 6:55:00

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 at 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 at 0,0/pci1028,1da at 1a,7/storage at 2
Mar 7 10:52:11 mars genunix: [ID 408114 kern.info]
/pci at 0,0/pci1028,1da at 1a,7/storage at 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 at 0,0/pci1028,1da at 1a,7/storage at 2/disk at 0,0
Mar 7 10:52:13 mars genunix: [ID 408114 kern.info]
/pci at 0,0/pci1028,1da at 1a,7/storage at 2/disk at 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 at 0,0/pci1028,1da at 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

Comments

Got something to say?

You must be logged in to post a comment.