public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] am335x: cpsw: optimize cpsw_recv to increase network performance
Date: Thu, 12 Dec 2013 08:39:47 -0500	[thread overview]
Message-ID: <52A9BCA3.8000903@ti.com> (raw)
In-Reply-To: <52A9B923.4020206@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-----

  reply	other threads:[~2013-12-12 13:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-28  9:38 [U-Boot] [PATCH] am335x: cpsw: optimize cpsw_recv to increase network performance Vladimir Koutny
2013-11-28  9:55 ` Mugunthan V N
2013-12-04 22:05 ` [U-Boot] " Tom Rini
2013-12-12  8:34   ` Stefan Roese
2013-12-12 12:37     ` Tom Rini
2013-12-12 13:20       ` Vladimir Koutny
2013-12-12 13:24         ` Stefan Roese
2013-12-12 13:39           ` Tom Rini [this message]
2013-12-12 13:45             ` Stefan Roese
2013-12-12 13:49               ` Tom Rini
2013-12-12 13:53                 ` Stefan Roese

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52A9BCA3.8000903@ti.com \
    --to=trini@ti.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox