Slashdot Mirror


SMP On OpenBSD, Coming Soon

Lord of the OpenBSD writes "At long last, SMP development on OpenBSD looks to be gearing up. One person is now doing full-time funded development on SMP. Project leader Theo de Raadt is now asking for funding for a second developer. Theo has announced that SMP support for i386 is planned for the OpenBSD 3.6 or 3.7 release, the first of which is due in 8 months."

31 of 321 comments (clear)

  1. BSD: it's (a)live! by users.pl · · Score: 5, Funny

    It is official; Netcraft confirms: *BSD: it's (a)live!

    One more crippling bombshell hit the already beleaguered *BSD is dying community when Slashdot confirmed that *BSD death trolls have dropped yet again, now down to less than a fraction of 1 percent of all troll posts. Coming on the heels of a recent troll survey which plainly states that trolls are running out of *BSD ammo, this news serves to reinforce what we've known all along. Slashdot trolls are trolling with new and better methods because trolling about BSD's falsely prophetic death is as obsolete and useless as GNU HURD.

    You don't need to be Jesus to predict the Slashdot troll phenomena's future. The hand writing is on the wall: *BSD trolls face a bleak future. In fact there won't be any future at all for *BSD trolls because *BSD trolls are dying. Things are looking very bad for *BSD trolls. As many of us are already aware, *BSD has recently acquired several Live CDs. Red devil Live CDs multiply like fucking rabbits.

    The reasons for the death of the *BSD troll are obvious. The creators of the *BSD troll post have lost 93% of their core developers due to casulties from the sudden and unpleasant battles between Trollcore and GNAA. There can no longer be any doubt: FreeBSD trolls are dying.

    Let's keep to the facts and look at the numbers.

    GNAA leader Anonymous Coward states that there are 700 active trolls on Slashdot. How many BSD death trolls are there? Let's see. The number of troll posts vs BSD death troll posts on Slashdot is roughly in ratio of 5 to 1. Therefore there are about 700/5 = 140 BSD death trolls. But half of those are just cheezy karma-whore spinoffs of the original troll. Therefore there are about 70 users of the real BSD death troll. These statistics, of course, reflect Slashdot before the war between Trollcore and GNAA. So we must assume that there are less than 70 people who actually believe that *BSD is still dying!

    All major surveys show that *BSD trolls have steadily declined in humor level. *BSD trolls are very sick and their long term survival prospects are very dim. If *BSD trolls are to survive at all, they will be nothing but workers toiling in Slashdot trolling phenomena obscurity. *BSD death trolls continue to decay. Nothing short of a miracle could save them at this point in time. For all practical purposes, *BSD death trolls are dead.

    Fact: *BSD: it's (a)live!

  2. Risky to add SMP to free *nix by sydb · · Score: 5, Funny

    Let's hope IBM doesn't offer their developer time... ;0)

    --
    Yours Sincerely, Michael.
  3. Re:Netcraft confirms... by fm6 · · Score: 4, Funny

    No, even the trolls are tired of "BSD is dying...".

  4. Re:smp? by Anonymous Coward · · Score: 5, Funny

    can someone enlighten me as to why its taken so long to get support?

    because you've been to lazy to do it?

  5. Interesting... by TheHonestTruth · · Score: 4, Interesting
    Given Theo's past attitude of "it's not important to me so it's not important to OpenBSD." Though his goal always seemed self-serving e.g. "I write it for myself and if others use it, fine," it's good to see that he is opening his mind to the one area OpenBSD is severly lacking. It could use some desktop polish (though I only use it for firewalls and servers since I only use it at home), SMP is the gaping hole in OpenBSD's offering. Knowing Theo's penchant for not playing nice with anyone beneath him, I'm guessing the SMP developer is pretty top-notch if he has Theo's support. Cool.

    -Truth

    --

    I had a steady B+ in my AI class until I failed the Turing test...

    1. Re:Interesting... by Ryvar · · Score: 4, Informative

      While I'm a big fan of OpenBSD and Theo both - I have to admit that Theo doesn't play nice even with those NOT beneath him - the loss of Niels Provos is still a bitter, bitter blow for the project.

    2. Re:Interesting... by Ryvar · · Score: 4, Insightful

      Personally, I feel safer knowing that the time that could have gone into optimization has gone into checking for bugs and other security enhancements (privsep, WorX, etc.) - OpenBSD isn't meant to be your main enterprise-level server. That's FreeBSD's job. OpenBSD is supposed to sit there at the gates and safely divide packets into sheep or goats all day long.

    3. Re:Interesting... by kfg · · Score: 5, Interesting

      Unfortunately, not all ideas are created equal, or should be treated equally. Some are better than others. Some bad ideas repeat over and over and over again, over a course of years and it's not unknown for a project head to get testy about them after awhile.

      Especially since it's actually pretty rare for someone outside to come up with an idea that the people who work with the code all the time haven't actually already thought of.

      Some ideas aren't bad, they just have to wait their turn in line and their priority may be low within the parameters of the project.

      For instance, in Racer, a project overtly aimed at providing the best physics engine for driving sims, there is fairly constant call from the modelers, who don't contribute any code, to impliment opening doors and working horns.

      While the core physics is yet incomplete.

      Opening doors and working horns will come in time, and has been stipulated, when they make it to the top of the priority list. Right now nailing the tire and drive train model is far more important.

      As a project head it's all too easy to become a code monkey for everyone with an idea. That isn't the role of a project head. His role is to decide what does and does not belong in the code base, and when it's important for what does belong in the code base to get implimented.

      I'd don't know OBSD or Theo, but I do know some of the problems encountered in open collaborative works, or works that are essentially the project of a few, but that take place in fairly public view so the public tends to the think of them as open collaborative works when they are not.

      This isn't just a problem in software projects. As a physicist I have spent many, many hours trying to explain to people why their idea for a magnetic perpetual motion machine just won't work. I have to spend these hours because these people haven't taken the trouble to gain a simple high school understanding of physics.

      Now, as it happens I make part of my living tutoring basic scientific philosophy and physics. If these people wish to enroll and learn, fine, that's my "job."

      But if all they want to do is argue with you, ad infinitum, in swarms, sooner or later you start to reach for the fly swatter and just bat them all away.

      Not because you have anything against them, per se. Because life is short.

      KFG

    4. Re:Interesting... by Anonymous Coward · · Score: 5, Insightful
      have to admit that Theo doesn't play nice even with those NOT beneath him


      Ever play with a cat? You swat at its head a bit, it tries to bite back or swat back, roll it around, it scratches your hand, etc, etc, the same way one cat plays with another - the nibbles and scratches don't really hurt a fellow cat. Theo plays rough with people, has thick skin, and expects others to play as rough as he does (yes rough often == flame wars, etc). He plays rough with everyone, irregardless of how much work you do, though he does really respect those who do good work (he'll talk *very* highly of them).


      I don't much care for that attitude, but i also recognize that i am the same way with some people (at work, among co-workers, we hurl insults back and forth and call eachother on our fuck ups, but also respect eachother's work abilities and will say so when asked). Theo is just that much more consistent than i am.

  6. Re:smp? by Anonymous Coward · · Score: 4, Informative

    SMP is one of those technologies encumbered by various patents. As it is now, SCO claim to own most of the support for it, and it's one of the features embroiled in the SCO vs IBM case.

    How they'll get around this, I don't know. It's good to see the coding and experience getting out there and used all the more however.

  7. Re:smp? by Herbster · · Score: 5, Insightful

    oops. Because OpenBSD is focused on security. This means they don't compromise by spreading development effort that could be best spent on making the OS more secure.

  8. Re:smp? by TheHonestTruth · · Score: 5, Informative
    Because it wasn't important to Theo. Seriously. He had no need for it, plus it introduces security issues (I guess, I can't speak from experience) with what code is getting executed in what processor, so it wasn't developed for a long time (security being OpenBSD's focus). It just started getting some work in the past year or so.

    -Truth

    --

    I had a steady B+ in my AI class until I failed the Turing test...

  9. SMP is good, but what about pkg management? by Anonymous Coward · · Score: 5, Interesting

    I played around with obsd a few years ago, and I liked how small and tight the system is. At one point I even setup an obsd web server, but the thing kept crashing. Never did find out if it was softare or hardware related (it was located offshore and nobody in the vincinity could troubleshoot it effectively). Other than that, I really liked the OS. The man pages are absolutely top-notch, unlike some of the Linux man pages (in Debian, lots of man pages say stuff like: "this page is a placeholder; there is no documentation" or refer you to the GNU info docs). I also like the firewall more than iptables, which was really confusing at first.
    Anyway, the main thing that bugs me about obsd is that it uses the ports system. It does the job and all, but when it comes time to upgrade your OS, it's a real PITA. I remember having to manually edit files in /etc, and having to figure out which files were added or deleted since the last version. Lots of room for error, there. Compared to Debian, which can be upgraded by only typing two commands, it's just no fun. Especially if you're trying to upgrade a server that's thousands of miles away, and can't afford to fuck up.

  10. Re:Why buy hamburger when the steak is free? by EisBar · · Score: 4, Interesting

    who said they are going to reinvent the wheel?, porting kernel space stuff is not simple, and the common base between the *BSD is not that common anymore.

  11. Re:Yesterday's Technology, Tomorrow! by ch-chuck · · Score: 5, Insightful

    Of course you guys realize the mission of OBSD is not tossing in every feature you can think of trying to keep up with the Gates', its something else altogether, thankfully.

    --
    try { do() || do_not(); } catch (JediException err) { yoda(err); }
  12. it's not "porting" by Anonymous Coward · · Score: 5, Informative

    This is not just "porting" like a device driver.

    SMP touches every aspect of the kernel (scheduling, VM, VFS, etc.). Each OS is different internally and so you can't just rip code out of one and put it into another. It's not simply copying over a sub-directory and changing a couple of kernel system calls.

    You have to pour over a lot of the files and make all the data structures are written to and read from correctly.

    There's also more than one way to do SMP so how do you know whether he's "reinventing the wheel", or coming up with a novel approach?

  13. Maybe it's time for another type of troll.... by Anonymous Coward · · Score: 4, Funny

    "*BSD is trying"

  14. Fantastic by ChiralSoftware · · Score: 4, Insightful
    My dream system for security work would be a thin SMP OpenBSD environment with a Java runtime on it. That way there would be a solid, very security OS, with a sandboxed VM environment to run the server code, resulting in strong security at every level. I am looking forward to this. Now, if it can run KDE 3.2 and OOo 1.1 and Evolution, that is all I need in a desktop and development system. I've been using OpenBSD for years but I switched to Linux when it pulled ahead on desktop functionality, but maybe it's time to take another look at OpenBSD.

    --------
    Create a WAP server

  15. I Will Be Amazed If This Works by Anonymous Coward · · Score: 5, Interesting

    OpenBSD does not have a good track record of major architecture improvements. For example, in the wake of the PR FreeBSD got for John Dyson's VM work, OpenBSD adopted Chuck Cranor's UVM system, integrating it into the last of the 2.x releases. Cranor is a very smart guy, but OpenBSD's stewardship of Cranor's code has been pretty awful --- lockups, panics, and various other problems remain in evidence, each answered with de Raadt's "UVM was just a research project from Cranor, it's not our fault" excuse.

    FreeBSD has years worth of head-start on OpenBSD in SMP right now, and a much larger (and more experienced) core team. In addition, FreeBSD has corporate sponsorship (from Juniper and Apple, to name two). Despite these major advantages, FreeBSD SMP remains a work in progress.

    de Raadt has had a religious perspective on SMP ("most modern applications aren't compute-bound! SMP is not the way to scale large applications, lots of individual machines are!") for almost a decade. What evidence do we have that he has seriously changed his mind? This seems like more of a desperation move, trying to ensure that OpenBSD doesn't fall behind NetBSD to become the least-used open source operating system available.

    I predict years of instability and excuses.

    1. Re:I Will Be Amazed If This Works by Sloppy · · Score: 5, Insightful
      Maybe Theo sees that his view of SMP will be irrelevant when everyone has SMP hardware. It doesn't matter if lots of individual machines are better than SMP machines, when 6 years from now, a new $700 Wal-Mart PC has a $85 dual-core processor.

      The Pentium 4's hyperthreading feature already hints at this. And if you have this stuff anyway (even when you didn't ask for it) you might as well use it.

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
  16. Re:smp? by Daniel_Staal · · Score: 5, Informative

    OpenBSD's top priority is security. For SMP that means two things:

    1. All potential security-relevant race conditions must be handled. A single processor system can never do two things at exactly the same time. A dual processor one can. OpenBSD wouldn't be OpenBSD if that would be allowed to affect the system's integrity.

    2. Given the choice of an small project, that increases security, and a big one that probably will lower it, Theo will choose the one that increases security. Dual-processors are not a major concern to OpenBSD's core users, so support can wait until other things get done.

    --
    'Sensible' is a curse word.
  17. Is this necessary? by agent+dero · · Score: 4, Insightful

    No this isn't a troll, I used Free and OpenBSD's; but why do we need this.

    I still haven't found a necessity for SMP OpenBSD yet, if I need a box to run X or anything else that would work the CPUs, i'd choose FreeBSD, just for the package system.

    What's really lagging in OpenBSD is an easy to use port/package system; SMP is long down the line.

    Anybody that uses OpenBSD like I do, please tell me why we need OpenBSD, I use it for security, not for dual/quad/etc processor servers.

    --
    Error 407 - No creative sig found
    1. Re:Is this necessary? by Noryungi · · Score: 4, Informative
      What's really lagging in OpenBSD is an easy to use port/package system

      I am really sorry but have you even used OpenBSD recently? I installed OpenBSD 3.4 last month on a small server at home and installing third-party software was as simple as:

      For a package:
      cd <path to packages>
      pkg_add <name of package here>
      For a port:
      cd <path to port>
      make install
      And... that's it!

      Could you please explain to me how this is difficult?
      --
      The right to offend is far more important than the right not to be offended. (Rowan Atkinson)
    2. Re:Is this necessary? by trippinonbsd · · Score: 4, Funny

      It doesnt give me the pretty colors and cool spinners emerge does!

  18. Re:DON'T FORGET ABOUT DARWIN by spoonboy42 · · Score: 4, Insightful

    Yes, Darwin has SMP support that it inherited from the codebase of FreeBSD and Mach. And, to tell the truth, if you want a complete, modern *BSD system you might be better off with FreeBSD anyway (it has probably the most extensive ports collection, best SMP support, fastest scheduler, best desktop support, etc.). The reason for the "other" BSDs (OpenBSD and NetBSD) existing is to focus on goals that don't fit in with FreeBSD's general-purpose design or Apple's exclusive focus on the PowerPC desktop (i386 versions of Darwin notwithstanding). Specifically, OpenBSD is designed to be ultra-secure, while NetBSD's goal is to be portable across as many different architectures as possible. If OpenBSD gets a useful feature like SMP without sacrificing security, though, it's a *good thing* for people who deploy OpenBSD, as it gives them more hardware options in the future.

    --
    Anonymous Luddite: "What do you think of the dehumanizing effects of the Internet?"
    Andy Grove: "Not Much."
  19. BSD to release SMP for the i386..... by MrIrwin · · Score: 5, Funny
    But I think I will wait for the i486 release before upgrading.

    BTW, is an 'SX' OK?

    --

    And if you thought that was boring you obviously havn't read my Journal ;-)

  20. roots by sir_cello · · Score: 4, Interesting


    FWIW: OpenBSD has its roots as a splice from NetBSD; both it and NetBSD very similar, but in some respects NetBSD has "modernised" itself more than OpenBSD, yet OpenBSD has focused on security (and spawned the OpenXYZ series ...).

    Compared to FreeBSD, they're different beasts: NetBSD and OpenBSD fit the niche of embedded products, AP's, firewalls, home gateways, etc - all very good nice (NetBSD's portability and OpenBSD's security). FreeBSD is enterprise class, you don't typically see it used for embedded products / etc, but more in hosting and server.

    Compared to Linux: Linux strength is that does all of the above across the board (it fits everything) and has a better user/desktop experience, but it doesn't do as well as any in any of the individual niches above.

    1. Re:roots by Tet · · Score: 4, Informative
      Linux doesn't run on as many platforms as NetBSD

      Myth. Linux does (and has for many years) run on just as many platforms as NetBSD. Most of NetBSDs "platforms" are actually just variants on a single architecture. Thus while NetBSD counts atari and amiga as separate ports, Linux just treats them as part of a single Linux/m68k port. In fact, NetBSD runs on two architectures that aren't currently supported by Linux (ns32k and vax), whereas Linux run on five that aren't supported by NetBSD (mips64, ppc64, s390, sh4 and etrax). I'm not trying to put down the worthy efforts of the NetBSD community, but I just get a bit fed up with people claiming that it's more widely ported than Linux. It was true in the past, but hasn't been for some time.

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
  21. What Will Theo Use Processor 2 For? by bfg9000 · · Score: 5, Interesting

    I'm a long-time OpenBSDer (I'm even way up near the beginning on their donations page, which is as close as I'll get to being cool -- it's far more important than a low Slashdot UID, which I also have, as you can see), and I remember Theo mentioning a couple years ago that he was thinking (at the time, anyway) about having the second processor do nothing but crypto.

    What's his plan now? Just typical SMP, I'd guess -- but I thought his other idea was cooler. On-the-fly encoding and decoding and hiding of jpegs from wives and whatnot. Very useful to... ahem... some of us. Not me of course.

    Just wondering about the current prospects for something to keep my uh.. important financial documents... from, uh... the government? Yeah, the government, that's it.

    --

    I'm not normally an irrational zealous dickhead, but I figure "When in Rome..."

  22. Re:smp? by Alan+Cox · · Score: 4, Interesting

    SMP is so old a technique that almost all of it is so old that any patents have expired twenty years or more ago. The one exception in the Linux case is RCU, which is a scaling technique patented by IBM for which GPL use rights were granted but not I believe BSD use rights.

    Bad SMP can be done in a couple of weeks by anyone, good SMP is a little harder and its nice to see OpenBSD joining in the game as SMP is now at the on processor level so it is becoming important.

  23. Re:Yet another modern feature added to *BSD by bccomm · · Score: 5, Informative
    Mod parent up, he made some good points.

    However, I'd have to disagree with FreeBSD being the technological leader of the bunch. It's an excellent system, and is the most widely used/commercially supported of the three (or six, with ekko, DFly, and Darwin). However, I see NetBSD being much more advanced for a few reasons:
    1. It's more clean. ``It isn't done unless it's done right.'' As a result, it's much easier to extend (new drivers, new archetectures, ...)
    2. It is the first free unix-ish system to have many new features, like USB, IPV6, and crossbuilding support (ROCK is the only other one I can think of that has this) just to name a few.
    3. As a result of #1, it can serve as an excellent resource (a reference platform or nice collection of example code to stare at when you're bored).
    4. It's small, but generally highly scalable
    5. ...
    I thought the very same way as most users at one time. I used to be a devout FreeBSD user. After buying a bit of HD space (bit=320GB), I decided to take on the multiboot challenge. I installed a total of thirteen different unixes (no windoze), telling myself to create the *exact* same environment on each. I decided to give NetBSD an OK-sized 10GB partition. The next day I swapped the 60G I gave to Slackware with it. It was faster and seemed, generally, a whole lot cooler. Within a week, I had a nice, stable NetBSD-current system up and running and found myself not being able to reboot to finish installing Solaris, OpenBSD, and Gentoo!

    The point is this: NetBSD is the `forgotten' unix in many ways, and I, for one, find that sad. I think all the BSDs, along with Linux, will be around for some time. NetBSD, though, is simply the bliss that I, too, nearly overlooked.