This is the mail archive of the ecos-discuss@sourceware.org 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: Re: eCos Performance


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


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