summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHemant Kumar <hemantk@codeaurora.org>2016-05-01 17:44:56 -0700
committerKyle Yan <kyan@codeaurora.org>2016-06-07 16:01:52 -0700
commit1f6b38f5293cfd619adcfac152e6d32ba6b40023 (patch)
treea1284ced016218fa3fd7ce916c9d317a89bd498d /tools/perf/scripts/python
parent1bb8887af8b525e68d9c9e7c828836a3d17ab0b3 (diff)
USB: gadget: mtp: Add module parameters for Tx transfer length
The Tx request transfer length is 16K bytes by default. The test results indicate that larger transfers improve read speeds. Add provision for specifying Tx transfer length at runtime. echo -n 1048576 > /sys/module/g_android/parameters/mtp_tx_req_len The above command can be used to set Tx transfer length to 1MB. If the memory allocation is failed, fallback to the default length. Also add provision for specifying no. of Tx requests at runtime. echo 8 > /sys/module/g_android/parameters/mtp_tx_reqs Change-Id: I675fc3303be2aba081d2ab59a9efb94aa478f849 Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org> Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions