[U-Boot] am335x: cpsw: optimize cpsw_recv to increase network performance

Tom Rini trini at ti.com
Thu Dec 12 14:39:47 CET 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/12/2013 08:24 AM, Stefan Roese wrote:
> On 12.12.2013 14:20, Vladimir Koutny wrote:
>> 
>> On 12/12/13 13:37, Tom Rini wrote:
>>> On 12/12/2013 03:34 AM, Stefan Roese wrote:
>>>> 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.
>>> 
>> 
>> Good point - indeed I had I/D caches enabled for other reasons
>> already (md5/sha1 caclulations, ..)
> 
> Hmmm. I expected that caches are enabled already. Since I didn't
> see any "D-Cache disabled message" in the startup log.
> 
> If this is not that case, then such cache support would be greatly 
> appreciated. :)

Check your logs?  Unless you've also got a patched tree you should see
"WARNING: Caches disabled" or so, because, yeah, oops, am335x got in
with caches disabled, and then I forgot about it.

- -- 
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSqbyjAAoJENk4IS6UOR1WRXUP/A+c9XNtWkdMGRNPRtzxog+r
v0R00LtTQGKZuM3EFPUX93rJK7fmRPIN8QSxKptSGIib0ncJ92qkWh5S2bIsWx+Z
qKn2E1/xeUDuwpg+el0998yg1geStWoegSQ1LlRqlLvueJhw0etaHAJErrKABUvN
wMTx7r4DELcRlgjKNox1wxogeOiIwlnpHOBAzkrabS4HwEkQWTqQQRGvxE4KVSUx
PAJHQbo1F2kriJmfSFpyNG7qwfK1mpUQUns9qYiNtrpRpaHgaioWM6VFnaNj7YuC
XC2Wa/0vmaoizo3FwLXFQ/i+PWp9HoIEkzm2ZO+oMuDBXjjPv0nMz4fWW1JEjmv8
N6tWNelohOZJ4GU3VGjQbulzhH28L0S/g/RSjhM4iliX5wSsZWEPNI+wZqjI4Bq5
uZ6o810f06fc3fCNbILzDqnIAoCxG06eIL04O/wKK0T2CypCGI4w+hRKtR8yKCvC
RUGZNnoIxLCnByqPiOUuZPpIYpzhK7jvmYQwQ7XUMWRVFOkC5ae1Mu7IH0l0h2Bl
k6mhYNahLQMasQ4ex7R5Ebf+Uw2UOcuqHuZ5hh4n9HyotC68F3+nzFE3tdDSfYMy
0hAwCjRwCYYdvmvu6t/aG4Hp5FIetwpVjtjzJnSxGyDAft/WSwES/XZGA0SqkQVK
XuRoWiP/cFU5qcZUL+2y
=Kekj
-----END PGP SIGNATURE-----


More information about the U-Boot mailing list