pkarashchenko commented on code in PR #6601:
URL: https://github.com/apache/incubator-nuttx/pull/6601#discussion_r918663893


##########
drivers/usbdev/Kconfig:
##########
@@ -799,6 +799,20 @@ config USBMSC_NRDREQS
        ---help---
                The number of write/read requests that can be in flight
 
+config USBMSC_WRMULTIPLE
+       bool "Write multiple blocks at once if possible"
+       default n
+       ---help---
+               Store multiple blocks and write them in a single request.  This
+               speeds up the writing significantly with eMMC devices, for 
example,
+               because writing 512 bytes may be as fast as writing the complete
+               SUPER_PAGE_SIZE (see extended CSD [225] bits 0-3), which may be 
up
+               to 64Kb.  Real-life example with different block sizes, using 
the
+               dd command with argument bs=512, bs=8k (USBMSC_NWRREQS = 4, and 
16):
+                512b: 470 kb/s, 8k: 5.3 Mb/s.  This is more than a tenfold 
increase

Review Comment:
   Please change spaces to TABs here



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to