W dniu 02.12.2014 o 11:55, Ricardo Ribalda Delgado pisze:
Hello As you know I am trying to improve the net2280 driver to a point where it is usable for my company (qtec.com). We develop smart cameras based on linux, and we want to provide also a mass storage interface to the camera. Right now, the maximum speed I have been able to achieve is around 80 MiB per second. This is with the governor in performance mode and disabling idle states on the cpu. I wonder if any of you have meassured the maximum speed achievable via usb gadget mass storage via usb 3.0? And what about the fastest usb 3.0 ssd hard drive (no usb gadget)? If I want to get closer to the maximum speed should I just forget about mass storage and use something else? What?
You might want to look into UAS (USB Attached SCSI). There is "USB Gadget Target Fabric Module" in Kconfig. There is a gadget-cli tool to control it from userspace. You can ask Sebastian for more information: c52661d60f636d17e26ad834457db333bd1df494 Author: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> 2012-05-04 04:51:36 Committer: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx> 2012-05-10 00:25:59 Child: 70baf0ab3b2608727515086bee4c484a93e22880 (target: remove transport_generic_process_write) Branches: balbi-testing-next and many more (556) Follows: v3.4-rc2 Precedes: v3.5-rc1 usb-gadget: Initial merge of target module for UASP + BOT AP -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html