This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Re: eCos Performance
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Matt Jerdonek <maj1224 at yahoo dot com>
- Cc: mkhoyila at uci dot edu,eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Sat, 10 Sep 2005 11:34:56 -0600
- Subject: Re: [ECOS] Re: eCos Performance
- References: <20050910172323.41487.qmail@web33514.mail.mud.yahoo.com>
On Sat, 2005-09-10 at 10:23 -0700, Matt Jerdonek wrote:
> These numbers don't seem reasonable to me. Is there a
> chance that something other than the performance of
> the ethernet driver is at fault here? For example,
> could the RAM be setup with a different number of
> wait-states (making the eCos test bed slower). Or
> could caching be enabled with Linux but disabled in
> eCos?
Indeed, this does seem a bit strange.
What's the platform/target? How did you configure the network?
How did you configure the system? What else is running?
Some device drivers have their own tunings (number & size of
internal buffers, etc)? If this is so on your driver, how is
it configured?
One thing to note is that the Linux stack and the eCos stack
are tuned for very different environments and are of differing
vintages (the Linux design is *years* newer than the BSD design
used in eCos). These differences could explain quite a lot.
Also, it's normally important to measure performance in something
other than a vacuum. Care is taken in the eCos stack not to
perturb the real-time characteristics of the system, which may
in a micro-sense cause the network to be slower.
>
> >> Can you help me to improve performance of eCos
> >> ethernet driver. I am
> >> getting these numbers with similar test setup
>
> >> Linux: max 26,000 packets (60 bytes) per second
> >> (single burst) with no drops
> >> eCos: max 8,500 packets (60 bytes) per second
> (single
> >> burst) with no drops
>
> >> I was hoping with eCos I could reach around 35,000
> >> packet/sec. Is there
> >> any way I could better tune the driver to reach my
> >> goal. Thanks.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss