Re: [2.4.17/18pre] VM and swap - it's really unusable

Alan Cox
2002-01-12T18:36:13Z

> > Hey my DVD player has stalled, lets add sem_with_revolting_priority_trick!
> > Why the hell is UP Windows XP3 blowing away my Linux box on DVD playing while
> > Linux now runs with the grace and speed of IRIX?
>
> Because the IRIX implementation sucks, every implementation has to suck?
> Somehow I have the suspicion you're trying to discourage everyone from
> even trying, because if he'd succeeded you'd loose a big chunk of
> potential RTLinux customers.

Victor has had the same message for years, as have others like Larry McVoy
(in fact if Larry and Victor agree on something its unusual enough to
remember). So I can vouch for the fact Victor hasn't changed his tune from
before rtlinux was ever any real commercial toy. I think you owe him an
apology.

Now rtlinux and low latency in the main kernel are two different things. One
gives you effectively a small embedded system to program for which talks
to Linux. From that you draw extremely reliable behaviour and very bounded
delay times. Its small enough you can validate it too

RtLinux isn't going to help you one bit when it comes to smooth movie playback
because the DVD playback is dependant on the Linux file system layers and a
whole pile of other code. Low-latency does this quite nicely, and it takes
you to the point where hardware becomes the biggest latency cause for the
general case. Pre-empt doesn't buy you anything more. You can spend a
millisecond locked in an I/O instruction to an irritating device.

Alan