All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Phillips <phillips@bonn-fries.net>
To: Oliver Xymoron <oxymoron@waste.org>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [ANNOUNCE] Adeos nanokernel for Linux kernel
Date: Wed, 5 Jun 2002 04:57:36 +0200	[thread overview]
Message-ID: <E17FQzQ-0001T2-00@starship> (raw)
In-Reply-To: <Pine.LNX.4.44.0206042132450.2614-100000@waste.org>

On Wednesday 05 June 2002 04:40, Oliver Xymoron wrote:
> On Wed, 5 Jun 2002, Daniel Phillips wrote:
> 
> > On Tuesday 04 June 2002 21:29, Oliver Xymoron wrote:
> > > On Mon, 3 Jun 2002, Daniel Phillips wrote:
> > >
> > > > traditional IT.  Not to mention that I can look forward to a sound
> > > > system where I can be *sure* my mp3s won't skip.
> > >
> > > Not unless you're loading your entire MP3 into memory, mlocking it down,
> > > and handing it off to a hard RT process. And then your control of the
> > > playback of said song through a non-RT GUI could be arbitrarily coarse,
> > > depending on load.
> >
> > Thanks for biting :-)
> >
> > First, these days it's no big deal to load an entire mp3 into memory.
> >
> > Second, and of more interest to broadcasting industry professionals and the
> > like, it's possible to write a real-time filesystem that bypasses all the
> > normal non-realtime facilities of the operating system, and where the latency
> > of every operation is bounded according to the amount of data transferred.
> > Such a filesystem could use its own dedicated disk, or, more practically, the
> > RTOS (or realtime subsystem) could operate the disk's block queue.
> >
> > If I recall correctly, XFS makes an attempt to provide such realtime
> > guarantees, or at least the Solaris version does.  However, the operating
> > system must be able to provide true realtime guarantees in order for the
> > filesystem to provide them, and I doubt that the combination of XFS and
> > Solaris can do that.
> 
> Nope, it can't.
> 
> Just bear in mind that it's next to impossible to avoid throwing the baby
> out with the bathwater here. Ok, so you've got an RT kernel playing your
> MP3 alongside your UNIX system - how do you control it? How do you switch
> tracks? All the latency that you were struggling with in the player is
> still there in the user interface.

I'm not sure that I, personally, am a realtime device anyway ;-)

In the context of an mp3 playback system, worrying about whether the
controls are realtime seems a little excessive.  But it's not too hard to
do.  Just allow the RTOS to take control of the input devices, or at least
to insert itself ahead of the general purpose operating system in the
interrupt pipeline.

As for a GUI with realtime response characteristics, that's more
challenging, but it has been done.  It's also less important I'd say.  You
can always fall back on dedicated hardware for the realtime display.

Such concerns become very practical matters when you get into the world of
industrial control systems.

> What you really want for an MP3 player is _not_ hard RT, what you want is
> very reliable low-latency. Which we can do without throwing away most of
> UNIX.

I think that depends on whether you are an audiophile or not.  Or a
broadcaster.  If you're a broadcaster, how many mp3 skips will you tolerate
a year?  By way of analogy, if you're a network administrator, how many
unplanned reboots will you tolerate a year, if you know that by merely
changing the software, you will have none?  There's something to be said
for reliability that is *provable*.

And who said anything about throwing away most of Unix?

-- 
Daniel

  reply	other threads:[~2002-06-05  2:58 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-03  8:35 [ANNOUNCE] Adeos nanokernel for Linux kernel Karim Yaghmour
2002-06-03  8:46 ` Erik Andersen
2002-06-03  8:56   ` Alessandro Rubini
2002-06-03  9:14   ` Karim Yaghmour
2002-06-03  9:52     ` Erik Andersen
2002-06-03 10:05       ` Alessandro Rubini
2002-06-03 10:12       ` Karim Yaghmour
2002-06-03 10:33         ` Erik Andersen
2002-06-03 10:38           ` Karim Yaghmour
2002-06-03 11:05         ` Daniel Phillips
2002-06-03  9:26 ` Daniel Phillips
2002-06-04 19:29   ` Oliver Xymoron
2002-06-05  2:20     ` Daniel Phillips
2002-06-05  2:40       ` Oliver Xymoron
2002-06-05  2:57         ` Daniel Phillips [this message]
2002-06-05 13:51           ` Oliver Xymoron
2002-06-05 14:25             ` Daniel Phillips
2002-06-05 15:37               ` Oliver Xymoron
2002-06-05 17:32                 ` Daniel Phillips
2002-06-05 18:06                   ` Mark Mielke
2002-06-05 18:26                     ` Daniel Phillips
2002-06-05 19:13                       ` Oliver Xymoron
2002-06-05 19:40                         ` Daniel Phillips
2002-06-05 20:51                           ` Mark Mielke
2002-06-05 21:45                             ` Daniel Phillips
2002-06-05 21:22                           ` Oliver Xymoron
2002-06-05 21:55                             ` Daniel Phillips
2002-06-06  8:52                               ` Peter Wächtler
2002-06-06 10:58                                 ` Daniel Phillips
2002-06-06 14:03                                   ` Peter Wächtler
2002-06-06 16:53                                     ` Daniel Phillips
2002-06-05 20:48                         ` Mark Mielke
2002-06-06  8:34                           ` Peter Wächtler
2002-06-08 13:50             ` john slee
2002-06-08 13:59               ` Thunder from the hill
2002-06-06 21:21           ` Pavel Machek
2002-06-07  1:35             ` Mark Mielke
2002-06-07  2:42               ` Daniel Phillips
2002-06-07  2:48                 ` Mark Mielke
2002-06-07 10:32                   ` Daniel Phillips
2002-06-07 21:35                     ` Pavel Machek
2002-06-05  9:41         ` Ingo Oeser
2002-06-05 18:20           ` Karim Yaghmour
2002-06-05  3:56       ` J Sloan
2002-06-05  4:08         ` Daniel Phillips
2002-06-05  7:28           ` Eric W. Biederman
2002-06-05 11:15           ` Peter Wächtler
2002-06-05 12:56             ` Daniel Phillips
2002-06-05 11:11       ` Peter Wächtler
2002-06-05 16:55       ` Rob Landley
2002-06-04 16:10 ` Pavel Machek
2002-06-04 19:59   ` Karim Yaghmour
2002-06-04 21:53   ` Karim Yaghmour
2002-06-04 23:06     ` Alan Cox
2002-06-05  4:00   ` Daniel Phillips
  -- strict thread matches above, loose matches on Subject: below --
2002-06-05  9:24 Martin.Knoblauch
2002-06-05 19:01 Paul Zimmerman
2002-06-05 19:11 ` Karim Yaghmour
2002-06-05 20:17 ` Daniel Phillips

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E17FQzQ-0001T2-00@starship \
    --to=phillips@bonn-fries.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oxymoron@waste.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.