diff options
author | Ulf Hansson <ulf.hansson@stericsson.com> | 2011-12-13 16:52:00 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-20 00:00:54 +0000 |
commit | 859dd55d91d977090efbba15c7dfc82e7ed774ef (patch) | |
tree | 6bdabeae944b9e813a35fc30810e04abb9e66cd5 /drivers/mmc/host/mmci.c | |
parent | dcd6c92267155e70a94b3927bce681ce74b80d1f (diff) |
ARM: 7215/1: mmc: mmci: Increase max_segs from 16 to 128
A significant increase (10-20%) in performance throughput for
USB mass storage is the reason for incrementing the value.
By some reason the USB driver allocates buffers which requires
a scattergather list to contain a lot more than 16 elements to
get optimal performance. This change sets the maximum elements
to 128.
Tests with large reads and large writes (100 MiB) show that the
throughput increase is significant for write (10% for this test)
but not for read. Tests are run on a Linux host with ext4 FS on
the gadget mass storage device. The sg-len still exceeds 16 for
the read tests but the performance gain is low or nothing.
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Per Forlin <per.forlin@stericsson.com>
Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mmc/host/mmci.c')
0 files changed, 0 insertions, 0 deletions