This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: eCos on MPC8313
- From: Andrew Lunn <andrew at lunn dot ch>
- To: RONETIX - Ilko Iliev <iliev at ronetix dot at>
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Tue, 21 Apr 2009 12:51:56 +0200
- Subject: Re: [ECOS] eCos on MPC8313
- References: <49ED9EFA.70809@ronetix.at>
> Did somebody make a comparison of the network performance of eCos and Linux?
In general, eCos is slower. eCos has different aims to Linux. eCos is
an RTOS, and so does not want the TCP/IP stack, which by definition is
none real time, from upsetting the real time behaviour. So eCos tries
to do most of the networking in threads, where as Linux has it in the
kernel. By placing networking in threads, they can be preempted by
higher priority real time work. However this introduces overheads,
which slows down performance.
If you want high speed networking, consider using Linux. If you want
real time performance, consider using eCos.
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