[PATCH v2 0/5] usb: dwc3: throughput improvement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

with these patches (and, no, the mass storage patch is not extremely important
although it gives some nice extra improvement - about 1 MiB/sec extra in some
cases - at least not for USB2, I tested without that as well), I increased USB2
on a AM437x board with g_mass_storage using RAM as backing store from 17MiB/sec
to 39MiB/sec as measured by dd (with oflag/iflag=direct depending on whether I
was writing or reading from g_mass_storage).

I'm yet to test all other gadget drivers to make sure there are no
regressions, but it's looking promissing.

cheers

Changes since V1:
	- fix regression with isochronous transfers

Felipe Balbi (5):
  usb: dwc3: gadget: start requests as soon as they come
  usb: dwc3: gadget: start using Update Transfer more often
  usb: dwc3: gadget: clear DWC3_PENDING_REQUEST when request is queued
  usb: dwc3: gadget: remove 'start_new' parameter
  usb: gadget: mass_storage: allow for deeper queue lengths

 drivers/usb/dwc3/gadget.c                    | 68 +++++++++++++++-------------
 drivers/usb/gadget/Kconfig                   |  2 +-
 drivers/usb/gadget/function/f_mass_storage.c |  2 +-
 3 files changed, 38 insertions(+), 34 deletions(-)

-- 
2.5.0

--
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



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux