This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch for tftp client code


Andrew Lunn wrote:

[ ... ]

Did you test just the normal case or the error case as well? Its a bit
unusual. UDP is allowed to deliver out of sequence packets, but it
does not often happen. What sort of network setup do you have to make
this happen? Im wondering if your ethernet driver is broken. If so it
will affect you TCP performance.

Actually, the pakets I receive are not really "out of sequence"; instead it seems that some pakets are sent twice. I would guess this happens
when the tftp client is slower than usual sending an acknowledge for a
DATA paket, causing the server to think the paket got lost and resending
it. Since my target is connected to our network via a hub and the
ethernet performance isn't that hot to begin with (nc_test reported a maximum throughput of around 1.8 MByte/s, if I remember correctly), this
doesn't seem so unlikely to me. Using tftp under Linux on the same
hardware is only marginally faster, so I don't think this is an
indication of driver problems.
--
--------------------------------------------------------------------
| Eric Doenges | DynaPel Laboratories GmbH |
| Tel: +49 89 962428 23 | Fraunhoferstrasse 9/2 |
| Fax: +49 89 962428 90 | D - 85737 Ismaning, Germany |
--------------------------------------------------------------------



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]