This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: eCos on MPC8313
- From: RONETIX - Ilko Iliev <iliev at ronetix dot at>
- To: Andrew Lunn <andrew at lunn dot ch>, eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Tue, 21 Apr 2009 16:20:10 +0200
- Subject: Re: [ECOS] eCos on MPC8313
- References: <49ED9EFA.70809@ronetix.at> <20090421105156.GB21431@lunn.ch>
Hello Andrew,
Andrew Lunn wrote:
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.
I'm not sure if the real time behavior is a reason for slower networking
if the CPU is not under heavy-duty.
regards,
Ilko
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss