Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×
Operating Systems Software

QNX: When an OS Really, Really Has to Work 514

An anonymous reader writes "Fortune has this article about how QNX's OS has found a niche and is doing well. Especially after 1996 when Microsoft executives said they would crush them in 2 years. When your software absolutely positively needs to work!"
This discussion has been archived. No new comments can be posted.

QNX: When an OS Really, Really Has to Work

Comments Filter:
  • A couple things (Score:-1, Interesting)

    by ObviousGuy ( 578567 ) <ObviousGuy@hotmail.com> on Sunday June 15, 2003 @08:28PM (#6207708) Homepage Journal
    No doubt QNX is a good enough embedded system. So is VxWorks, so is WinCE, so is Linux. That's completely besides the point.

    1) It isn't the operating system controlling the grinding of lenses or correcting the tilt of the TGV. It is a function of the hardware to do these things. That they report back to some software (which could frankly be run on any embedded OS) which then tells them what to do next is almost irrelevant.

    2) An OS is the least important part of an embedded system. It is perhaps the most replaceable part. This is why WinCE is such a poor choice when it comes to UIs. Why do you need the OS to define the UI shell for you when what really matters is the final software that will be visible.

    An embedded system simply described looks like this:

    Software->OS->Hardware

    The OS part of the picture is completely interchangeable and hardware too, to some respect.

    Proclaiming the joys of QNX is as silly as proclaiming the joys of Linux or VxWorks. What really matters at that level is not the OS but the support that the system integrator can provide to the OEM. In that situation it is WinCE that comes out ahead of the pack.
  • spawn() hangs system (Score:2, Interesting)

    by Anonymous Coward on Sunday June 15, 2003 @08:29PM (#6207710)
    We are running QNX 6.1 Patch B on PowerPC's with a custom BSP.

    We have ported QNX to two custom boards, one based on the MPC7410 PPC and another based on the MPC755. The MPC7410 system is running fine. The new port to the MPC755 has a nasty problem. Anytime spawn() is invoked, the entire QNX system hangs. All processes stop, regardless of priority. This system hang doesn't happen on the MPC7410.

    It looks like it's just spawn() that is the problem. We can start and kill large processes from the ksh shell just fine.

    This problem does not happen on our MPC7410 system. Other than this spawn problem, both systems run great.

    Both systems have MPC107 controllers, 128 MB of SDRAM, and the same Ethernet controller. The MPC7410 system has 2 MB of external L2 cache, the MPC755 system has 1 MB of external L2. We believe that memory and cache integrity are OK.

    What could spawn() be doing to take down the whole kernel on the MPC755?

    Here is a simple example program that runs fine on the MPC7410, but completely hangs QNX on the MPC755:

    #include <stdio.h>
    #include <spawn.h>

    int main(int argc, char** argv)
    {
    char* path ="/bin/ls";
    printf("About to spawn %s\n", path);
    fflush(stdout);
    spawn(path, 0, NULL, NULL, NULL, NULL);
    printf("Spawn is done\n");
    return 0;
    }

    Here are the PPC registers on the MPC755 board seen by typical applications:

    MSR = 0000.9932
    HID0 = 0010.C0A4
    HID1 = 8000.0000
    L2CR = BB00.0060

    We've submitted a request to QNX support for help on this. However, if anyone has any thoughts regarding this problem then please share.

    Thanks

  • by deepchasm ( 522082 ) on Sunday June 15, 2003 @08:36PM (#6207753)

    From the article:

    QNX has been the only company so far to commercialize a microkernel OS.

    Isn't the Windows NT kernel supposed to be a microkernel? Admittedly, it is a bit larger than people intended when they came up with the idea of a microkernel (especially since MS added GUI code to it in NT 4.0), but still...

    And what about OS X? That has Mach at its heart doesn't it? That's a microkernel too.

    Both of the above are commercially successful.

  • Pronouciation? (Score:4, Interesting)

    by hoser ( 95281 ) on Sunday June 15, 2003 @08:39PM (#6207775) Journal
    Kyu-nicks? or Kyu-Enn-Eks?
  • by Billly Gates ( 198444 ) on Sunday June 15, 2003 @08:46PM (#6207824) Journal
    Canada's school systems are strange compared to American schools I have previously attented. I have found their computers horrible inadaquite and out of date.

    Anyway I took 2 programming courses in basic and pascal. The labs used some strange Unisys dumb terminals connected to a builky black looking box. Very XT-ish and looked like it was from the early to mid 80's. Anyway it ran a no name OS called QNX. I believe it was powered by a 286 or 6800 with about 4 megs of ram for all 20 students. It had no display but a teletype printer where we would print out our programs. It handled quite well for such a limited server.

    Its Very old and I remember a 1984 copyright that showed up whenever I booted. I had no idea it was a unixlike system.

    It seemed just as fast as a standalone 286 and it had a "$" as the prompt sign with a strange scripting system. I considered it underpowered and old but was supprised by the included gcc, sed, gmake, and other utilities and powerfull scripting. It had some nice api's for 2d graphics displays.

    Anyway 2 years later I wanted to try Unix after playing with NT 4 when after it just came out. I tried Caldera (shudder )Linux and I was supprised that I have been running gnu and unix all long. The shell scripts and everything were identical and I have been using Unix without even knowing it.

    Linux felt quite old without X in the old days( before kde was stable and gnome was around). But I have qnx running on that horribly ancient system to thank.

  • by Xabraxas ( 654195 ) on Sunday June 15, 2003 @09:24PM (#6208071)
    That's not necessarily true. A new breed of microkernels and exokernels have proven to be much faster and more usuable than microkernels like Mach. You might of heard of L4, which is one of these new microkernels, the main difference being size. L4 is much smaller the Mach and perfoms less tasks, leaving more to userspace. MIT makes an exokernel called XOK. You should check it out. Just google for "microkernel" and "exokernel". There's a lot of good info out there.
  • by PSaltyDS ( 467134 ) on Sunday June 15, 2003 @09:39PM (#6208180) Journal
    The US Navy has used a CD-ROM tech library called ATIS [navy.mil] for years. It is based on a Kubik [kubikjukebox.com] 240 CD-ROM changer with an external controller called a Mediator. The mediator runs QNX. I worked on some ATIS systems and found the CD-ROM changer to be an extremely fragile and unreliable electromechanical beast, but NEVER saw a failure, glitch, or error on the QNX based mediator. This was a tribute to the hardware it ran on as much as well as the OS. Interestingly enough, I am intimately familiar with the inside of the Kubik changer, but have no idea what CPU, memory, or disk the Mediator ran on. This was simply because the changer was always broke and the Mediator never had to be touched from the day it was installed.

    People in white lab coats are the primary cause of cancer in rats.

  • by Teckla ( 630646 ) on Sunday June 15, 2003 @09:40PM (#6208186)
    In the mid-80's I frequented a multi-user BBS which ran on Qnx. The machine? A 4.77 MHz 8088 IBM PC clone. It had 10 or 12 lines each running a 300 baud modem. It had email, newsgroups, chat, games, and downloads. I had a developer account and could compile C programs. All while the system was full. Without anyone even noticing. The OS is smooth as silk.

    Later, the BBS was upgraded to an 8 MHz AT clone and 2400 baud modems. Still, smooth as silk, even at capacity.

    The BBS never crashed once and always ran smooth.

    I can't say much about today's Qnx, because I haven't used it. But yesterday's Qnx displayed a level of quality I've never seen in another OS. If I ever find myself needing medical attention, I usre as hell hope the OS running under the hood is Qnx. There is nothing more reliable.

    -Teckla
  • Re:QNX? ICK! (Score:3, Interesting)

    by alienw ( 585907 ) <alienw,slashdot&gmail,com> on Sunday June 15, 2003 @09:40PM (#6208187)
    Actually, most people using GPL software send a patch back to the maintainer. Most companies using BSD software don't contribute anything back - usually, it's just an extra layer of process that's not worth the hassle. I haven't seen Microsoft send patches to BSD even though they used to use the TCP/IP stack and other stuff in Windows. In contrast, almost every large corporate user of Linux (HP, IBM, Compaq, etc) contributed tons of code back.
  • Re:A couple things (Score:5, Interesting)

    by Stephen Samuel ( 106962 ) <samuel@@@bcgreen...com> on Sunday June 15, 2003 @10:08PM (#6208335) Homepage Journal
    1) It isn't the operating system controlling the grinding of lenses or correcting the tilt of the TGV. It is a function of the hardware to do these things. That they report back to some software (which could frankly be run on any embedded OS) which then tells them what to do next is almost irrelevant.

    Only partly true.
    The operating system provides the framework within which the software works. For things like a desktop where things like the occasional 1/2 second ~ 3second delay isn't fatal, and blue-screening a couple of times a week (or day, as the case may be) is mostly just an annoyance, then yes -- the two are pretty much equal.

    For things like nuclear reactor control, precision robotics and medical instruments, where a 1 miliseond (much less 1 second) hickup can result in death and destruction. they are most definitely not equal. The hard realtime in Windows is, well, not that hard. It's pretty easy to get Windows to lock up for the better part of a second. Linus is only slightly better -- but only when you install the realtime patches.

    As far as reliability, Microsoft is still proud of being able to (sometimes) run for 3 months at a shot without rebooting. Linux has a much better history, but it's still far from bulletproof. As far as I know, neither one is certified to run things like nuclear reactors and medical equipment.

    The Navy's decicision to use Windows to run their battleships has been the source of some amusement -- having managed to bluescreen one ship and leaving it 'dead in the water'. As to whether this could happen during a battle, converting 'dead in the water' to 'dead and in the water' is a matter of conjecture. All I can say with certainty is that I'm glad I'm not a US sailor.

  • QNX reliability (Score:5, Interesting)

    by Space ( 13455 ) on Sunday June 15, 2003 @10:11PM (#6208351) Homepage
    I work for a robotics company. We use QNX as the OS on our PC based control. The following is an example of how QNX has impressed me.

    One November a customer called and complained that they were not getting their log files. These log files were written to a ftp shared directory. One of my coworkers logged into the robot via modem and started looking around. When he tried to get a directory listing he got an Input/Output error instead. After a little digging around in the logs in ram he determined the hard drive had died. The most interesting thjing is that the hard drive had apparently died in August. The robot had run continually from August to November and the only trace of any problems was the lack of log files. There was no other permament storage in the system. The OS, UI and all the robot applications were running in RAM for 3 months without problems.
    I Love QNX
  • Re:QNX? ICK! (Score:3, Interesting)

    by pHDNgell ( 410691 ) on Sunday June 15, 2003 @10:31PM (#6208476)
    Right -- and also avoid receiving any improvements to the software performed by other users. A bug in a BSD program can stay unfixed until the author finds it. In a GPL program, it gets fixed as soon as ANYONE finds it.

    That doesn't even make sense. I rely on BSD systems that have user contributions regularly, including fixes.

    Also, can you name a single embedded device that uses BSD? Embedded linux is hot. Embedded BSD is unheard of.

    You don't happen to work in an embedded sector, do you? You hear about embedded Linux because you're listening for info on Linux. I work for a company that produces embedded systems (we sell approximately 2,500/day) and we've just recently considered moving away from PSOS. Linux was absolutely not an option for a variety of reasons. The decision came down to NetBSD, OpenBSD or FreeBSD.

    The only strange thing was that FreeBSD was chosen because they were further along in granular locks that are required for a preemptive kernel.

    There are many reasons for people to go with BSD systems...licensing is a big one, but take off your blinders and you'll find lots of technical reasons as well.
  • by dh003i ( 203189 ) <dh003i@g m a il.com> on Sunday June 15, 2003 @10:53PM (#6208620) Homepage Journal
    It is important that whatever approach you take -- if you want it to succeed in the long run -- should attract developers to your idea and keep them there. Obviously, micro-kernel's haven't done that. Irrelevant of their *theoretical* advantages if done just right. Who cares if they might be more efficient or faster theoretically if they don't attract any developers and take forever to evolve? Monolithic kernels, despite their theoretical inferiority, will be faster and more efficient because more developers will be working on them, and will be able to resolve inefficiencies faster.
  • Experiences (Score:1, Interesting)

    by Anonymous Coward on Sunday June 15, 2003 @11:11PM (#6208746)
    I played with QNX 6.0a a while ago (year or two?) I found it to be a great OS, for the most part. My only hangups were having to install and configure SMP manually, and then having to install a USB SDK for my mouse to work. I also had to develop an input trap in order to make the mouse work by default on startup. Other than that it worked great, with one exception.

    QNX is a realtime OS, and as such I think it's not quite where a desktop OS needs to be. While it handles multitasking fairly well, when any of those tasks required 100% of either of my CPUs the Photon GUI would screech to a halt. It harkened back to the days of coorperative multitasking in Windows 3.1. So when running programs occaisionally the computer would seem to freeze with no indication of ever relinquishing control. I would always get it back, sometimes after a couple of minutes, but the experience is unnerving.
  • by rabtech ( 223758 ) on Sunday June 15, 2003 @11:16PM (#6208778) Homepage
    Well, yes and no. It is in some ways, with the Hardware Abstraction Layer (HAL), and other features. But it doesn't strictly follow the microkernel methodology since components can run in kernel-space (namely kernel mode drivers. those are typically only the very essential items like filesystem and whatnot.)

    Sorta like Linux isn't really monolithic, since you can load kernel modules.

    The NT kernel is extremely stable. Typically, drivers are what bring a 2K/XP/server system down. In fact, that is all I've ever seen bring a system down. QNX is unique in that it can restart any system component that has failed, and it isolates everything a lot more. Make no mistake - that is slower than having drivers run in kernel space, but it has its benefits. The microkernel can axe drivers and restart them in realtime, something that cannot be done for NT's kernel mode drivers (although programs and other drivers can be dynamically loaded and unloaded.)

    And yes, the display driver was also moved into kernel land for NT4 and higher. Trust me - you would NOT be happy with 3d game performance or GUI performance if it were not (although some may argue for the server version that would be a better idea, but honestly my servers run headless so I don't care.)
  • by evilviper ( 135110 ) on Sunday June 15, 2003 @11:33PM (#6208891) Journal
    Well this is somewhat of a generalization.

    I usually call them FACTS, not "generalizations".

    The difference is that it the way Unix and Linux are designed, it is far less likely.

    I've had it happen many times. A few of the reasons Windows is so unstable is that so many programs run with root privlidges, and that the system itself is so bloated and crappy. However, even as bloated and crappy as it is, if it was a microkernel, it would run wonderfully because that COULDN'T CAUSE A PROBLEM assuming the very small base was written properly.

    Could someone please tell me why no other OSes are microkernels? You would get 100% stability, and as an added bonus, there are never any times when one part of the system can even slow down another part even slightly... Really incredible things they are... Why don't we see any good microkernel systems, preferably designed and written by pros? OpenBSD likes security, why don't they take up the job? That's really the only way to ever get 100% security (even if you want to run buggy and/or untrusted apps).

    Unix and Linux doesn't allow any ordinary application to write to the kernel.

    No, but programs running as root, or SUID are. Also, all the drivers in the kernel are as well. I've had Unix system freeze up because of writing CDs, loading videocard drivers, and other privlidged things which wouldn't happen with a microkernel.

    but their market is really a niche.

    It's on hell of a niche...

    Besides, that's their niche because that's where the money is, and what they've designed it for. If they would invest some resources into the things most people want in a desktop, I have no doubt they could do a good job of taking over that as well.

    Since it is a niche, it doesn't offer the interoperability that other OS offers.

    It's a plain Unix system as far as the user/developer is concerned. What more interoperability could you want?
  • Re:you are using it? (Score:4, Interesting)

    by SealBeater ( 143912 ) on Sunday June 15, 2003 @11:50PM (#6208971) Homepage

    Or you have tried it as a "normal" desktop type OS? Have any thoughts on it if
    so?


    Yea, I tried it for a while, couple of weeks or so, just playing around with it. I
    thought it was pretty cool, it had a ports like software installation program,
    you clicked on what you wanted to install, and it took care of dependancies and
    the like, very nice browser, supported everything my test box had (Dell GX110)
    with an i810 video card. No problems, Solaris x86 gave me much more. I
    thought it was pretty cool. Felt *nixy, gui-wise, all in all, not bad at all.
    I have it running on a Audrey, as I said earlier, and I like it.

    SealBeater
  • Qnx+Bt+uk (Score:1, Interesting)

    by Anonymous Coward on Monday June 16, 2003 @12:06AM (#6209053)
    In the UK British Telecom uses QNX for the Internet phones in the highstreet.

    There was only one glitch, they left anonymous Ftp open :o)
  • by POds ( 241854 ) on Monday June 16, 2003 @12:14AM (#6209091) Homepage Journal
    I've seen a release from Hyperion Entertainment that stated QNX RTOS had context switching times of 40 microsecons. In the same paper, it asid MacOSX was around 400.

    The announcement [osnews.com] was that AmigaOS4 PPC on a 600Mhz AmigaOne had around 4 microseconds, give or take a few micro. Im not sure how correct my figures were, but AmigaOS turned out a little better...

    I wonder if theres room for more playsers in this niche.

    Good article.

  • Re:QNX reliability (Score:3, Interesting)

    by xenocide2 ( 231786 ) on Monday June 16, 2003 @12:36AM (#6209189) Homepage
    Interesting question reguarding the software though. What should you do when the log writing (for now lets ignore error logging) fails? On one hand its not a catastrophic failure in itself. As you mentioned the device was working fine. On the other hand, if anything was going wrong imperceptibly then you're in big trouble.

    First, you clearly can't write another error to the log stating you cant write to the log. It sounds silly, but sometimes people write this and plan to consider the question later. When later never rolls around, problems can occur.

    Second, you could shut the system down alltogether. After all, the system is failing and if left unchecked could cause loss of life and/or property. But it seems a bit paranoid to shutdown over a diagnostics error; downtime is money lost. But on the plus side, you know the problem will receive attention.

    A third alternative is to add some form of low level error system. The downside is even the warning 'lights' can go unnoticed, or simply ignored. This happens especially with things like "error code: 4343." The THERAC 25, in part suffered from such an enigmatic design.

    Another is to just wait for an error more catastrophic to come up, and decide what to do then. Indeed, the parent post implies that this is an acceptable procedure: rather preemptively strike the hardware down, and incur delays on production, one can just wait for a real problem to arise. But this surmounts to just ignoring the problem.

    Sadly, I don't think any reliable consensus on what to do will be geared towards safety for a long time. Professional Engineers are liable for any disasters that may occur as a result of their failure in design or inspection. Until software designers (or perhaps "software engineers") are assigned the same level of liability, I doubt that anyone will consider these topics seriously.
  • A lil history... (Score:3, Interesting)

    by Thelonious Monk ( 667418 ) on Monday June 16, 2003 @12:39AM (#6209204) Journal
    QNX was actually developed by two Waterloo students as their final assignment. It was very very basic but it was soooo good that the they could sell it. And thats just what they did, they worked on it, made it what it is today and are now being mentioned on Fortune.... lucky fucks. ...I'm not jealous, nooo not at all. =P
  • QNX vs. Linux (Score:2, Interesting)

    by Taco Cowboy ( 5327 ) on Monday June 16, 2003 @02:30AM (#6209719) Journal


    Now, we have the article describing QNX as the quintessential "When Software Really, Really Has to Work" OS.

    How about Linux ?

    Can we say, without lying, that Linux can measure up to QNX on that front ?

    If not, when can we expect Linux to gain that status ?

  • Re:QNX reliability (Score:2, Interesting)

    by WinPimp2K ( 301497 ) on Monday June 16, 2003 @02:43AM (#6209769)
    I also love QNX - even though I have not done any active work in it for over five years.

    QNX Trivia: when QNX Software was still called Quantum Software Systems Ltd., they called their operating system QUNIX (which should answer any questions about how to pronounce the name). However, after a visit from AT&T's lawyers, they decided to drop the vowels.

    Back in 1985 I wrote a Point-Of-Sale application for video stores. It used QNX version 2 in real mode (8088s and 8086s) or in protected mode (80286, later 386 and beyond). And even on the lowly 8088 machines, it was possible to run the application for two users (main console and one dumb terminal in 640K). With a 286 machine, and a multiport serial card, 11 users could be supported with just 4 megs of RAM (but the hard drive could be a bottleneck) At one point (1990) over 600 video stores used that software. That app was written and compiled under the "K&R C compiler - not ANSI C" that QNX provided back then. The OS came on two 1.2M floppies, the compiler came on a third floppy.

    There are still 30 odd video stores running that software and they will be using it as long as their hardware holds out. (It is getting harder to find P166 or 486 class machines...QNX 2 will not run on anything faster and the upgrade path is expensive)

    They use it because the only problems they experience are hardware problems and operator error. The OS can't protect you from a failed power supply or a direct hit from lightning. It also can not protect you from the superuser (root) person who types in something like:
    "zap /cmds [ENTER]"

    Several places just do not turn their machines off - ever. So far as I know the best record for uptime was nearly ten years. Some would have been better, but there was an occasion requiring some mandatory "downtime" a few years ago when everyone had to upgrade their apps - but not their OS.
  • by Animats ( 122034 ) on Monday June 16, 2003 @03:31AM (#6209957) Homepage
    But I think that it's somewhat illuminating that QNX is not the "system of choice" for many of the applications where you see Linux in use.

    That's not surprising. QNX costs money, and Linux is free.

    What's disappointing is that the Hurd kernel was such a dud. They've been trying to write a microkernel for a decade. Unfortunately, they started with the Mach interprocess communication model, and never escaped. Microkernel architecture depends crucially on getting the basic design decisions right. You can just hack together a UNIX-type OS, and fix stuff until it works, but microkernels have to be done right.

    The other downside of a message-passing microkernel is that you do more data copying. But modern CPUs do data copying quite well, and it's not the issue it used to be. In a world where SOAP converts subroutine calls to XML, the overheads of a message-passing OS are trivial.

    If message-passing OSs were more popular, hardware support could make the overhead of message passing even lower. Copying, after all, is infinitely parallelizable.

  • by Anonymous Coward on Monday June 16, 2003 @04:47AM (#6210184)
    There are a couple of things qnx does that are somewhat quirky, but also unspeakably cool:

    integration of memory, proccess, and file systems. You can address memory as a file. you can refer to processes as file. want a snap shot of your process? just copy it to disk some where.

    linking programs together at run time. Have a constant you want to change, grab it into a simple gui slider with ease. Want to grab images from a frame grabber, just register to recive them. What? they are comming from a frame grabber on another machine? no difference. and this is being routed to a gui running on a third? also not a problem.

    Want to start a bunch of processes on your cluster, link them all via scripts, then move proccesses around to load ballance, relinking as you go? Also not a problem, you can do it with a single script on one machine.

    Having that level of fast comunication primitives is great.
  • by DrXym ( 126579 ) on Monday June 16, 2003 @07:57AM (#6210787)
    This is not to knock the demo which is cool, but I'm surprised that something similar hasn't been attempted with Linux. While the QNX microkernel is small (which helps) after throwing in the various disk, network, mouse, drivers it's probably no different than what you could achieve in Linux. We have already seen the likes of Toms RTBT which pack a single disk with an amazing amount of command line stuff.


    I wonder if some of that could be jettisoned for some kind of microwindows based GUI and perhaps a browser of some kind. Having tried Knoppix and LNX BBC also, I think these things are inherently cool and more importantly useful.


    It gives a warm fuzzy feeling to know that you can carry around a disk or CD which boots into a full blown emergency repair kit or demos what can be done with Linux. The best that has so far been mustered for Windows is the excrable recovery console - something while better than nothing is still incapable of solving all but the most basic problems.

  • by 1110110001 ( 569602 ) <`ta.tden' `ta' `4090-todhsals'> on Monday June 16, 2003 @08:08AM (#6210845)
    About one year ago an other student and I tried the QNX live CD. Neutrino looked quite fine and it was an interesting OS.

    But after doing a floodping at the QNX machine it stopped doing anything. I don't know if it crashed but even the window is able to handle these floodpings.

    However maybe it got fixed - I'll test it again in the next days.

    b4n
  • Re:Bullet Proof (Score:3, Interesting)

    by nordicfrost ( 118437 ) * on Monday June 16, 2003 @08:45AM (#6211066)
    Having worked with Tandem, I can tell you that a bullet stopping the system would have to be very, very well fired. In our Tandem systems EVERYTHING was at least redundant. Often put in two mirrored cabinets with internal redundancy. This meant that if you shot a bullet into one of the cabinets, it would probably function on the internal redundancy. If not, the other cabinet would take over. The system I know did not have a single unplanned second of downtime in 13 years. Actually, it did not have any downtime in that time, since the dual cabinet layout made it possible to do large scale updates of hardware and software without bringing the system down.
  • by SuiteSisterMary ( 123932 ) <slebrun.gmail@com> on Monday June 16, 2003 @10:12AM (#6211813) Journal

    My question would be, are those hard numbers?

    IE, is it 'QNX will switch in 40 microsecs, period. AmigaOS will switch in 4..usually...but sometimes, it takes a lot longer...depends on what you're doing, really...'

  • Re:QNX? ICK! (Score:3, Interesting)

    by scrytch ( 9198 ) <chuck@myrealbox.com> on Monday June 16, 2003 @11:12AM (#6212550)
    I'm a denizen of LambdaMOO, one of the longest-running social MUDs out there. It chugged along for nine years on a SparcCenter 1000, with uptime of hundreds of days, going down for maintenance because of bugs in the moo process itself. It just recently moved to a linux box, which is much quicker, but I just got this news item on login.

    Saturday, June 14, 2003
    OUTAGE
    Network card driver randomly decided to shut itself down at around 8 this morning. Actually it's done this a few times before already (most of which I was around to catch after a few minutes; we weren't quite so lucky this time). I originally thought this was dhcpd rising from the grave but now I'm not so sure anymore. Time to see if a reboot helps.


    It's not so much that Linux is unstable, it's just that the stability seems to be a function of whatever mood Linus and random driver writers are in at the time of whichever version is released. Right now the OS randomly kills processess when you start running out of memory. Randomly.

    There's a reason people use QNX, and the fact that their lunch money won't buy a copy of it isn't usually a factor.
  • Re:QNX rules (Score:2, Interesting)

    by Nevyn ( 5505 ) on Monday June 16, 2003 @06:45PM (#6217792) Homepage Journal
    a microkernel architecture does not require that every single little OS process runs in a separate address space.

    Then, by that definition, Linux 2.4.x is a microkernel. The filesystems, and the networking layer (and each of the different protocols) are all seperate modules ... which are only very loosly tied to the core.

    Sure, most of those don't have a specific process associated with them ... but that's mainly an efficency thing. Even then on my laptop there are eleven different processes that are kernel spawned/owned processes.

Anyone can make an omelet with eggs. The trick is to make one with none.

Working...