Slashdot Mirror


QNX RtP 6.2 World Preview

Jason writes: "OSNews is running an exclusive preview of the brand new version 6.2 of the QNX realtime operating system. The article is going through the installation process, the Photon user interface (lots of screenshots included), the internals, and the advantages and disadvantages of the OS as a desktop system. QNX RtP 6.2 is expected to be released for free (for non commercial usage) before March."

23 of 209 comments (clear)

  1. QNX goes back a *long* way by InterruptDescriptorT · · Score: 5, Interesting

    Do any Canadians (perhaps only Ontarians) remember the ICON computers they used to have in elementary and high schools? The ICON, also known as the 'Bionic Beaver', was a computer manufactured by CEMCorp (Canadian Educational Microprocessor, IIRC) that was meant to bring data processing and computer skills to thousands of high-school students.

    The design of the machine was interesting--intelligent nodes running an 80186 connected by ArcNet to a central server node--but they ran a version of QNX. I remember the slightly different set of commands than we are familiar with in UNIX: for example, to go up a directory, it was 'cd ^', files could be deleted with 'zap', and commands could be easily run on remote nodes by prefixing the command with [nodenum].

    It was on this machine and OS that I cut my teeth in C, 80x86 assembly and basic networking concepts (I wrote a small multi-node chat program using the virtual circuit calls in QNX), and as such I was always have very fond memories of it. Thanks for letting me reminisce. :-) (BTW, if anyone has one and is planning on getting rid of it, I'd gladly take it off your hands.)

    --
    Karma: Excellent Birds (mostly as a result of listening to Laurie Anderson)
  2. First Impressions by jaavaaguru · · Score: 3, Insightful
    As someone who's never used or seen QNX before but has seen many other OSs, I like the first impression this gives me (going by the eye candy). Some questions I need to know the answer to:
    • Does the calculator have a paste feature? This is something really lacking in KDE's one. And it bugs me when I can't be bothered adding two file sizes together (or typing the sizes into the calculator)
    • Will the interface always be as consistent as it is in the screenshots? - the Macs at school always had consistent user interfaces. With the advent of Microsoft Domination we witnesed horrible UIs that were exremely inconsistent. They can't even make their own apps have the same UI as their OS.
      These shots of QNX make is seem like they've missed out all the bad features of other OS's and included all the good ones. I like it.
    • Does the web browser perform as fast as the other ones that are currently in use? (IE, Konqueror, Mozilla, Opera) and can it render the majority of pages that Konqueror can?
    These are just some things that people notice.
    1. Re:First Impressions by ergo98 · · Score: 4, Informative

      You can always get Opera if you want.

  3. Re:Why would anyone use by chrisatslashdot · · Score: 3, Informative

    From the article:
    QNX RtP is serving as the self hosted development platform for QNX-based internet appliances and other QNX embedded applications.

    --


    Simple people talk of people, better people talk of events, great people talk of ideas.
  4. A simple OS for mom by Pengo · · Score: 3, Interesting


    Maybe this is it. Show her how to dial up with the modem, use launch the email client and web client and find a version of AIM and there you go. I imagine that because it's UNIX(like), you should be able to run it non-priviliged without problems or fear of someone else messing it up.

    Has anyone tried running this on slow hardware? (Such as a P133 or something w/32 megs ram?) How does it fare?

    1. Re:A simple OS for mom by nhavar · · Score: 5, Interesting

      The slowest machine I've set this up on is a P75 w/32 megs of ram. It worked fine although with the video card I had it couldn't get to higher color depths. Amazingly I didn't have to do anything to configure the modem, sound card or NIC and everything ran fine. Really helped a novice get on the net quick and play a few games that they like to play. No need to spend $600 for a new PC just so someone can surf the net and get mail and play card games, dust off the old PC and slap QNX on easier than a Mandrake install.

      --
      "Do not be swept up in the momentum of mediocrity." - anon
    2. Re:A simple OS for mom by Ivan+Raikov · · Score: 3, Informative

      My understanding and one of the common grips about QNX for the desktop is that QNX is POSIX-like and not UNIX-like.

      QNX 6.something is now available for download from QNX's web site -- I installed it last weekend and played around with it a little bit. It appears that most of the user utilities are taken from NetBSD, and the configuration file tree is structured very closely after BSD. The system library claims POSIX compiance, and the kernel claims conformance to the realtime POSIX API.

  5. Hello Point... you've missed it. by MosesJones · · Score: 5, Insightful


    Its a real time operating system for embedded devices. The PC based platform is for development to help you rather than plugging directly into the RS232 port of your dev kit.

    The questions you ask are nothing to do with an RTOS but looking at it from the perspective of "Oh look a Windows competitor" this is NOT in the same market as even WindowsCE, although there is some overlap. The PC based platform is to aid development, it can be stripped down to a delivery box but this is not for Joe Sixpack PC user.

    The real question is "Can anything else run in a couple of Megs of RAM..... or less" and have guarenteed delivery times on tasks. The answer for Linux and MS-Windows is NOPE.

    THIS IS NOT A DESKTOP OS.

    Sorry for shouting but people should

    a) Read the article

    b) Understand that MS-Windows and bloatware are not the most interesting market in the world.

    c) Realise that cut and paste on a VCR is a silly idea.

    --
    An Eye for an Eye will make the whole world blind - Gandhi
    1. Re:Hello Point... you've missed it. by ergo98 · · Score: 5, Interesting

      You're totally wrong. QNX Neutrino is a bottom to top OS from tiny machines to clusters of high power hardware. QNX has pushed their OS on thin-cients, Internet Appliances, etc, it isn't just for embedded monitoring hardware. Indeed the big QNX push is "QNX on a floppy" that basically turns a PC into an IA.

  6. Re:Who is this reviewer? by dhuff · · Score: 5, Insightful

    "He" is a she - Eugenia Loli-Queru. Eugenia is Editor-in-Chief of OSNews.com. Before moving to the U.S. she was a web-designer in the U.K., ported more than 80 Linux/Posix/DOS applications to BeOS and founded the BeUnited BeOS Development Movement in April 2000.

    As for a background in embedded systems, I'm not sure - but she is certainly more qualified than you suggest, having experience with many OSes incl. BeOS, AtheOS and FreeBSD among others...

  7. QNX: longtime (semi) embedded player by RatOmeter · · Score: 3, Interesting

    As has been pointed out in other post(s), QNX has been around a long time. In fact, they first called it Qunix, but AT&T (Bell Labs) slapped'm down on that long ago.

    I'm heard first-hand testimonials attesting to its bullet-proof operation which makes it a great choice for controlling machinery. You can also install, de-install just about any service/driver/app without needing to reboot.

    Where I work, we make large, expensive automated testing equipment (lotsa horsepower, moving parts, other dangerous shit). We wanted to eval QNX about 3 years ago, but they told me they only provide free eval copies to their $100K plus customers. We make about 7 to 12 machines per year; they slammed the door in my face.

    Now (and their previous free non-comm version) that the've got a pkg I can use to eval, it's too late. Even if we were still in a position to choose QNX, I doubt we'd easily forget our previous snubbing.

  8. Amiga by Snowfox · · Score: 4, Insightful
    A reminder that this was originally going to be the OS used for the new Amiga hardware, before Amiga up and went in a strange, new direction which didn't involve new hardware.

    I guess this is a peek at what the new Amiga could have been. It doesn't look as nice as 3.9, though the underlying technology is pretty neat.

  9. Some hangups. by be-fan · · Score: 5, Interesting

    QNX RtP has tons of potential, but there are lots of things holding it back as a desktop OS:

    1) Lack of unified VM/buffer-cache. The size of the disk cache is fixed rather than dynamically adjusted depending on need.

    2) Lack of proper swapping. Since swapping kills embedded apps, RtP lacks good swapping. Use of swap has to be explicitly coded into the app, and was implemented as sort of a hack to allow gcc to be self-hosted.

    3) Real-time scheduler. The hard-real time scheduler might be nice on an embedded system, but on a desktop system (where fairness takes a back seat to user-percieved responsiveness) it doesn't work well.

    4) Crappy disk subsystem. I don't know if this problem has been fixed in 6.2 (I doubt it) but RtP has a really slow disk system. The IDE drivers have issues and the filesystem is ancient.

    Some of the numbers that RtP shows aren't as impressive as they could be. 0.55us context switches sound great, but Linux can do switches on that order as well. Still, RtP is a great system. QNet, in particular, is very featureful, and Photon totally destroys X in every area except maybe 3D support. It has superlative network transparency, a good (fast) widget set, incredible fonts (courtesy of BitStream's FontFusion) and a nice, lean, architecture. If QSSL would port Photon to Linux (which wouldn't be that hard, given that both are mostly straight POSIX) I'd pay to run it.

    --
    A deep unwavering belief is a sure sign you're missing something...
    1. Re:Some hangups. by Sloppy · · Score: 3, Interesting

      Real-time scheduler. The hard-real time scheduler might be nice on an embedded system, but on a desktop system (where fairness takes a back seat to user-percieved responsiveness) it doesn't work well.

      Huh? Fairness is the enemy of responsiveness. There is no back-seat. On an RT system, if you have your UI run at a higher priority than your cpu-sucking apps, you get responsiveness that Windows/Linux users can only dream about.

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
    2. Re:Some hangups. by be-fan · · Score: 3

      1) Actually, POSIX plays a huge role. The X server is nothing more than a big program that accesses the system through the standard kernel APIs (barring DRI, of course). Since both the QNX kernel and the Linux kernel offer similar functionality through a similar API, it shouldn't be any harder to port Photon than any other major app. The only hangup I can think of would be the differing messaging schemes, but that's a very narrow and concrete issue to solve.

      2) For all practical purposes, X is XFree86. We are talking desktop OSs here and there is only one X server that is of any consideration as a main GUI for an OS and that is XFree86. I don't care what SGI has made IRIX's version of X do, it doesn't run on Intel machines and is thus irrelevent. Isn't life great when you have 99% market share? That said, I challenge you to point out one thing that X does better than Photon, aside from 3D,

      --
      A deep unwavering belief is a sure sign you're missing something...
    3. Re:Some hangups. by Pseudonym · · Score: 3, Informative

      I disagree in part.

      1) Lack of unified VM/buffer-cache. The size of the disk cache is fixed rather than dynamically adjusted depending on need.

      I can see why you say this, but in practice I can't see this as a problem. The size of the disk cache is increased with the number of devices mounted. On the other hand, separate caches mean you can implement different buffer cache policies depending on the device. (You can imagine, for example, that flash memory could use a very different write-back policy than disk.)

      Separation of mechanism and policy is something that pervades QNX, and is arguably the key to the flexibility of modern operating systems (compared with the inflexibility of monolithic systems). Even the QNX kernel, Neutrino, is actually a microkernel built on top of a nanokernel. The nanokernel implements mechanism, and the microkernel implements policy.

      2) Lack of proper swapping. Since swapping kills embedded apps, RtP lacks good swapping. Use of swap has to be explicitly coded into the app, and was implemented as sort of a hack to allow gcc to be self-hosted.

      It's not a hack, but I do think it's unfortunate that it's not "officially" supported. It would make more sense to:

      • Determine at boot or configure time whether you want swapping or not.
      • Assuming that swapping is enabled, applications which are granted I/O privileges get all their memory non-swapped. This is non-negotiable. (Why? Because if you have I/O privileges, you can install an interrupt handler. Your interrupt handler had better not access swapped-out memory.)
      • Again assuming that swapping is enabled, any other applications may selectively lock all or part of their memory. (This may require other privileges.)
      3) Real-time scheduler. The hard-real time scheduler might be nice on an embedded system, but on a desktop system (where fairness takes a back seat to user-percieved responsiveness) it doesn't work well.

      You really need a hybrid (and I don't mean RTLinux). Desktop systems need real-time. BeOS users can testify to this. Also, there are new applications such as serving streaming media and ATM routing which really need real-time. Even burning CDs really needs real-time to do properly.

      Admittedly, you probably don't need to implement an ATM switch on your desktop machine, but you might on your server. Real-time scheduling might be a really good thing here.

      4) Crappy disk subsystem. I don't know if this problem has been fixed in 6.2 (I doubt it) but RtP has a really slow disk system. The IDE drivers have issues and the filesystem is ancient.

      That's true.

      --
      sub f{($f)=@_;print"$f(q{$f});";}f(q{sub f{($f)=@_;print"$f(q{$f});";}f});
  10. Internet Appliance != Desktop by MosesJones · · Score: 4, Interesting


    And an internet appliance is a minimal spec box, possibly without a hard-disk that has a cheap screen (possibly touch screen). Again its not aimed at the Microsoft market so the original point still holds. The cluster stuff is for specific tasks and not the desktop. The point is quite simple. Not every OS out there is meant to run the same way as windows, there is a wonderful world out there of OSes that are aimed at different tasks, all too often Slashdot is concerned, and its readership only aware, of the MS style of market.

    OS/390, AS/400, EPOC, QNX etc etc etc... well cool OSes for paticular circumstances.

    --
    An Eye for an Eye will make the whole world blind - Gandhi
  11. Alas, QNX! by fm6 · · Score: 3, Interesting
    Never heard of these machines, but as you describe them, their design makes a lot of sense. At about that time, I was working for Convergent Technologies, which mostly made systems that ran CTOS. Like QNX, CTOS had a message-passing architecture, and was thus very well-suited to distributed computing. QNX has always struck me as more elegant than CTOS, though.

    When I left Convergent, I ended up working with 8086 and 80286 systems -- and found the limitations of MS-DOS really painful. QNX was then being marketed as a DOS alternative. They claimed to be able to do serious multitasking on 8 mhz systems. I actually found that claim credible, not to mention tantalizing. But I never got a chance to test it. The QNX license fees were just too high.

    It's a real pity QNX wasn't in the picture when IBM was shopping around for a PC OS. History would be very different!

  12. 0.55us is very good by Anonymous Coward · · Score: 3, Informative

    This time is not the time between context switches. It is the time required to perform one context switch.

    Windows performs 50 switches per second, but appears to take on the order of 200us to perform a single context switch. That means that windows spends about 10 ms in context switches.

    QNX would spend 25us in context switches. This means that it can do a lot more, say a 1000, thats only 1.25ms spent in switches, and a much smoother communitcation between threads.

  13. Re:Why would anyone use by Sloppy · · Score: 3, Funny

    Real time OS's Have Issues with performance on the desktop

    Yeah, but the main "issue" they have is that they are so damned fast that users think it must be a trick.

    What's good for RT, is good for everyone.

    --
    As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
  14. Desktop QNX by fm6 · · Score: 4, Insightful
    THIS IS NOT A DESKTOP OS.
    Actually, that's not true. QNX has always had a lot of desktop features, and was originally sold to that market.

    At one time QNX's realtime features worked in favor of its use on the desktop. That was 20 years ago, when processors were wimpy, and attempts to create GUIs based on DOS had pathetic results.

    Of course, QNX's window of opportunity to compete with NT, or even Linux, has long since closed, So the development efforts and the marketing noise emphasize embedded and realtime apps. That's why the Photon GUI is so dated, and the interactive apps are starting to clash with the desktop apps. These are things that could be fixed, but never will be. The reasons are economic, not technical

  15. I'm in love with RtP by MSBob · · Score: 4, Insightful
    I played with RtP for quite a while. I love it. I learned so much about OS design just by reading the RtP manuals and I think it has a hell of a potential especially on internet appliances and web tablets etc.

    The beauty of QNX and RtP is the microkernel design (let the flamewars begin). The OS is exteremly resilient because the core kernel just acts as a messaging bus for all other services that run in the user space. For example, should your filesystem crash you can just restart it like any other user space process!. Alternatively if you don't need multitasking capabilities but memory and hardware are at premium you simply don't run proc and don't have to put up with the overhead of a process scheduler. QNX is such a clean design it puts other microkernels to shame. Rock on QSSL.

    --
    Your pizza just the way you ought to have it.
  16. License Fee by Alsee · · Score: 3, Insightful

    Could you imagine the uproar if Microsoft tried to charge a license fee before you could release an application that ran on the operating system?

    -

    --
    - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.