This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Network speed very slow with redboot
- From: Roland Caßebohm <roland dot cassebohm at visionsystems dot de>
- To: Gary Thomas <gthomas at redhat dot com>, Nejat Tek <tek at delcomsys dot com>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 7 Mar 2002 17:09:34 +0100
- Subject: Re: [ECOS] Network speed very slow with redboot
- References: <NEBBJPBNKLFEGHDJDBKKIEOACAAA.tek@delcomsys.com> <1015514906.693.202.camel@hermes>
On Thursday, 7. March 2002 16:28, Gary Thomas wrote:
> There are no threads in RedBoot :-)
>
> I don't think that there is much that can be done [easily]. The biggest
> problem is the size of the packets that GDB uses and the associated
> overhead. If you use RedBoot to download code directly (using TFTP and
> the 'load' command), you'll see much faster download times. I just tested
> it on one of our platforms here and the difference was pretty
> large:
> GDB - 153k (bits/sec)
> RedBoot via 'load' - 700k (bits/sec)
> So the problem is not really with RedBoot's networking code, but the
> additional overheads involved with the GDB protocol.
>
But why is redboot on a PC more then 10 times faster. Is this only because of
the faster processor? In the following example I used a 400 MHz Pentium.
Loading section .text, size 0x39525 lma 0x108000
Loading section .rodata, size 0x3d06 lma 0x141528
Loading section .data, size 0x5230 lma 0x145230
Start address 0x108000 , load size 271451
Transfer rate: 2171608 bits in <1 sec, 318 bytes/write.
Roland
--
___________________________________________________
VS Vision Systems GmbH, Industrial Image Processing
Roland Caßebohm
Aspelohe 27A, D-22848 Norderstedt, Germany
Mail: roland.cassebohm@visionsystems.de
http://www.visionsystems.de
___________________________________________________
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss