This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: : Is eCos Hard Real Time OS ??
- From: Fabian Scheler <fabian dot scheler at gmail dot com>
- To: R Vamshi Krishna <vamshi at cse dot iitb dot ac dot in>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 24 Jun 2005 21:52:04 +0200
- Subject: Re: [ECOS]: Is eCos Hard Real Time OS ??
- References: <Pine.LNX.4.61.0506241630130.20838@mars.cse.iitb.ac.in>
- Reply-to: Fabian Scheler <fabian dot scheler at gmail dot com>
Hi,
I somehow have the feeling, that you have a somehow strange opinion
about what you call "hard real time systems", so what is a hard real
time system?
Well, the general understanding of a hard real time systems is that is
has to fulfill some tasks which underlie hard timing constraints
called deadlines. These deadlines must be guaranteed under all
circumstances otherwise the whole system fails.
But these tasks (these tasks do not directly correspond to threads or
processes!) are part of the whole real time system, t.m. of an
application, an operating system just provides an infrastructure to
execute this application. Deadlines now have to be guaranteed within
the application, not within the operating system, as these deadlines
are application specific! How should an operating system guarantee the
deadline of such a task? You have to analyze the whole application and
make sure that every task completes in time by some kind of formal
technique (WCET, scheduling theory ...).
The most important property of an RTOS is determinism, so you can such
formal techniques and verify your system. OK, some operating systems
do not provide an infrastructure that is suitable for building real
time systems,of course (eg. Windows, Linux ...), but eCos does.
At least: they way you are describing your requirements seems like you
are going to build a time triggered real time system, maybe eCos is
not the best choice here. eCos is better for designing event triggered
systems.
Ciao, Fabian
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss