public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Gary Thomas <gthomas@redhat.com>
To: Nejat Tek <tek@delcomsys.com>
Cc: eCos Discussion <ecos-discuss@sources.redhat.com>
Subject: RE: [ECOS] Network speed very slow with redboot
Date: Thu, 07 Mar 2002 07:32:00 -0000	[thread overview]
Message-ID: <1015514906.693.202.camel@hermes> (raw)
In-Reply-To: <NEBBJPBNKLFEGHDJDBKKIEOACAAA.tek@delcomsys.com>

On Thu, 2002-03-07 at 08:01, Nejat Tek wrote:
> 
> Hello all,
> 
> Now we know that it is supposed to be slow, is there any quick fix
> that can speed up the redboot networking?
> Do you think, for example, polling the ethernet device driver more
> often, or, changing background networking thread priority, can I
> obtain a significant improvement ? If so, which piece of code should
> I play with ?
> 

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.

> Thanks in advance,
> Nejat Tek
> 
> 
> 
> -----Original Message-----
> From: ecos-discuss-owner@sources.redhat.com
> [mailto:ecos-discuss-owner@sources.redhat.com]On Behalf Of Gary Thomas
> Sent: Thursday, March 07, 2002 8:53 AM
> To: Roland Caßebohm
> Cc: Douglas Bush; eCos Discussion
> Subject: Re: [ECOS] Network speed very slow with redboot
> 
> 
> On Thu, 2002-03-07 at 01:58, Roland Caßebohm wrote:
> > On Tuesday, 5. March 2002 17:19, Douglas Bush wrote:
> > > I have the same performance issue with the EP7211.  My download rate is
> > > 38kbit/s over a 10M Ethernet.  My download rate with the May 2001
> > > redboot image for the EDB7xxx was generally over 380kbit/s.
> > >
> >
> > Hi,
> >
> > the only think i have found is, that the cache wasn't enabled. But enable
> the
> > cache doesn't change much. The download rate is now 200 kbit/s. Is this
> > normal?
> >
> 
> Those are the sort of rates that we see on many boards.  There are a number
> of factors which influence the speed here.  Most RedBoot ports run from
> FLASH
> which is often slow.  Also, the network stack used by RedBoot was designed
> to
> be as simple and small as possible, not necessarily as fast as possible.
> Also,
> GDB sends relatively small packets while downloading.  This adds a lot of
> overhead.
> 
> > Douglas,
> > you sad you have the same problem sins may 2001. I had tried to find
> > something that was changed in this time at the cvs tree. By now I haven't.
> :-(
> 
> AFAIK there have not been any significant changes in this area in the last
> year,
> only minor tweaks and various ports.
> 
> 
> --
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
> 
> 
> -- 
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss



--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

  reply	other threads:[~2002-03-07 15:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-05  7:07 Roland Caßebohm
2002-03-05  8:30 ` Douglas Bush
2002-03-07  1:02   ` Roland Caßebohm
2002-03-07  6:18     ` Gary Thomas
2002-03-07  7:16       ` Nejat Tek
2002-03-07  7:32         ` Gary Thomas [this message]
2002-03-07  8:12           ` Roland Caßebohm
2002-03-07  8:39           ` Mark Salter
2002-03-07  8:09         ` [ECOS] eCos support for Motorola ColdFire? Bill Knight
2002-03-07 13:15           ` W Jensen
2002-03-07 14:13             ` Gary Thomas

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=1015514906.693.202.camel@hermes \
    --to=gthomas@redhat.com \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=tek@delcomsys.com \
    /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).