public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] eCos Performance
@ 2005-09-10  1:00 mkhoyila
  2005-09-13  8:15 ` Andrew Lunn
  0 siblings, 1 reply; 5+ messages in thread
From: mkhoyila @ 2005-09-10  1:00 UTC (permalink / raw)
  To: ecos-discuss

Hi Gary,

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.

Michael


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] eCos Performance
  2005-09-10  1:00 [ECOS] eCos Performance mkhoyila
@ 2005-09-13  8:15 ` Andrew Lunn
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Lunn @ 2005-09-13  8:15 UTC (permalink / raw)
  To: mkhoyila; +Cc: ecos-discuss

On Fri, Sep 09, 2005 at 06:08:34PM -0700, mkhoyila@uci.edu wrote:
> Hi Gary,
> 
> 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.

eCos is an RTOS. The design of the networking makes some sacrifices to
make sure the real time services stay real time. This results in
networking being a bit slow.

If you want really high network performance i suggets you look for a
none RTOS.

        Andrew

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] ecos performance
  2002-04-03 22:08 ` Jonathan Larmour
@ 2002-04-05  0:54   ` Andrew Lunn
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Lunn @ 2002-04-05  0:54 UTC (permalink / raw)
  To: Jonathan Larmour; +Cc: Stijn Symons, eCos Discuss

On Thu, Apr 04, 2002 at 07:08:22AM +0100, Jonathan Larmour wrote:
> Stijn Symons wrote:
> > 
> > Hi all,
> > 
> > were still trying to speed up things with are Java VM on eCos. We've got
> > it a little faster, but still it's significantly slower than embedded
> > linux. Our question is: we use queue's and memory pools heavily. The
> > pool is +/- 15 Mb and the queue's are used to zip/unzip all the class
> > files.
> > 
> > Is it possible that it could be these that slow down the program?
> 
> Not intrinsically - but maybe the *way* your using them is the problem
> (e.g. a zillion 1 byte allocs and frees etc. :-)).
> 
> We've been developing profiling technology (with gprof) for some customers,
> but it won't be used with eCos apps (it's to do with other apps loaded via
> RedBoot). This is probably the type of thing you need to have developed to
> work out what's happening.

If you look a long way back in the archive, Dec 1999, you will find an
email which contained a basic profiler. It was for the ARM EBSA285,
but the basic code can be ported to other platforms with some
work. That will gve you an idea which functions are taking up the
time.

    Andrew

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] ecos performance
  2002-04-02  2:00 [ECOS] ecos performance Stijn Symons
@ 2002-04-03 22:08 ` Jonathan Larmour
  2002-04-05  0:54   ` Andrew Lunn
  0 siblings, 1 reply; 5+ messages in thread
From: Jonathan Larmour @ 2002-04-03 22:08 UTC (permalink / raw)
  To: Stijn Symons; +Cc: eCos Discuss

Stijn Symons wrote:
> 
> Hi all,
> 
> were still trying to speed up things with are Java VM on eCos. We've got
> it a little faster, but still it's significantly slower than embedded
> linux. Our question is: we use queue's and memory pools heavily. The
> pool is +/- 15 Mb and the queue's are used to zip/unzip all the class
> files.
> 
> Is it possible that it could be these that slow down the program?

Not intrinsically - but maybe the *way* your using them is the problem
(e.g. a zillion 1 byte allocs and frees etc. :-)).

We've been developing profiling technology (with gprof) for some customers,
but it won't be used with eCos apps (it's to do with other apps loaded via
RedBoot). This is probably the type of thing you need to have developed to
work out what's happening.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ECOS] ecos performance
@ 2002-04-02  2:00 Stijn Symons
  2002-04-03 22:08 ` Jonathan Larmour
  0 siblings, 1 reply; 5+ messages in thread
From: Stijn Symons @ 2002-04-02  2:00 UTC (permalink / raw)
  To: eCos Discuss

Hi all,

were still trying to speed up things with are Java VM on eCos. We've got 
it a little faster, but still it's significantly slower than embedded 
linux. Our question is: we use queue's and memory pools heavily. The 
pool is +/- 15 Mb and the queue's are used to zip/unzip all the class 
files.

Is it possible that it could be these that slow down the program?

thanks,

Stijn&Tom




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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-09-13  8:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-10  1:00 [ECOS] eCos Performance mkhoyila
2005-09-13  8:15 ` Andrew Lunn
  -- strict thread matches above, loose matches on Subject: below --
2002-04-02  2:00 [ECOS] ecos performance Stijn Symons
2002-04-03 22:08 ` Jonathan Larmour
2002-04-05  0:54   ` Andrew Lunn

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).