[OpenIndiana-discuss] USB 2 performance

bentahyr at chez.com bentahyr at chez.com
Tue Jul 28 02:08:00 UTC 2015


I did some test today with another USB drive.
Here are the results :

>From Linux (NTFS)
$ dd if=FreeDOS-1.1-memstick-2-2048M.img of=/media/ben/MD/FreeDOS-1.1-memstick-2-2048M.img
3948544+0 enregistrements lus
3948544+0 enregistrements écrits
2021654528 octets (2.0 GB) copiés, 91.5862 s, 22.1 MB/s

>From OI
Jul 28 08:50:42 hostname usba: [ID 912658 kern.info] USB 2.0 device (usb5e3,702) operating at hi speed (USB 2.x) on USB 2.0 root hub: storage at 7, scsa2usb0 at bus address 2
Jul 28 08:50:42 hostname usba: [ID 349649 kern.info]      USB TO IDE
Jul 28 08:50:42 hostname genunix: [ID 936769 kern.info] scsa2usb0 is /pci at 0,0/pci1028,21e at 1d,7/storage at 7
Jul 28 08:50:42 hostname genunix: [ID 408114 kern.info] /pci at 0,0/pci1028,21e at 1d,7/storage at 7 (scsa2usb0) online

using NTFS-3g
$ dd if=FreeDOS-1.1-memstick-2-2048M.img of=/mnt/FreeDOS-1.1-memstick-2-2048M.img
3948544+0 records in
3948544+0 records out
2021654528 bytes (2.0 GB) copied, 15867.8 s, 127 kB/s

After reformating to UFS
$ dd if=FreeDOS-1.1-memstick-2-2048M.img of=/mnt/ben/FreeDOS-1.1-memstick-2-2048M.img
3948544+0 records in
3948544+0 records out
2021654528 bytes (2.0 GB) copied, 110.893 s, 18.2 MB/s


Yeah, really, something is wrong with the implementation of FAT/NTFS on OpenIndiana.
Would a more recent NTFS-3G help ? Currently using 2012.1.15AR.8 from SFE.

Ben

----- Mail original -----
De: bentahyr at chez.com
À: "Discussion list for OpenIndiana" <openindiana-discuss at openindiana.org>
Envoyé: Lundi 27 Juillet 2015 16:24:44
Objet: Re: [OpenIndiana-discuss] USB 2 performance

Thanks for the FAT trick.
I don't remember when the disk used to be NTFS, 1 or 2 years ago. I had to reformat it for compatibility issues with shiny hardware I don't manage.

I'll try to reformat it to NTFS and see how it goes.

Best regards.
Ben

----- Mail original -----
De: "Aurélien Larcher" <aurelien.larcher at gmail.com>
À: openindiana-discuss at openindiana.org
Envoyé: Lundi 27 Juillet 2015 16:08:25
Objet: Re: [OpenIndiana-discuss] USB 2 performance

I guess it depends which filesystem you are using, but for FAT yes definitely.
Maybe just a matter of block size in this case.
Also make sure that USB2 is actually used, I found Solaris/illumos to fallback to USB1 on several occasions.

Aurélien

À lun. juil. 27 06:00:21 2015 GMT+0200, bentahyr at chez.com a écrit :
> I redid the test, it is more around 30-35 MB/s on other OS's actually.
> 
> ----- Mail original -----
> De: bentahyr at chez.com
> À: "Discussion list for OpenIndiana" <openindiana-discuss at openindiana.org>
> Envoyé: Lundi 27 Juillet 2015 15:56:33
> Objet: [OpenIndiana-discuss] USB 2 performance
> 
> Hi,
> 
> I always found the performance of USB devices connected to OI behind other OS.
> Is it related to the implementation or is it just me (oi159a) ?
> 
> For example, same drive transfer (one big file) is :
> - 8MB/s on OI
> - 45MB/s on Linux/Windows
> 
> Ben
> 



More information about the openindiana-discuss mailing list