From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 12 Dec 2013 08:39:47 -0500 Subject: [U-Boot] am335x: cpsw: optimize cpsw_recv to increase network performance In-Reply-To: <52A9B923.4020206@denx.de> References: <52970F20.6070401@streamunlimited.com> <20131204220510.GJ420@bill-the-cat> <52A9752B.9090103@denx.de> <52A9ADFC.3050907@ti.com> <52A9B800.5020402@streamunlimited.com> <52A9B923.4020206@denx.de> Message-ID: <52A9BCA3.8000903@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de -----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-----