home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.realtime
- Path: sparky!uunet!portal!quadsys!roland
- From: roland@quadsys.com (Roland Besserer)
- Subject: Re: Real_time systems
- Message-ID: <Bzy362.zo@quadsys.com>
- Organization: QUAD Systems
- X-Newsreader: Tin 1.1 PL3
- References: <1992Dec22.041024.25911@megadata.mega.oz.au>
- Date: Mon, 28 Dec 1992 01:08:25 GMT
- Lines: 37
-
- andrew@megadata.mega.oz.au (Andrew McRae) writes:
- : The complexity of these systems is mostly (I say again, *mostly*,
- : not *always*) unwarranted and often add to the overall cost
- : of the system (in terms of memory, CPU, software cost etc.)
- : In the truly embedded world, it is often better to simplify
- : the OS and make the processes/tasks running under it `co-operative',
- : so that timing contracts are met.
- :
- : .... (deleted)
- :
- : I have come to the conclusion that preemption is to be
- : avoided *if at all possible*, since it carries a lot of
- : baggage with it. But having said all that, it certainly
- : has its place outside of the hard real time world, especially
- : in systems that require some aspects of real time behaviour, such
- : as responding quickly to user input, yet sharing CPU resources
- : fairly amongst competing processes, where some processes are considered
- : higher priority (e.g the X server responding to mouse/keyboard events,
- : yet while processing large bit images). Threads will help a lot.
- :
- One of the best postings on the subject. Although I agree with your
- statements and conclusions I think it's worthwhile pointing out the
- cooperative task approach is only really suitable in fairly simple
- real-time designs. Increasingly complex and particularly highly dynamic
- designs, requiring constant code/task modification, are typically better
- coded using a flexible real-time kernel that employs pre-emption,
- scheduling, priorities, etc.
-
- Yes, you will pay a price: overall performance penalties, increase in
- basic resource requirments, increased software costs, etc. But complex designs
- are much easier to maintain in such an environment and software coding and
- maintanability become primary concerns.
- --
-
- Roland Besserer
- QUAD Systems
- roland@quadsys.com
-