Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

OpenBSD SMP In The Works

Posted by timothy on Mon Dec 09, 2002 05:19 PM
from the open-as-in-sights dept.
Cajal writes "Four students at the University of Waterloo are working to add SMP support to OpenBSD as part of the Spinlocks project. More information is available in a story at the OpenBSD Journal's site. They expect to have an initial working MP kernel in January."
+ -
story
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • ..is that I can never decide to buy a CD set because everytime I think wait one release, the next one will have new feature xxx included!! (Where xxx is some new pf feature, or systrace, or SMP, or....
    • by jfedor (27894) <jfedor@jfedor.org> on Monday December 09 2002, @05:36PM (#4847827) Homepage
      It doesn't matter which CD set you buy, what's important is that the project gets the money.

      You can always get the latest release by FTP.

      So why don't you just buy the current release now.

      -jfedor
    • Well, you could always donate a few bucks instead. More than that, if you buy a 3.2 CD (latest), then you get a CD with the full sources, and when 3.3 is released, all you'll need to do is update your source tree via CVS, then build it. The bandwidth used to update is rather slim.

      But on the subject, the chances are slim to none that SMP will be stable and secure enough that it will be included in the next release, so you don't need to procrastinate this time. I haven't yet heard of major improvements fore 3.3 (except the altq & pf merge) so it will be mostly bug-fixes, and performance improvements.
      • by jfedor (27894) <jfedor@jfedor.org> on Monday December 09 2002, @05:43PM (#4847920) Homepage
        Isn't it the OpenBSD folks who are telling people not to make ISOs because the codebase changes frequently enough?

        No.

        Perhaps you are confused by this [openbsd.org].

        Why would you purchase a set of discs to perform multiple installs when OpenBSD developers recommend against using a static copy?

        They don't. OpenBSD releases come at regular 6 months intervals (3.2 was a month early). That's what you should be using. You can use the snapshots or even the current CVS if you feel brave.

        Sure, I can understand buying copies to support OpenBSD. I buy Redhat for the same reason, it's more principle than the actual material in the box.

        You are correct. There's a slight difference, though, OpenBSD is not trying to turn a profit, just cover the development costs.

        -jfedor
  • Wow! (Score:5, Funny)

    by Jeffrey Baker (6191) on Monday December 09 2002, @05:23PM (#4847609)
    In related news, the Egyptians are on the cusp of discovering Construction, which will allow them to build Aqueduct and Coliseum. However, this is not expected to improve the odds of their feared Chariot against invading Mechanized Infantry.
    • Re:Wow! (Score:5, Insightful)

      by ajs (35943) <ajs@noSpAm.ajs.com> on Monday December 09 2002, @06:20PM (#4848405) Homepage Journal
      Ok, I grant your comment is funny, but I'm a Linux user (and sympathizer :) who grew up on BSD, and it really pains me to think that any OS (Solaris, Linux, HP/UX, etc) needs to be viewed as a competitor to BSD rather than a fellow citizen in the realm of UNIX and UNIX-derived OSes.

      Each has its niche, and while some of those niches wane over time (e.g. SCO, IRIX, DG/UX), others flourish (Linux, FreeBSD, Solaris) and that's a good thing. They continue to flow into the containers that they define, rather than having to attack eachother as many products do.
  • Great news (Score:4, Insightful)

    by ekrout (139379) on Monday December 09 2002, @05:26PM (#4847661) Journal
    And it makes for a good research project as well.

    But I ask here, as an honest interested person, why one would wait until SMP is correctly and efficiently implemented into OpenBSD when they could simply use any old recent version of Windows or Linux on SMP hardware to get symmetric multiprocessor support for a high-load server?

    I understand that Research -> Products -> Corporate $$$, but is this perhaps too little too late for OpenBSD?
    • Re:Great news (Score:5, Informative)

      by bahwi (43111) <.incoming. .at. .josephguhlin.com.> on Monday December 09 2002, @05:36PM (#4847816) Homepage
      Because OpenBSD is about security, not the lastest and greatest features. Linux is about the latest and greatest features. Since the economy went south, most of the peopl working on any of the BSD's lost their jobs or were unable to continue working on the BSD's during corporate time. Where the BSD's have corporate backing and private backing, Linux is mostly private backing, i.e. people at home working on it. Again, things are changing, but everyone has their preferences. No one is going to simply give up OpenBSD to go to Linux, if they need SMP, that is the best route. But from OpenBSD's web page:

      "Only one remote hole in the default install, in more than 7 years!"

      So they all have their uses, Linux, FreeBSD, OpenBSD, and NetBSD. =) Live together, work together, don't kill each other.
      • by Anonymous Coward on Monday December 09 2002, @05:55PM (#4848082)
        MS-DOS - No root exploits, no patches since 1981!
      • by jfedor (27894) <jfedor@jfedor.org> on Monday December 09 2002, @05:59PM (#4848132) Homepage
        "Only one remote hole in the default install, in more than 7 years!"

        What puzzles me is how they jumped [openbsd.org] from "nearly 6 years" to "more than 7 years" in less than a year. :)

        -jfedor
      • Re:Great news (Score:5, Insightful)

        by joib (70841) on Monday December 09 2002, @06:14PM (#4848328)
        I'd say the main reason for Linux development continuing rapidly despite the economy is that the Linux market is orders of magnitude larger than the *BSD market, so the distro makers (and other companies who employ Linux kernel hackers) have the money to keep Linux kernel hackers employed.
    • Re:Great news (Score:4, Insightful)

      by jfedor (27894) <jfedor@jfedor.org> on Monday December 09 2002, @05:50PM (#4848022) Homepage
      But I ask here, as an honest interested person, why one would wait until SMP is correctly and efficiently implemented into OpenBSD when they could simply use any old recent version of Windows or Linux on SMP hardware to get symmetric multiprocessor support for a high-load server?

      Because you like OpenBSD and would like to help them test the SMP-enabled version so that one day it runs properly?

      What's an "old recent version of Windows", BTW? :)

      -jfedor
  • Maybe now.. (Score:2, Interesting)

    by FuzzyMan45 (451645)
    They can increase their userbase to (hopefully) include some of the larger companies and corporations that opt to use FreeBSD because of it's SMP support and greater performance than OpenBSD. Hopefully, this modification will also include some performance modifications so it can also compete speedwise with FreeBSD.

    While security takes precedence over performance in my book, there are definitely some things that need the performance of FreeBSD.

    This is one feature i've been looking forward to playing with (not NEEDING) for a while, i can't wait to try it when it's available somewhere.

    --Fuzz
  • by echorun (629954) on Monday December 09 2002, @05:30PM (#4847731) Homepage
    Sweet now I can have more than one fish in the box.
  • by CoolVibe (11466) on Monday December 09 2002, @05:32PM (#4847767) Journal
    Although, the question remains if Theo will accept these patches...

    The last time I spoke to Theo in person, he wasn't too keen on SMP. That wasn't too long ago.

    • by aridhol (112307) <klacquement@gmail.com> on Monday December 09 2002, @07:47PM (#4849365) Homepage Journal
      Possibly he wasn't keen on the time investment required to implement SMP. If these guys do all the work, it may well make it in.

      OTOH, it may be that SMP code is more difficult to audit, and that this is the reason it won't make it in. Remember, SMP allows for the possibility of race conditions within the kernel itself, which would be a nightmare to validate for security.

      • by CoolVibe (11466) on Monday December 09 2002, @08:14PM (#4849606) Journal
        Possibly he wasn't keen on the time investment required to implement SMP. If these guys do all the work, it may well make it in.

        It might. Even if Theo doesn't accept these patches, the patches will still be available. I just hope they keep maintaining them and keep them up to date if Theo says no for any reason.

        OTOH, it may be that SMP code is more difficult to audit, and that this is the reason it won't make it in. Remember, SMP allows for the possibility of race conditions within the kernel itself, which would be a nightmare to validate for security.

        If Theo would deny this work, it would probably be on those grounds. It was indeed one of the reasons he mentioned to me.

        The most likely place for race conditions to occur on SMP systems is with threading. I have yet to see a totally solid threading implementation that is totally devoid of race conditions of any kind wrt locking/freeing/semaphores/etc. Usually kernel developers solve most of the problems by passing one big lock around (like linux does, and FreeBSD (ever heard of Giant?))

        All in all good news that these guys are working on it indeed. My main concern is seeing this project die because it has the chance of being shot down by Theo. I really hope they persist in pushing Theo to accept it. I also hope they have a lot of patience while dealing with Theo, he's also not the easiest to get along with :)

  • by Jacco de Leeuw (4646) on Monday December 09 2002, @05:36PM (#4847830) Homepage
    ... ever working for Microsoft [uwaterloo.ca] then!

    Microsoft has been raiding the University of Waterloo for programmers for years now.

  • by flinxmeister (601654) on Monday December 09 2002, @05:44PM (#4847932) Homepage
    I've been using OpenBSD in several mission critical networking roles for 3 years now, and I can safely say that I haven't needed SMP.

    The conventional wisdom that an operating system should be judged according to it's bells and whistles is what's wrong with the software industry. An OS should be judged by two things: Does it do the job I require of it, and does it do it well?

    There are many many jobs that do not require SMP. There are many many jobs being done on SMP boxes that do not require SMP. As the price of processors has diminished, SMP is just a cool thing to buy. I'd be willing to put money down saying that 75% of the SMP boxes out there aren't needed (if that was measurable).

    So, if you want to judge your OS based on features you don't need, then go for it. I use OpenBSD because it is the best choice for that particular need. If you want to assume that one OS is the Uber-OS because of the back panel of the box, then go for it. I'll assume a particular OS is best for the task at hand, and go with that.

    I'm not part of the OpenBSD project (nor do I play one on TV), but one of the central points behind it is that they don't put in things unless they are needed. So far it doesn't seem like SMP has been justified in the great scheme of things (no surprise given the actual need in the wild). I'd much rather have them working on things I'm going to be using instead of evaluating other products based on things I won't.
    • "I've been using OpenBSD in several mission critical networking roles for 3 years now..." blah blah blah...


      What are you using it for, and how reliable is it for networking? Uptime?



      • 7 production firewalls in varying degrees of importance. 6 of these guys have *never* gone down. The exception on one was one where squid had some compile issues and made the rest of the box unhappy (during implementation). This number includes one soekris box. 2 temporary firewalls where someone insists on using firewall-1 or Symantec on Solaris but doesn't have the Solaris hardware or the budget yet. One is a bridging firewall, so I don't know what they're going to do when they want to switch. To be honest, they'll probably end up keeping them. 3 Snort sensors. (2 have never crashed, uptime of over one year before massive power failure at the location). This includes 3 upgrades of snort. One crashed during some Gigabit experiments. A high volume syslog server/ftp logfile repository/mysql server. This one has been a bit flaky. Crashed twice in a one year period, 10 months between crashes. A web server that has a maximum uptime of 8 months. Could have gone longer but this location has a bad power situation. So total OpenBSD boxen for me is around 14.
    • Yeah, just like Windows users were saying around '95, "who needs pre-emptive multitasking, I've never needed more than co-operative multitasking" (and Mac users until Mac Os X). Or linux users wondering why one needs a journaling file system, up until three of them get mature enough. And when the system does get what was formerly denounced as "unnecessary toy", it suddenly becomes indispensable commodity.

      Now, SMP is not necessarily something people "start needing"; you don't usually realize one day that "gee, now I really need SMP". For many things it isn't strictly required, like you say -- after all, most systems only scale up decently to 4- or perhaps 8-way systems, and common rule of thum is that you get about sqrt(num_procs) output (assuming you get enough CPU load for all processors)... and so you can same amount of work done by getting twice as fast CPU (instead of 4-way SMP system).

      However, having SMP capability as an option is a Good Thing. For servers it allows nice high-end scalability (esp. with Sun boxes, E10K and co. wouldn't rock if it wasn't their SMP-scalability coupled with kickass I/O.. but those beast scale well past 8 CPUs). For desktop systems it allows for better interactivity (especially on traditional unix[ish] system that have batch-job oriented scheduling), smoother UI.

  • by scorpioX (96322) on Monday December 09 2002, @05:49PM (#4848007)
    Did anyone else notice that these four students are using PowerBooks (I assume running OS X). Check out this picture [spinlocks.org]. You also have to love the reference to the cult movie Hackers.
  • A long wait... (Score:5, Informative)

    by evenprime (324363) on Monday December 09 2002, @06:06PM (#4848204) Homepage Journal
    There's been talk of doing this since 1997 [sigmasoft.com]. In the past there was concern about the cost [sigmasoft.com] of SMP hardware to develop on and also on the huge amount of time [sigmasoft.com] needed to do it right:
    SMP is a big deal. OpenBSD does things, and it does them RIGHT. To do SMP right, we'd need to make the kernel fully-reentrant. This means that we'd clean up the kernel I/O functions so that they don't wait on one another (that's a really dumbed-down, bad explanation of it.) By making the kernel re-entrant, we wouldn't have the problem of spinlocks (one processor waiting on the other to finish I/O, etc.) This would mean almost a COMPLETE re-write of the kernel. This would be a six+ month ordeal for quite a few coders working 40-60 hour weeks. Remember, such a huge task needs to include not only the re-writing of existing code, but checking it to make sure it works on all supported platforms without breaking all the great existing features of OpenBSD.
    That bit about doing things the Right Way is a major consideration for the OpenBSD team. In 1998 [sigmasoft.com] jkatz pointed out that they probably wouldn't just use the code from another BSD because they wanted to make sure that OpenBSD's solution was more scaleable.
  • Very smart... (Score:4, Interesting)

    by Dahan (130247) <khym@azeotrope.org> on Monday December 09 2002, @06:08PM (#4848249)
    Good to see that they're using NetBSD as a reference for this... OpenBSD is basically a less-active branch of NetBSD from a couple years back, so it should be a pretty straightforward process to merge in the SMP stuff from NetBSD (which, like just about every other OS, has had SMP for quite some time now).

    OpenBSD is a very promising OS, and SMP support will finally let it play with the big boys in the free *nix playground :)

      • Re:Very smart... (Score:4, Interesting)

        by LizardKing (5245) on Tuesday December 10 2002, @04:39AM (#4852665) Homepage

        OpenBSD may have been branched from NetBSD, but there is practically no resemblance left anymore. Both, in source code and userland, there have been so many changes that the differences between Net and Open are bigger than the difference between either of them and FreeBSD.

        I applaud your attempt to counter the accusation that OpenBSD is "less active" than Net, but you've got it a little wrong. The userland between the three *BSDs is very similar, and the kernels have similar subsystem layouts. Without this similarity, things like softdeps, systrace and IPv6 wouldn't have percolated so quickly into all three. Finally, note that this new OpenBSD SMP work builds on Bill Studenmunds NetBSD code.

        Chris

  • Which of the popular applications and uses of OpenBSD would benefit from SMP support?
    • Which of the popular applications and uses of OpenBSD would benefit from SMP support?
      I don't suppose anybody is running apache on it? :) But seriously, the only requirement to benefit from SMP is that you run more than one cpu-intensive process on the computer at once. Servers (like apache) usually fork a process for each client.
    • Re:Uses of SMP? (Score:3, Informative)

      by Tuzanor (125152)
      Dynamic web servering, of course. OpenBSD is also widely used as a VPN. Whilst some of the crypto cards work great a second proc. can only help. Also, firewalls for very large networks may benefit.
    • Re:Uses of SMP? (Score:4, Informative)

      by drinkypoo (153816) <martin.espinoza@gmail.com> on Monday December 09 2002, @07:39PM (#4849271) Homepage Journal
      In addition to what the siblings of this comment currently say: Everything that requires lots of CPU, or lots of processes running at the same time. A single thread is usually not relocated across processors, so the following is more or less true in the case where you have lots of processes of vaguely equal size and more than one processor: The number of context switches which have to be done is divided by the number of processors. That's one benefit. The other is that (in theory but not in practice of course) you can execute twice as many instructions at once. Obviously you still have operations which have to wait on things other than other instructions being retired (Though that too) which I suspect is the main reason why usable "speed" (let's say cycles for the sake of saying SOMETHING) does not tend to scale linearly with additional processors.

      Anyway anything that is relatively (or entirely) cpu-bound and involves lots of processes or threads will be sped up significantly. Also one process doesn't tend to monopolize your processor so badly.

  • This would be nice (Score:5, Interesting)

    by QuietRiot (16908) <cyrus@nosPaM.80d.org> on Monday December 09 2002, @06:35PM (#4848607) Homepage Journal
    I'm curious how much of a rework will be required [by the OpenBSD core developers] once these guys are done. 4 guys on a one-year project. SMP. Good luck. Will this be a patch-type thing? Will the core team accept it, or reject it outright? Will the core team use some portion of it - cleaning it up along the way, or will it take a major rewrite?

    It's strange how things like this end up changing would would have been. Do it right the first time, because if it gets adopted, and it wasn't done right, efforts will be diluted.

    I'm glad to see it's happening though. At least somebody's throwing some brainpower at it rather than waiting around for Theo & friends. (no fault to Theo, I know SMP is "in the works" - OpenBSD is secure, first and foremost. That's what I, and many others, care about most. Kudos to you and your team on this! You have a highly-regarded, ultra secure OS that has kept many cracker-types and script-kiddies at bay for many years. You have saved many people many thousands or millions of dollars with the protection your software project has provided. You have given nothing to the headache medicine providers of the IT industry.)

    One more processor for my dual-capable Sun SS20 and I'll have a grand-ole time playing with this. Just too bad it comes with only a single 10-speed ethernet port. Anybody know about S-bus fast ethernet cards?

    To these brave deveopers: Way to go! Thanks for getting the ball rolling and best of luck with your project (and dealing with the publicity! :)

  • by Nathan Ramella (629875) on Monday December 09 2002, @07:50PM (#4849389) Homepage
    Please take note that this announcement didn't come from OpenBSD.org. The guys doing it as just doing it as their own project (which is neat). One of the main reasons people enjoy OpenBSD is that it's code has been audited by Theo and his folks and prepared to be the most security oriented distro around.
    • by ISWalker (632807) on Monday December 09 2002, @11:09PM (#4851043)
      Finally someone who is correct. I'm one of the students working on this. It is our computer engineering project. The plan is to have it somewhat working by January. We decided to this because we needed an idea for project and we thought it would be fun and allow us to learn a lot in the process. When the project is complete, we plan to release the code we have and if OpenBSD wants to use it he can, however, that wasn't necessarily the original intent.

    • Re:'ehh (Score:2, Informative)

      by RedLeg (22564)
      You've apparently never asked Theo about this. I have several times, going back years ago, and his reply has always been either "nobody wants it", or "SMP machines are too expensive and nobody has them". And OBTW, he wasn't interested in loaner or donated hardware to do the work on.

      I guess somebody cares now....
    • Re:'ehh (Score:3, Informative)

      by larien (5608)
      It's not really all that surprising; there's a few potential pitfalls (read: race conditions) in SMP that you can get round in a uni-processor build. As OpenBSD is intended to be a secure OS, you make things simpler (and, by inference, more secure) by sticking to a single-CPU model.

      The problem is, I don't know how much of OpenBSD's kernel really relies on the assumption that it'll only ever run on one CPU and it may take some time before OpenBSD becomes as stable and secure as it needs to be.

      OpenBSD is designed for an "edge server" environment, where scalability isn't as important as security.

    • Yes, they are slow at implementing SMP because they don't care about SMP relative to other things.

      However, the crack about ipv6 is stupid. OpenBSD has had a working ipv6 stack for a long time (they were first OS to ship with an IPsec stack at all). Get your facts straight.

    • Re:Hooray! (Score:4, Informative)

      by Daniel_Staal (609844) <DStaal@usa.net> on Monday December 09 2002, @05:43PM (#4847914)
      They have ipv6. OpenBSD ships with ipv6 active and operating. They've been looking at/working on SMP for some time, but they (read: Theo) wants to make sure it meets the standards of the rest of the OS. SMP adds quite a few (theoretically at least) security problems to deal with, and they want to be sure those problems are fully addressed.
      • Re:Hooray! (Score:3, Interesting)

        by jpmorgan (517966)
        Part of the problem with security with respect to SMP isn't just the kernel. Many subtle race conditions that could result in security flaws are more likely to be exploitable in a truely parallel environment than they are in just a concurrent uniprocessing environment.

        In addition to just making sure the kernel has it right, you've got to make sure that it's not going to open up any holes in the userspace too.

    • Re:Hooray! (Score:4, Insightful)

      by bahwi (43111) <.incoming. .at. .josephguhlin.com.> on Monday December 09 2002, @06:04PM (#4848181) Homepage

      Troll.

      OpenBSD has had IPv6 since version 2.7 out in June 2000. [openbsd.org]

      And for the record, FreeBSD has had IPv6 since March, 2000, [freebsd.org] version 4.0

      And let's not forget who brought you OpenSSH [openbsd.org].

      SMP isn't the top priority. Giving up stability and security for the latest and greatest features are not what everyone wants. A friend of mine complained about FreeBSD not having good SMP support, I asked him if he had an SMP machine, he said "No." I hope that is enough to illustrate my point.

      Sorry to go off on this, but mod the parent down if you mod me down please. People always trounce on any of the BSD's while praising Linux here.

      Hear that? That's my karma in the toilet. Flush.

    • Re:Waterloo? (Score:2, Informative)

      by jpmorgan (517966)

      Sounds like you've got some issues, dude.

      Your comment is amusing since as a UW CS student, I don't have a Windows account. In fact, last I checked as an upper year student I'm not allowed to have Windows account, unless it's required by a specific course (statistics courses sometimes require windows accounts for matlab, for example).

      Introductory programming courses are taught on Macs and Windows boxes, but almost everybody I know participates (as time allows) in free software projects; hell, half of the people I know are Debian developers.

      So why don't you stick to things you know (i.e., nothing) and take some of this shut the fuck up.

    • Re:Waterloo? (Score:4, Informative)

      by thirty-seven (568076) on Monday December 09 2002, @06:20PM (#4848404)
      The University of Waterloo, eh? Well, knowing them...

      Which apparently you don't.

      the versions of OpenBSD with SMP support will require a Windows XP activation key...

      Or maybe they figured out a way to port OpenBSd to Windows. Or something. Waterloo?

      I assume you're referring to the stories from several months ago about a proposed deal where UW's Computer and Electrical Engineering department would, as part of a larger research sponsorship deal with MS, agree to make C# the language used in a first year class for CompEng students. There was a huge outcry against this by most CS and CompEng students and profs. Also, note that the School of Computer Science, in the Faculty of Mathematics, had nothing to do with this deal.

      It is my impression that there are many UW students who use or contribute to Open Source projects. Profs are more than willing to make an occasional joke in class at Microsoft's expense. And most CS students (I can't speak for CompEngers) don't touch any MS products for programming projects past first year, by far preferring to use the provided unix labs.

      Do I think the CompEng department's decision regarding C# bad? Very much so. But as I understand it, this decision was made by a few key people who stretched their authority, when really they should have consulted with more people. In fact, Engineering profs have called UW administration on this decision, leading to a decision that before the MS deal can be finalized, it must be approved by "the Electrical and Computer Engineering Department Program Committee, Faculty of Engineering Admissions Committee, Faculty of Engineering Academic Committee, Faculty of Engineering Undergraduate Studies Committee, Year 1 Implementation Committee, Senate Undergraduate Council, UW Registrar's Office and the senate as required by UW policy and practice." This, in my opinion, effectively has killed the deal. See this article [www.caut.ca] for more about this. [Note that the article implies that the proposed MS C# deal would have affected all first year programming classes. This is untrue: only first year CompEng classes would have been affected; CS students would have been fine.]

      The very reason that this decision was such as big deal at UW is that it goes so very much against the prevalent attitude there. And the very large amount of negative feedback they got from UW students and profs in the CompEng and CS departments should ensure that something like this doesn't happen again at UW.

    • Those who don't use Linux are doomed to reimplement it... again.

      I believe that should be: "Those who do not understand Unix are condemned to reinvent it, poorly." -- Henry Spencer

      Or maybe: "NT is a weak form of Unix like a donut is a weak form of a particle accelerator." -- MBCook
    • Re:Openbsd (Score:2, Insightful)

      by dabj.net (632281)
      The BSD that is always behind, and unsecure, they even admit their security hole PROUDLY on their homepage.
      You are correct in your statement that they proudly flaunt their securityhole. Note however the lack of plurality in that statement.
      Yes, one(1!) remote hole in the default install, in more than 7 years.
      If Microsoft could boast with this they would spend the equivalent of a small country's GNP on letting you damned well know about it.
      If Linux could boast with this then Microsoft wouldn't have that small country's GNP to spend, since everybody would be running Linux instead.

      If you by "always behind" mean that Doom 3 can't be run on OBSD then yes, you are correct on that too.

      OpenBSD was designed to be a secure server, even with default install. Adding SMP-support have never been a priority in part, I think, because of the inherent security issues that arise from such a implementation. I'm sure there are other reasons as well, none of them beeing that they never got around to implementing it.

      So are we agreed then, OpenBSD is always behind, and unsecure?

      I thought so. =)

    • by Tuzanor (125152) <hylaride@nOspAm.capybara.org> on Monday December 09 2002, @07:17PM (#4849053) Homepage
      Its OpenBSD that has "taken so long". FreeBSD has had SMP for ages now, and until very recently it better scaled than linux's. Keep in mind that NetBSD and FreeBSD forked in the early ninties and both had different priorities. FreeBSD became a stable high performance platform. It only ran on x86 (now alpha, soon to be Ultrasparc and Itanium). They eventually added SMP with other various features.

      NetBSD was more focused on portability. They were aimed at the embeded market (which Wasabi systems is in business in) where there isn't SMP. When Theo forked OpenBSD off of NetBSD they still didn't have it and it still wasn't a priority. Now there is more interest in it, especially now that SMP hardware is becoming so cheap.

    • Re:a bsd question (Score:4, Insightful)

      by cant_get_a_good_nick (172131) on Monday December 09 2002, @10:33PM (#4850719)
      There are some ego questions, Theo used to work on NetBSD. As smart as he is, and productive as he is, they found him abrasive and let him go. He hasn't changed much, and isn't likely to, and the world's a better place for having OpenBSD. From what I understand FreeBSD and NetBSD forked around the same time from the original BSD code, and 386/BSD. 386/BSD was kind of showing its rough edges, and people wnated to clean it up. FreeBSD went the x86 route, NetBSD always tried to be multiplatform.

      That said, there is a lot of code sharing. The USB core is exactly the same in both Net and Free, probably OpenBSD as well. systrace was originally slated for NetBSD, ended up in Open. 5.0 is getting a new /etc/rc startup, pioneered in NetBSD. A lot of the userland is the same, and there's some action on getting a standard ports system.

      In some respects, there's more sharing in BSD than in some of the Linux distros. Since all the owners of the BSDs are essentially non-commercial, there's no real incentive to make proprietary stuff. In some situations, the BSD license is easier to share stuff, but it really doesn't in this case - if they were all GPL they could share things.

      I understand what you're saying, that it diverts attention and resources. But you also have to realize they pick up thing as well. There's some cross pollination. I believe the SMP stuff is kind of taken from BSDi, if not the actual code then at least the general idea.

      The other thing is "one-size fits all" gives you a huge XXXXL product. If all the things went into just one or the other, it would be pretty bloated. The focus of FreeBSD (optimized for Intel) is in respects incompatible with NetBSD (ultra-portability). Ask anyone who's worked on gcc about the problems of optimizing portable code.
    • by Tony-A (29931)
      Pick ONE.
      Different approaches, different world views. It's hard to tell which is better (and why) *after* it's been done, much less *before* it's been done.
      I don't think the duplication of effort is all that wasteful. Image the state of Linux and FreeBSD security if OpenBSD did not exist.
    • I've yet to see a real-world business application with even a 25% speedup with the addition of a second processor. SMP is expensive and overrated for all but certain "embarassingly parallel" computational tasks.

      I worked for an "internet incubator" that had huge farms of 8 and 4 way Compaq servers running MS-SQL Server 7. One CPU would be pegged at near 100%, while the other processors on the machine would be near idle. With Oracle, the situation was some better, but again less than 25% speedup for 2nd processor, and less than 25% of 25% for 3rd, etc.

      Maybe YOU need to grow up, and actually test the benefits of SMP rather than coo and goo-goo over it like some shiny toy.