[U-Boot] am335x: cpsw: optimize cpsw_recv to increase network performance
Tom Rini
trini at ti.com
Thu Dec 12 13:37:16 CET 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/12/2013 03:34 AM, Stefan Roese wrote:
> On 04.12.2013 23:05, Tom Rini wrote:
>> On Thu, Nov 28, 2013 at 10:38:40AM +0100, Vladimir Koutny wrote:
>>
>>> In 48ec5291, only TX path was optimized; this does the same
>>> also for RX path. This results in huge increase of TFTP
>>> throughput on custom am3352 board (from 312KiB/s to 1.8MiB/s)
>>> and eliminates occasional transfer timeouts.
>>>
>>> Signed-off-by: Vladimir Koutny
>>> <vladimir.koutny at streamunlimited.com> Cc: Mugunthan V N
>>> <mugunthanvnm at ti.com> Cc: Joe Hershberger
>>> <joe.hershberger at gmail.com> Cc: Tom Rini <trini at ti.com>
>>
>> Applied to u-boot-ti/master, thanks!
>
> I just tested on dxr2 (AM3352 based board) with latest mainline
> U-Boot. And the network performance is a bit better. But not as
> good as yours. Here my numbers:
>
> Without this patch: ~400 KiB/s With this patch: ~570 KiB/s
>
> Any ideas what might be missing on my platform? Why the speed is
> not as good?
I only got a small increase as well until I also grabbed the dcache
enable patch. I need to find some time today to clean out the TI
queue again.
- --
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBAgAGBQJSqa37AAoJENk4IS6UOR1W0eUP/2XiYEeOzfnBCQQkwnE4UvuL
6+oQFS0BLVYpIxyWSpDbxua+lPdzO7mb7A/ak/cw9SePauhtYDPKHIQXHah4hhjq
86E/kCrB7CYekerKKFowZTdJd+y108BSi9IuvwS7AnFXL9E8B/cUOY8s5vSASSRP
zv9b4iJi6ecDIvXDqegFxdwbio2t6ykE1bNEHsPBuSgyVY6wvM80Gh4SUPHTAZTM
o7Y9VeAzkvdJvOLPq/Yo4sZo8ofVHDiK9ar35pbpOdA6ZFWIcXyouQtoq273zFix
F3Wi+sk1+gaX5mTuyI+nQumDHmHHNDT2ekuUHIZ63gw4OP/Xf/2kiw8gRjBePlB1
kPLYtKSNXFrBf1kDwEPxXLPvw3r3+yIJDZ43zeB5CFxjkjC/drNiUDaZc1w4BLQf
e7wfK/oygU3smfg4AHe30mK9VzYoxjOHnP8VLLKtxEN9Gky+PF2I2iKbjI/97Hhr
jX4ipiOtIdejv8u6bbotwgb8cUoAx/uhIAYPlBR9qRXOFwy9YCigCJRVlxqKsdyc
S7GCdpt64Ib1pdI0SbLlgdLQMcLdCjAT+2/gxOp1gjMiCVj7GYYC6Xn1zL3S6EbL
ErWzREBO6hrTwkFYubVYfsKj6oOP6GeuVFMLPynl0OIiWWlulpvCLbUMqz5LeBjg
8suZdwgdgPPs0s4vDw6o
=esmE
-----END PGP SIGNATURE-----
More information about the U-Boot
mailing list