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."

73 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.
    1. Re:Risky to add SMP to free *nix by j-pimp · · Score: 2, Insightful

      Theo couldn't be the boss if he switched to Linux, but what OTHER reasons are there?
      Uh first of all competition. You have this small group with its own politics and motives that not Linux. This means their are probaly a few thing that they can get done better becasue they want to. For example, OpenSSH. Being OpenSSH did end up filling an important need, Linux, other unices and even Windows benifitted. Theo threw a bitch fit over the license of the packet filtering software in OpenBSD and this lead to another "more free" package being created and caused te author of the original package to rethink and clarify the license. The ports collection has some great ideas of package management. Linux imporved greatly upon them with debian. OpenBSD took telnet and rsh flat out of the source tree. Others will probally follow suit.

      --
      --- Justin Dearing http://www.justaprogrammer.net/ We're just programmers.
    2. Re:Risky to add SMP to free *nix by KrispyKringle · · Score: 3, Insightful
      Aside from the arguments about superiority (FreeBSD versus Linux on Intel hardware, for example, is a bit of a tough one, though OpenBSD versus most Linuxes for security is not, and any BSD versus Linux for stability is pretty much not a competition, either), you seem a bit misguided about the BSD's.

      You assume that it is ego that's responsible for Theo to run the OpenBSD project (which as I said really does have a number of security features that Linux hasn't got--compare http://openbsd.org/errata.html to the track record of the Linux kernel alone). You seem to forget that the BSD's are distinct projects; Theo runs Open, but not Free or Net (or Darwin, or the number of commercial OSes that borrowed BSD code--OSX and Solaris, if I remember right, among likely others).

      Judging by that little misconception alone, I'm guessing you aren't a BSD user. I'm going to go out on a limb here and ask if you've ever even used a BSD (me, I'm both a Linux and a BSD person; posting from a Linux desktop, run Linux and Free and Open on servers, and my laptop is a nice new OSX powerbook). You might assume from the hype that Linux is technologically superior, but that is often not the case. The BSD's have their strengths and weeknesses, just as Linux does. Linux has momentum and publicity as a principle strength. But that doesn't mean it's always better (and truly, even if I've got PAX and SELinux or GRSec or similar on my Linux install, I still have to worry about reasonably frequent kernel vulnerabilities a bit more than I do with OpenBSD or even FreeBSD).

    3. Re:Risky to add SMP to free *nix by SillyNickName4me · · Score: 2, Insightful

      Hmm.. the claim of it being extremely clean is often used, but in my book an ip_input.c which is mostly a single 450+ lines long function doesn't qualify as clean. That said, that was in FreeBSD 4.2 and earlier, didn't look at that part since.

      The BSD source tree itself is reasonably well organized, and things are consistent, that is the most important part when dealing with the source I think, it means you can predict where to find the stuff you are looking for.

    4. Re:Risky to add SMP to free *nix by grub · · Score: 2, Insightful


      Theo threw a bitch fit over the license of the packet filtering software in OpenBSD and this lead to another "more free" package

      "threw a bitch"? Well.. he stuck to his standards; that's an admirable thing. However I can say with a clear conscience that pf is the finest L3 filter I've used. It eats ipf, ipfw, ipchains, etc etc, for breakfast. In fact the only thing the overpriced Cisco PIX has going for it is failover on some of their units.

      joy == OpenBSD + pf

      --
      Trolling is a art,
  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 beerwolff · · Score: 3, Interesting

      Well I think Theo's attitude has reflected this because everyone wanting certain features weren't going to code any of it themselves.

      So yes, his attitude was "I'm not going to code that feature for you because it doens't interest me.". But I'm pretty sure if anyone coded something good enough it would be accepted -- why wouldn't it be?

      Play by the OpenBSD rules (no dumb licenses, etc), and write good code, and you can get your code into the official tree. If you write crappy code, or put a dumb license on it, then of course it's not going to be included.

    3. 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.

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

      Yes they may.
      But why should anyone listen?

      If you want a certain feature then you either code it, or pay someone to code it. Wishing doesn't produce better software.

      Sure, you can contact the developer(s) and say "wouldn't it be nice if ..." but don't whine if she/he says "sure, when/if I get the time and/or resources".
      If you don't like that answer then either provide the resources or pay for commercial software.

      --
      Executive Pope (small) Kallisti Engineering
    5. 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

    6. Re:Interesting... by Daniel_Staal · · Score: 2, Informative

      Let's see...

      Privsep: Makes sure that only the code that needs to be root is run as root.

      WorX: Makes sure that data cannot be executed as code. (Memory pages are either executable or writable, not both)

      There are other features like them, that add to the security of the system. OpenBSD is better at firewalling than FreeBSD because of them; it is harder to break any port or access that is allowed/found into a security lapse. And any security lapse will be as limited as possible.

      FreeBSD is descent at this. The standard level of security is available. OpenBSD is positively paranoid. That's a good thing when anyone can throw anything at it...

      --
      'Sensible' is a curse word.
    7. 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.

    8. Re:Interesting... by bsdcow · · Score: 3, Insightful

      niels moved to netbsd where he works now but i believe most of his code will be ported to openbsd when required. theo seems to have been a bit harsh over niels and niels left. well, this is a business between niels and theo and we should not dwelve into it ;)

    9. Re:Interesting... by anthonyrcalgary · · Score: 2, Redundant

      The list isn't exaustive...

      Privsep=privilege seperation. As many daemons as possible either drop priviliges or run as two processes, one privileged and one not. This makes a sucessful attack against a deamon less damaging because the attacker's incfluence will be trapped in a process that's not allowed to touch anything important. It turns a remote root attack into a denial of service.

      W^X (the operator is "exclusive or" not "or") makes many kinds of arbitrary code attacks impossible, by making it impossible for processes to execute memory they can write to. Other OSes probably have this, but I don't know of any, and all the big ones (Linux, Windows, FreeBSD, Solaris, AIX, etc) do not. It breaks some stuff, but it makes everything else more secure. It's a tradeoff, and I suppose OpenBSD is the only one focused enough on security to do it. I've heard that Windows will use it in the 64-bit version of Windows, but that will break Java and .NET unless they add kernel hooks to get at writable and executable memory. But that will make it a lot less effective...

      Also, everything is compiled with ProPolice stack protection, which makes stack smashing almost impossible. If you look at recent OpenBSD security advisories, many of them say "propolice turns this from a local root exploit into a denial of service", or words to that effect. Many similar problems are local root exploits on NetBSD solely because it lacks ProPolice.

      OpenBSD is considered better (by many) for firewalling largely because the security is very good. If one system has to touch the Internet, better to use an OS that has very good security. Also, PF is a much better firewall than any of the competition. FreeBSD is importing it for this reason, but at the moment the only OS with PF in an official release is OpenBSD.

      Personally, I like it because of the reliability. It's the only OS I use regularly that's never broken without bad hardware or me making mistakes. From what I've heard, Debian-stable is also that good, but OpenBSD has much better firewalling features.

      --
      When someone might yell at me, it has to be OpenBSD.
    10. Re:Interesting... by kamelkev · · Score: 2, Interesting

      it's good to see that he is opening his mind to the one area OpenBSD is severly lacking.

      Um, are you kidding me? I've been involved in a project doing OpenBSD kernel development for the last 2 years, and I'll tell you right now there are so many shortcomings in the kernel you wouldn't believe it.

      Let's start with the broken PCMCIA support (interrupt problems), or maybe the fact that it doesn't have kernel threads (user threads blow, especially when those are broken too), and don't get me started on the broken drivers (there are so many that don't work right).

      We fixed lots of these issues for our projects, but honestly, who cares about contributing back to OpenBSD. We talked about sending patches, but he was such a jerk in our interactions with him (Theo) that we just decided to keep them to ourselves.

      Seriously, at this point the differences in security between OpenBSD and FreeBSD are trivial... so what's the point.

  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. Watch out for the SCO police by gilesjuk · · Score: 2, Funny

    What next, SCO sues OpenBSD for having a feature that Linux has?

    1. Re:Watch out for the SCO police by sydb · · Score: 2, Funny

      That wasn't very funny. Please see my post for an example of a successful way to refer to SCO, and simultaneously entertain your audience, in this story.

      --
      Yours Sincerely, Michael.
  8. DON'T FORGET ABOUT DARWIN by Anonymous Coward · · Score: 2, Funny

    It's BSD-compatible, AND ALREADY HAS SMP! By the power of Jordan Hubbard, I COMPEL YOU!!

    1. 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."
  9. 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.

  10. 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...

  11. Why buy hamburger when the steak is free? by RLiegh · · Score: 3, Insightful

    I can use NetBSD, FreeBSD or Linux -- all of which have SMP capabilities to varying degrees ... so, why do I want to give Theo $ for something he could probably port --instead of hiring a programmer to putz around with reinventing the wheel?

    1. 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.

  12. 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.

    1. Re:SMP is good, but what about pkg management? by Anonymous Coward · · Score: 2, Informative

      OBSD has both ports and packages (precompiled binaries) and the software to manage them, pkg_*. When it comes time to upgrade your OS, all your customizations can be put in a site.tgz file. Takes one command to install it.

      There's a reason OpenBSD has nice man pages and FAQ - they're for learning how the OS works.

    2. Re:SMP is good, but what about pkg management? by Santana · · Score: 3, Interesting

      Good grief! Editing /etc/* by hand is a feature! I don't want any automatic tool touch my config files

      --
      The best way to predict the future is to invent it
    3. Re:SMP is good, but what about pkg management? by Anonymous Coward · · Score: 2, Informative

      > I remember having to manually edit files in
      > /etc, and having to figure out which files were
      > added or deleted since the last version.

      try mergemaster. when you become better accustomed to the process and have decent tools, i think you'll prefer it to debian.

      cd /usr/ports/sysutils/mergemaster
      sudo make install
      sudo mergemaster

  13. Wow, they must be good.... by evenprime · · Score: 2, Insightful

    Whoever is coding this must be *REALLY* good. I remember Theo saying that SMP had too many opportunities for race conditions....

    --

    "Weapons should be hardy rather than decorative" - Miyamoto Musashi
    I think that goes for OS's too
  14. 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); }
  15. Re:smp? by Brandybuck · · Score: 2, Insightful

    so we rarely get to play around with other os's

    Does your boss make you live at work? Go home and play around with other systems there!

    --
    Don't blame me, I didn't vote for either of them!
  16. 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?

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

    "*BSD is trying"

  18. Re:In other news.. by BdosError · · Score: 2, Insightful

    I'd say no. It's generally considered harder to secure an existing system than it is to keep a system secure and add features to it. I saw a quote from Bruce Schneier recently to that effect, I think from his "Secrets and Lies" book.

    Essentially, good security relies on good architecture. Once you have an architecture from existing features, it may not be reasonable to make it secure because it may be architected for different goals.

    --
    Complexity is Easy. Simplicity is Hard.
  19. 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

  20. 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.
    2. Re:I Will Be Amazed If This Works by Santana · · Score: 2, Insightful

      Plain FUD. Theo is not in the "contest for the OS most used", and you know that.

      --
      The best way to predict the future is to invent it
  21. 'asking for funding' by Anonymous Coward · · Score: 2, Insightful

    Too bad de Raadt looked a gift horse in the mouth and blew it with that NSA grant.

    1. Re:'asking for funding' by don_carnage · · Score: 2, Informative

      Err...wasn't that a DARPA grant?

  22. 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.
  23. 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!

  24. Re:Yet another modern feature added to *BSD by Santana · · Score: 3, Informative

    As you may know, OpenBSD focuses on security. SMP support brings new concerns on this field.

    --
    The best way to predict the future is to invent it
  25. 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 ;-)

  26. 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 evilviper · · Score: 3, Interesting
      NetBSD and OpenBSD fit the niche of embedded products, AP's, firewalls, home gateways, etc

      They get that wrap a lot, but you can find a lot of OpenBSD web/fileservers out there. OpenBSD is where OpenSSH started, because it's heavy into any kind of networking, and crypto, not just security. NetBSD isn't used as a server so much, but it's pretty popular with just about anybody running on a platform other than x86. The majority of people that don't like MacOS, seem to go to NetBSD as their desktop.

      Linux strength is that does all of the above across the board

      Linux doesn't do the job of a router/firewall well (no state with IPchains/IPtables).
      Linux doesn't run on as many platforms as NetBSD, but worse, it doesn't work WELL on any but very few of them, whereas the BSDs are as well suited to any one platform as another.

      Finally, Linux is a real hassle in enterprise situations. Standard Linux is extremely unstable (compared with what the BSD's consider stable) so to get that stability, you need to follow the Debian approach, and extensively test and debug all the programs. That means you are generations away from the new features. Meanwhile, you can just download the latest FreeBSD -stable (usually 1 minor version behind), and it's ready to go. There's a good reason you see FreeBSD in lots of serious enterprise apps.

      and has a better user/desktop experience

      Feel free to explain this one to me. The installer is probably the only thing anyone can cite where the BSDs are even different (to the casual users) than Linux. You have GNOME and KDE on all the BSDs, and they work just fine.

      As for the installers, if you get over your addiction to always using your mouse, they are really much better installers than the GUI ones for any Linux distro.



      What makes this situation worse, is that moderators on /. think anything not pro-Linux is a flame or a troll, so you'll get modded up, I'll get modded down, and someother /. reader will see your post and not mine, and just accept your mistaken opinions as fact.
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    2. 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
    3. Re:roots by sir_cello · · Score: 2, Informative


      It is probably true that Linux does run on more systems than NetBSD, but the support is fragmented and disparate at the best. This is the essential and important distinction.

      NetBSD ensures that the one overall "package" (kernel + user space) works equivalently across a set of platforms. Your installation (executables, directories, config, etc) are largely equivalent across all platforms: take your custom scripts and system setup and find that it can be dropped onto NetBSD/other with little cost.

      This is definitely not the case with Linux as each platform largely a different and somewhat incompatible distribution.

      Linux strength is that you can find a large and interesting variety of distributions for all sorts of specific niches and purposes. It's weakness is that you can't find the one distribution that works across many platforms. And this is the niche that NetBSD has.

  27. 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..."

    1. Re:What Will Theo Use Processor 2 For? by Imperator · · Score: 3, Informative

      Well SMP stands for "symmetric multi processing". That basically means the kernel can run on any processor--they're symmetric in that respect. (The advantage of being symmetric is that multiple processors can run kernel code at once, but the disadvantage is that you need locks and the like.)

      If he were going to use the extra processors for nothing but crypto, (a) he'd be wasting them since crypto doesn't take that much CPU by today's standards and (b) it wouldn't be called SMP.

      --

      Gates' Law: Every 18 months, the speed of software halves.
    2. Re:What Will Theo Use Processor 2 For? by evilviper · · Score: 2, Interesting
      If he were going to use the extra processors for nothing but crypto, (a) he'd be wasting them since crypto doesn't take that much CPU by today's standards

      I have to disagree with you there. SCP'ing something over a fast network maxes out even very fast processors. 3DES is a real CPU-hog, even by today's standards.

      If you don't think crypto is CPU-intensive, you must not be doing much of it.
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    3. Re:What Will Theo Use Processor 2 For? by evilviper · · Score: 2, Informative
      but I thought his other idea was cooler. On-the-fly encoding and decoding and hiding of jpegs from wives and whatnot.

      I really can't see the point. For $100 you can buy a PCI crypto card that would do 3DES as fast as most would ever need.

      Or they can just act as an incredibly fast random-number generator (something CPUs aren't very good at) if you are doing some crypto that the card doesn't support (blowfish isn't popular in hardware, yet).
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    4. Re:What Will Theo Use Processor 2 For? by evilviper · · Score: 2, Interesting
      The only reason to use 3DES is that you're stuck with DES hardware.

      That's a very valid reason, but not the only one. DES is tried and true, and 3DES is as theoretically as secure as anything can get.

      The hardware thing is quite a valid issue though... If you're connecting to a server that does a lot of crypto, chances are it's using a hardware crypo accelerator, so it won't want to waste CPU power doing blowfish or AES when 3DES is even faster on it's end.
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  28. Re:Yet another modern feature added to *BSD by sir_cello · · Score: 2, Insightful


    FreeBSD is the clear technological leader in the BSD family, and it's little wonder Apple built upon it. OpenBSD's "space" is less about areas where SMP is necessary (i.e. because FreeBSD is typically enterprise class web host / etc; yet OpenBSD and NetBSD are typically more compact uses - embedded products, etc).

    What this news really says is more about the overall state of the BSD family: OpenBSD finally hitting the rungs.

  29. Re:Yet another modern feature added to *BSD by MrChuck · · Score: 2, Insightful
    So I should turn off the 2 CPU Ultra box that I have running FreeBSD? Cause you're saying that it doesn't work. And my 2x Intel netbsd box? Damn, it's really handy.

    At least with the BSDs in general and OpenBSD specifically, I don't have to run out and add a security patch every couple days.

    Some of us actually use opensource and "compile" the binaries on our systems rather than relying on vendors and strangers to give us RPMs and the like.

    (okay, that's not fair. I'm using NetBSD's pkgsrc on Linux (and solaris (and OS X (and Netbsd)))).
    But really, why are you guys so afraid of source?

    Or am I mistaken? Is the O.P. referring to what so many of the /. folks use: Windows? In which case I'll just note that a DL380 with 2 CPUs @ 3GHz running Windows is almost as fast as my 1 CPU Athlon/1500 running a Unix.

  30. Okay, I perused the thread... by mosel-saar-ruwer · · Score: 2, Interesting

    ...and the comments were roughly
    1) 50% fanboy sycophancy [hence ignored], and

    2) 50% in agreement with Leitner's conclusion

    Certainly not a thread I'd link to as a refutation of his position.

  31. Re:Yet another modern feature added to *BSD by b17bmbr · · Score: 3, Interesting

    which is something i don't understand. why haven't they been able to incorporate other BSD code for SMP? i understand the GPL limitations, but BSD code doesn't have the same burden (forced gpl'ing, etc.). isn't that the whole point of open source?

    --
    My problem? I was perfectly gruntled, until some numbnuts came by and dissed me.
  32. Re:Yet another modern feature added to *BSD by anthonyrcalgary · · Score: 2, Informative

    OpenBSD is hardly the leader of the pack as far as performance goes. Even on UP systems, it's still slower than almost everything else in key areas (disk performance being the big one). When it has SMP support, it will initially use one big mutex to lock the kernel, and will not initially be optimized for anything weird (Hyperthreading, NUMA). Sure it's my favorite OS. But not for everything.

    --
    When someone might yell at me, it has to be OpenBSD.
  33. Re:Yet another modern feature added to *BSD by bsd_usr · · Score: 2, Insightful

    Bah, those are just reliability fixes. One isn't a big deal unless you use IPSec I believe and not a remote hole. The other can be a nuisance either way, but it's *not* a remote hole. Keyword being hole here. I'm more worried about vulnerabilities that allow to execute code or unauthorized access.

  34. 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.

  35. Re:Yet another modern feature added to *BSD by Just+Some+Guy · · Score: 3, Interesting
    OpenBSD is hardly the leader of the pack as far as performance goes.

    I think it's pretty fast, given that it's doing much more than most other systems. All that crypto and random goodness doesn't come for free. From "Practical Cryptography": "There are already enough fast, insecure systems. The world doesn't need another one."

    Even on UP systems, it's still slower than almost everything else in key areas (disk performance being the big one).

    Have you tested that with softupdates enabled? OpenBSD's default disk performance reminds me of FreeBSD's old performances before softupdates became a standard setting. It's another security-vs.-performance tradeoff: the BSDs mount their filesystems in synchronous mode and highly discourage using async, while most Linux systems use async by default.

    --
    Dewey, what part of this looks like authorities should be involved?
  36. Re:Yet another modern feature added to *BSD by Mysteray · · Score: 2, Interesting

    As I understand it, OpenBSD diverged from NetBSD before SMP was available for any nonproprietary BSD. The divergence in the codebases that has taken place since then makes it impossible to simply import much of another strain's implementation.

    Maybe there will be some re-use of code (and ideas), but I suspect the OpenBSD team will be building this thing from the ground up.

  37. Re:Yet another modern feature added to *BSD by dmiller · · Score: 2, Informative

    SMP isn't just a bit of software that you can port from one OS to another. It touches just about every kernel internal and changes many assumptions on the way. That being said, the approach to implement SMP in OpenBSD (and some code) is being derived from NetBSD.

  38. 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.
  39. Re:Yet another modern feature added to *BSD by Just+Some+Guy · · Score: 2, Informative
    Add to that the fact that a BSD system will not automatically upgrade your /etc, then you have the best reasons that say, a Debian box is easier to maintain.

    Qualify that: FreeBSD has had "mergemaster", which semi-automatically upgrades your /etc (and even walks you through merging changes) for a long time. I'm not sure with Open and Net haven't imported it yet, or at least hadn't when I last looked, but at least one BSD currently enjoys easy /etc upgrades.

    --
    Dewey, what part of this looks like authorities should be involved?
  40. Re:Yet another modern feature added to *BSD by grub · · Score: 2, Informative


    All that crypto and random goodness doesn't come for free.

    True enough, but with a ~US$90[0] Soekris crypto accelerator it's damn close :) Nothing like having a heavily used IPSec tunnel with your CPU being relatively idle.

    [0]- when I bought mine in mid 2002

    --
    Trolling is a art,
  41. Re:Yet another modern feature added to *BSD by AusG4 · · Score: 2, Insightful

    To say "*BSD", you make it sound like this effort is new to BSD operating systems in general, as opposed to just OpenBSD. Of course, as others have pointed out, other BSD variants already support SMP. OS X, FreeBSD and Tru64 are good examples.

    While I agree that it's a little "laggy" of OpenBSD to be finally getting around to adding SMP support, I would also concur with others who suggest that the general application of OpenBSD doesn't often require multiple processors. As a result, SMP support hasn't seemed to be a really been a big priority, and the more direct concentration on security has really paid off for them. That said, SMP support will certainly make OpenBSD more attractive in places where it wouldn't have been previously considered (larger scale databases, for example), so this is obviously a good thing.

    As for the concept of BSD setting the standards for other operating systems to follow, I would partially disagree - yet partially agree. :)

    It's not that BSD isn't innovating, but it's more that all operating systems, including (*gulp* am ducking already *gulp*) Windows are pushing forwarding in different areas. The sum knowledge and progress from all operating system projects is helping to improve every other operating system in turn, and on it goes.

    Despite the overall (IMO) cruddyness of Windows, Microsoft has done some things worth learning from. As has Apple, Sun, DEC (err, Compaq, err, HP) and IBM.

    --
    bash-3.00$ uname -a
    SunOS panda 5.10 Generic sun4u sparc SUNW,Ultra-2