home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 22799 < prev    next >
Encoding:
Text File  |  1993-01-05  |  3.7 KB  |  75 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!caen!spool.mu.edu!umn.edu!noc.msc.net!news.stolaf.edu!lars.acc-admin.stolaf.edu!johnsonm
  3. From: johnsonm@lars.acc-admin.stolaf.edu (Michael K. Johnson)
  4. Subject: Re: real time
  5. In-Reply-To: nigel@gamble.uucp's message of Tue, 5 Jan 1993 12:53:54 GMT
  6. Message-ID: <1993Jan5.173235.6490@news.stolaf.edu>
  7. Sender: news@news.stolaf.edu
  8. Organization: St. Olaf College; Northfield, MN  USA
  9. References: <1993Jan3.054159.11008@umr.edu> <1993Jan4.191229.22825@news.stolaf.edu> <C0Dt5v.6G@gamble.uucp>
  10. Date: Tue, 5 Jan 1993 17:32:35 GMT
  11. Lines: 62
  12.  
  13.  
  14. In article <C0Dt5v.6G@gamble.uucp> nigel@gamble.uucp (Nigel Gamble) writes:
  15.  
  16.    In <1993Jan4.191229.22825@news.stolaf.edu> johnsonm@lars.acc-admin.stolaf.edu (Michael K. Johnson) writes:
  17.    >Well, actually, for some "real-time" applications, linux makes a lot
  18.    >of sense, essentially because it has very low overhead in general.
  19.  
  20.    Unfortunately, although a real time operating system needs to have very
  21.    low overhead, having very low overhead does not mean that you have a
  22.    real time operating system.  With the current version of Linux (as with
  23.    any other traditionally designed UN*X operating system) there is no
  24.    way to *guarantee* fast, *deterministic* response times.
  25.  
  26. I understand that low overhead does not mean real-time: That is why I
  27. quotes around "real-time" above.  Many applications which get labeled
  28. "real-time" really only require that low overhead and quick service.
  29. For these apps, Linux is already a good platform.  It is extremely
  30. easy to write device drivers for Linux, when one is required for the
  31. application.  Loadable device drivers would make it even easier.
  32.  
  33.    >However, it would not take a "fundamental design change in how the
  34.    >kernel works" to make linux a /good/ RTOS.
  35.  
  36.    I think you're wrong here, for the reasons I outlined in a previous posting.
  37.    But if you (or anyone else) is seriously thinking of `Linux-RT', I'll
  38.    volunteer to help.
  39.  
  40. It depends on what you want the RTOS to do.  I don't pretend that
  41. Linux RT would be a panacea, but I think that it would have a large
  42. sphere of usefulness.  The devices don't do more than they have to
  43. with interrupts disabled.  And if, for instance, you couldn't deal
  44. with the requirements of the hard disk for undivided attention, you
  45. use a ramdisk.  It would also not be too hard to re-write any device
  46. drivers that had to be re-written.  The Linux kernel really is pretty
  47. modular.
  48.  
  49.    However, I now believe that the best way to implement a real time
  50.    POSIX compliant OS is to start with a real time microkernel, not with
  51.    a non real time monolithic kernel.  This allows many of the subsystems
  52.    that cause problems for a real time UN*X kernel, such as the file
  53.    system, to be implemented in user space where they can do less damage
  54.    to deterministic response times.  Of course, there is still the problem
  55.  
  56. With pseudodevices, this could be done with linux, and pseudodevices
  57. were once done for linux, and could be again.  It's a different
  58. approach, though.
  59.  
  60.    of ensuring that all device drivers conform to the rules for ensuring
  61.    determinism.  This is difficult enough for a commercial implementation;
  62.    Linux device drivers are being contributed by many different people
  63.    who would all have to understand how their code impacts the real time
  64.    nature of the OS.
  65.  
  66. No, you make a different version of Linux, Linux RT, and check that.
  67.  
  68. I think that your points are well-raised and well-thought, but not all
  69. applications that require some sort of real-time service have every
  70. requirement that is related to the thought of real-time.  You choose
  71. the OS that fits your project best, and Linux-RT would be only one
  72. option, if it is ever written.
  73.  
  74. michaelkjohnson
  75.