public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
From: Sergei Gavrikov <sergei.gavrikov@gmail.com>
To: Simon Kallweit <simon.kallweit@intefo.ch>
Cc: ecos-devel@ecos.sourceware.org
Subject: Re: lwip 1.3.1 testing
Date: Wed, 26 Aug 2009 08:43:00 -0000	[thread overview]
Message-ID: <20090826084306.GA14585@ubuntu.local> (raw)
In-Reply-To: <4A94D872.3000606@intefo.ch>

On Wed, Aug 26, 2009 at 08:38:42AM +0200, Simon Kallweit wrote:
> Sergei Gavrikov wrote:
>> I retried nc master/slave test with your template and suggested pbuf
>> values. For synthetic (I used tap interface) I got good results with
>> lwIP, but, for real target, nc test passed for 100% master load and no
>> load of slave side only. I got about 2Mbits per second with the DM900
>> Ethernet driver (that driver is too slow, it uses memcpy() on every 4
>> bytes arrived or sent), and my board gives only about 15 VAX Mips for
                                                         ^^^^^^^^^^^
I checked, I got 11 Mips on the board.

>> RAM startup, and it seemed for me that was normal result.
>
> Did you use the old lwip port on that board too? Did you get similar  
> results in performance?

Unfortunately, it is not possible run old nc_test_slave from the box,
because it depends on SO_REUSE, and we cannot manage SO_REUSE from CDL,
more that, if we force it, we'll get error

include/lwip/opt.h:353

Well, I forced SO_REUSE=1 and built the test. I did not noticed that I
got more Mbits with old lwip. The packets out of sequence often, but, at
the least the slave side was responsible with a loading.

FYI

old "udpecho" is responsible on

(while : ; do echo `date`; sleep 1; done)|nc -u -4 <board_ip> 7

and

(while : ; do echo `date`; sleep 1; done)|socat - udp4:<board_ip>:7

but could not manage stress "yes|".

old "tcpecho" could answer on stress "yes".

Simon, thanks for the feedback and the port. It will be interesting to
know other results from other sources (hardware).

Regards,
Sergei

  reply	other threads:[~2009-08-26  8:43 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-21  7:11 Simon Kallweit
2009-08-21  7:43 ` John Dallaway
2009-08-21  9:12   ` Edgar Grimberg
2009-08-21 18:43 ` Sergei Gavrikov
2009-08-24 20:18   ` Sergei Gavrikov
2009-08-25  6:09     ` Simon Kallweit
2009-08-25  7:41       ` Simon Kallweit
2009-08-25 12:08         ` Sergei Gavrikov
2009-08-25 20:33           ` Sergei Gavrikov
2009-08-26  6:38             ` Simon Kallweit
2009-08-26  8:43               ` Sergei Gavrikov [this message]
2009-08-26 20:46               ` Sergei Gavrikov
2009-08-27  7:17                 ` Simon Kallweit
2009-08-27  8:03                   ` Sergei Gavrikov
2009-10-25 16:46         ` John Dallaway
2009-10-26 13:00           ` Simon Kallweit
2009-10-26 13:54             ` John Dallaway
2009-10-26 14:29               ` Simon Kallweit
2009-10-26 17:13                 ` John Dallaway
2009-10-27 13:06                   ` Simon Kallweit
2009-11-20 10:24                     ` John Dallaway
2009-12-07 13:41                       ` Simon Kallweit
2009-12-17 10:45                         ` John Dallaway
2010-01-19 12:07                         ` John Dallaway

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=20090826084306.GA14585@ubuntu.local \
    --to=sergei.gavrikov@gmail.com \
    --cc=ecos-devel@ecos.sourceware.org \
    --cc=simon.kallweit@intefo.ch \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).