Slashdot Mirror


NetBSD 2.0 vs FreeBSD 5.3 Benchmarks

diegocgteleline.es writes "According to OSnews, Gregory McGarry benchmarked NetBSD 2.0 against FreeBSD 5.3 and found that NetBSD 2.0 surpasses FreeBSD 5.3 in most of benchmarks. The machine used for benchmarks is a 3 Ghz P4 so it doesn't reflect the improvements of FreeBSD 5.3 in the SMP arena, which is where their developers have put their efforts in the last years and where NetBSD is still using a "big-lock" model. Newsforge is also carrying a interview with some NetBSD developers about the technology behind NetBSD 2.0."

110 comments

  1. Benchmarks valid? by marcovje · · Score: 4, Interesting


    FreeBSD's focus is typically on overall throughput of massive server, with responsetime as a tradeoff, while this benchmark with all of its timings of single OS operations is more something realtimish?

    If NetBSD aspires to be a RT focussed distro/OS, they'd better have benchmarked it against some Linux with RT patches?

    1. Re:Benchmarks valid? by molnarcs · · Score: 4, Informative
      Also, it must be emphasised that these are microbenchmarks. Robert Watson explains nicely the situation:

      Since the performance optimization on FreeBSD for the last few years, with features like SMPng, libpthread, and UMA, has been focussed on macro performance not micro performance, it's not surprising the micro performance requires tuning. However, there is lots of on-going work on this front so I'd expect to see continued improvement in the immediate (5.4) life time. There are a number of optimizations in 6.x that are on the merge path for 5.x that will directly impact the results in these measurements -- in particular, what is clearly a bug in the way mutexes are released on UP kernels that adds almost a hundred cycles to every mutex release operation. This was identified in my micro-benchmarking shortly after the release of 5.3, and may play a substantial part in the posted results, especially for the very micro benchmarks that involve kernel memory allocation.

      It is also unfortunate, that the otherwise excellent benchmark, when mentioning the barrage of criticism leveled at freebsd (of which 90% is posted by random and anonymous trolls on both ./ and osnews I might add) he refers to the "article" of this guy. This was my reply - and his adequate asnwers seems to be putting me on his foe list (lol.)

      Anyway, I don't want' to downplay the importance of this benchmark (nor does rwatson, if you read the whole of his post) - in fact, I'd like to see more of these coming. And overall, it was a good reading :)

    2. Re:Benchmarks valid? by Anonymous Coward · · Score: 0
      The benchmark has absolutely nothing to do with Real Time Operating Systems. Benchmarking single OS operations is a way to get a feel for the performance, and a way to see where you are doing well/poorly.

      Real time on the other hand is about guaranteed response times.

    3. Re:Benchmarks valid? by marcovje · · Score: 2

      Exactly

      Nothing in the benchmarks is about performance of a certain role. It is all about the performance of certain functions, like (v)fork.

      The only reason to judge a whole system on these I can think of is because of guaranteed minimal response.

      Of course micro benchmarking is usefultoo, but it should then be correlated to real performance.

      It could e.g. be that FreeBSD does some extra preparational work in some functions that NetBSD doesn't that increase overall throughput.

    4. Re:Benchmarks valid? by Anonymous Coward · · Score: 0

      So, for example, FreeBSD will do much worse than NetBSD for short-lived processes, e.g. heavy loaded web server with dynamic content that launches CGI processes all the time.

    5. Re:Benchmarks valid? by marcovje · · Score: 1


      You don't know that. Maybe freebsd prepares some tables that makes syscalls go faster, or fs operations, or really committing memory.

      If you want to test that, you really have to test that role (web server), in controlable and duplicatable circumstances.

      And maybe then after, you can finally do some microbenchmarks to see what could be the bottle neck on FreeBSD.

      _after_, not _before_.

    6. Re:Benchmarks valid? by marcovje · · Score: 4, Interesting


      Correct. And this is how it went with 4.x either. 3.6 was significantly better than the first 4.xRC.

      It's not even something of FreeBSD in particular. In the project we are RC'ing for 2.0, and all kinds of detail benchmarks are popping up.

      However overall, for significant programs 2.0.x is generally faster than 1.0.x even when 2.0.x doesn't even use optimizations (the project is a compiler).

      The failure at microbenchmarks is just that the 1.0.x branch had 6 revisions in 3-4 years, some a full year tuning apart even.

    7. Re:Benchmarks valid? by Anonymous Coward · · Score: 0
      has been focussed on macro performance not micro performance
      I am sorry, what can you call performance improvement, if it's slower afterwards? What does, you say, any libpthread improvement help, if the underlying mechanisms are inferior? And, in fact, are there any improvements? Where are they?
  2. I use them by brilinux · · Score: 3, Interesting

    As an OS junky, I have used both of these BSDs, and am very impressed with them. I use FreeBSD on my P4 3GHz laptop, as Project Evil lets me use the WiFi card nicely, and ACPI kind of works. I use NetBSD on my Sparc Station 5 and my Athlon desktop, and I have found both to be wonderful for desktop use and as servers. I salute both of the groups of people who make these OSes, and wish that I had more time to contribute.

  3. One flaw with tests by ebrandsberg · · Score: 2, Insightful

    I would assume that FreeBSD has a "default install" as tested that supports at least 2-way SMP, given the focus that has been made in FreeBSD. This compared with NetBSD could make a huge difference, is NetBSD's default install also setup for SMP. It is a known fact that using an SMP compiled kernel on pretty much ANY OS will result in slower performance on a single processor, as the added overhead of locking data structrues will have to occur.

    1. Re:One flaw with tests by Anonymous Coward · · Score: 0, Insightful

      Read the benchmarks test pal, FreeBSD 5.3 doesn't ship with SMP enabled anymore. All this proves, as it's been mentioned elsewere, is that the NetBSD hackers do more with less resources, while FreeBSD's over engineered and over ambitious project fails to deliver, while they keep letting Poul-Henning push his personal agenda.

      Remember that Matt Dillon, John Dyson and many others warned about this years ago, but the core team only listens to themselves. Too sad, FreeBSD used to be the culprit of performance and correct code once, not anymore. Viva NetBSD!

    2. Re:One flaw with tests by TheGratefulNet · · Score: 3, Interesting

      no.

      in freebsd (I know this for a fact, I've gotton burned by it before) - if you compile a kernel for SMP, its NOT like linux in that it will fallback to UNIprocessing. it does NOT fallback! it hangs!

      when moving an SMP custom compiled kernel to a non-smp box, you MUST rebuild the kernel or boot from an alternate non-smp kernel.

      that sucks - but that's how it is. at least it is when I move a p6-built kernel from my dual xeon box to my single k8 box. both DO accept p6 as the ARCH type but the SMP code just causes a lockup upon boot.

      (been running freebsd at home and at work for about 3 yrs now; and linux for about 10)

      fyi

      --

      --
      "It is now safe to switch off your computer."
    3. Re:One flaw with tests by ebrandsberg · · Score: 1

      I know on the older Linux (not sure if it applies today), if you had an SMP kernel, and moved it to a uniprocessor, you had to have an APIC compatible with the SMP configurations for it to work. I accept that I could very well be wrong (as other comments have suggested), although optimization and coding for SMP can and probably will cause performance decreases for uniprocessor machines now matter how you slice it. An algorithem that works very well in a uniprocessor or "monolithic lock" situation could turn out to be crap for an optimized SMP configuration. I'm just talking crap however, as it's been a while since I did much performance work with FreeBSD.

    4. Re:One flaw with tests by TheGratefulNet · · Score: 1, Interesting
      on all linux kernels I have built (start at 1.2), enabling smp was ALWAYS safe. I can say that to linux's favor.

      on freebsd 4.x (at least) I can say this isn't true. you enable these 2 for smp:
      # To make an SMP kernel, the next two are needed
      options SMP # Symmetric MultiProcessor Kernel
      options APIC_IO # Symmetric (APIC) I/O
      but it might be the apic option that causes the lockup. doesn't matter since both are required and both=on means an single cpu system will crash on bootup with this kernel.

      --

      --
      "It is now safe to switch off your computer."
    5. Re:One flaw with tests by MavEtJu · · Score: 1
      --
      bash$ :(){ :|:&};:
    6. Re:One flaw with tests by setantae · · Score: 1

      Read the benchmarks test pal, FreeBSD 5.3 doesn't ship with SMP enabled anymore

      Yes it does.

    7. Re:One flaw with tests by setantae · · Score: 1

      This was fixed a long time ago (by dillon before he left - that long ago).

    8. Re:One flaw with tests by Anonymous Coward · · Score: -1

      No, it does not.

      robert@tulou% cd /sys/i386/conf/
      robert@tulou% grep SMP GENERIC
      robert@tulou% uname -r
      5.3-STABLE

    9. Re:One flaw with tests by setantae · · Score: 2, Informative

      Yes, it does. There is no SMP option anymore, because it is always on.

    10. Re:One flaw with tests by Anonymous Coward · · Score: -1

      How is this informative? Mod this guy down, a generic kernel on RELENG_5 isn't SMP enabled!

      I'll show it to you again...

      robert@tulou% cd /sys/i386/conf/
      robert@tulou% grep SMP GENERIC
      robert@tulou% grep SMP TULOU
      options SMP
    11. Re:One flaw with tests by molnarcs · · Score: 3, Informative
      SMP kernel does not cause lockups on UNI machines. You may be confusing ACPI lockups that troubled pre 5.3 releases (and in some cases 5.3 as well)? FreeBSD from 5.2 to 5.3 came with "options SMP" in GENERIC enabled. You say:

      but that's how it is. at least it is when I move a p6-built kernel from my dual xeon box to my single k8 box. both DO accept p6 as the ARCH type but the SMP code just causes a lockup upon boot.

      Are you sure it's the SMP code itself? As I said, 5.2/5.2.1 shipped with an SMP kernel by default, and I didn't see hang problems because of SMP (ACPI was a different issue). Also, someone mentioned APIC - which might be the case on some boards, but right now I run an APIC enabled non-smp kernel on my UP box (athlon xp 2400+, crappy asrock mb). I think it is more likely that code compiled on your dual xeon box won't run smoothly on your athlon64, smp or not, even though you might have specified i686 in your make.conf. (also, did your specify p6 with CPUTYPE?=i686)?

    12. Re:One flaw with tests by molnarcs · · Score: 4, Informative
      To clarify a few things: FreeBSD 5.2/5.2.1 shipped with an SMP kernel by default, and options SMP and device APIC was enabled in GENERIC.

      Options are still there, see /usr/src/sys/conf/NOTES:

      # SMP OPTIONS:
      #
      # SMP enables building of a Symmetric MultiProcessor Kernel.

      # Mandatory:
      options SMP # Symmetric MultiProcessor Kernel
      And in /usr/src/sys/i386/conf/NOTES:
      # SMP OPTIONS:
      #
      # The apic device enables the use of the I/O APIC for interrupt delivery.
      # The apic device can be used in both UP and SMP kernels, but is required
      # for SMP kernels. Thus, the apic device is not strictly an SMP option,
      # but it is a prerequisite for SMP.
      #
      -------------snip--------------
      # Mandatory:
      device apic # I/O apic
      What happened is this (from their errata):
      (3 Nov 2004) For FreeBSD/i386 and FreeBSD/amd64, SMP support in the GENERIC kernel has been disabled by default because the SMP kernel can degrade the performance on UP machines. A kernel configuration file SMP, which can be used to enable SMP support, has been added. More details on building the custom kernel can be found at http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/h andbook/kernelconfig.html.
    13. Re:One flaw with tests by ebrandsberg · · Score: 1

      I think you may be right. The APIC_IO code in Linux I think would automatically downgrade even if selected, but in BSD it didn't. If you happen to have had a dual processor motherboard with a single processor loaded, BSD would work fine, or one with a chipset that could support SMP, but didn't have the socket for it. It's been a while since I had to mess with servers to this level, having moved on to networking.

    14. Re:One flaw with tests by Anonymous Coward · · Score: -1, Flamebait

      Dillon has pwn3d FreeBSD 5 with his DragonFlyBSD project. But the powers that be in FreeBSD aren't going to admit that a small team has done in 1 year what a large team of programmers couldn't do in 3. This is mainly the fault of people with tunnel vision, namely Poul-Henning Kamp and John Baldwin.

    15. Re:One flaw with tests by Anonymous Coward · · Score: -1, Flamebait

      Go away, smorgreff cocksucker.

    16. Re:One flaw with tests by Brandybuck · · Score: 1

      Nonsense. I don't know where you got this information, but it's flat out wrong. It may have been true in the past, but it is not true now, nor has it been true within the at least the last year. At least on the 5.x branch.

      --
      Don't blame me, I didn't vote for either of them!
    17. Re:One flaw with tests by phoenix_rizzen · · Score: 2, Informative

      Nope, your info is very out-of-date.

      A couple weeks after the release of FreeBSD 5.2.1, the GENERIC kernel was changed to compile an SMP kernel, and SMP support was controlled via a sysctl.

      Just before the release of FreeBSD 5.3, GENERIC was changed to create a UP kernel, as that is the most common install. However, you can compile an SMP kernel and run it just fine on a UP system. You will lose a bit of system performance, but it will run.

    18. Re:One flaw with tests by TheGratefulNet · · Score: 1

      if it wasn't clear (maybe it wasn't) I was referring to the 4.x branch. which is pretty much (still) all I run. as of 4.11-RCmumble, it would still hang if kernel was built for SMP and booted on a (say) single k7 box.

      might have been the APIC that did it, but the 2 options you need to set to enable SMP in 4.x DO cause a bootup hang on single cpu boxes.

      if 5.x fixed, that, that's cool. its how it SHOULD be. but I won't go to 5.3 until I need to - and 4.x works fine for my needs. I just gotta be careful about moving kernels around, that's all.

      --

      --
      "It is now safe to switch off your computer."
    19. Re:One flaw with tests by realdpk · · Score: 1

      We found FreeBSD doing that as well, except on servers with dual CPU motherboards. So, we install FreeBSD, run "mptable" to determine if it is a MP capable board, and build the kernel accordingly. Easy as premade microwavable pie.

    20. Re:One flaw with tests by Anonymous Coward · · Score: 0

      Can't fault you there. To be honest, are there any talented developers left with FreeBSD? All the good developers have switched over to DragonFly or NetBSD. When Mike Smith left the FreeBSD project he offered a warning which went unheeded. Mr. Smith has been fully vindicated as events unfolded, and all of his predictions about FreeBSD problems have come true.

    21. Re:One flaw with tests by Anonymous Coward · · Score: 0

      This is no longer true. As of FreeBSD 5.x,
      SMP kernels run properly on UP systems, but
      they run more slowly because they include the
      overhead of inter-CPU locking.

    22. Re:One flaw with tests by Anonymous Coward · · Score: 0

      That's not right, it was fixed by John Baldwin thanks to his rewrite of the APIC driver on FreeBSD.

    23. Re:One flaw with tests by setagllib · · Score: 1

      I had a familiar problem (and not just me) of HTT not being SMP-like enough for 4.x to boot on it (trap on boot), this on a Dell Inspiron 5150 with a P4 3.06 w/ HTT. I ended up turning HTT off and keeping it that way (its advantages are wasted under the UNIXy OSs which have sufficiently responsive schedulers, but a lot more overhead and potentially buggy behavior appears when you turn use it).

      Others did not have this problem (as the mailing lists spoke), so it's probably just a bit of confusion with APICs.

      --
      Sam ty sig.
    24. Re:One flaw with tests by Michael+Hunt · · Score: 1

      I think you may be right. The APIC_IO code in Linux I think would automatically downgrade even if selected, but in BSD it didn't. If you happen to have had a dual processor motherboard with a single processor loaded, BSD would work fine, or one with a chipset that could support SMP, but didn't have the socket for it. It's been a while since I had to mess with servers to this level, having moved on to networking.

      Most modern K7/P4 motherboards have an integrated local APIC in any event.

      I also seem to remember an issue where using an SMP kernel on a MP motherboard which was only loaded with one CPU did cause issues back in the linux 2.0/early 2.2 days (circa mid 1999). I never did figure out what was happening there.

      From the syslog on my very uniprocessor athlon 2000+ machine (this machine has booted FreeBSD 4.6 with an SMP kernel in the past):

      Total of 1 processors activated (3301.37 BogoMIPS).
      ...changing IO-APIC physical APIC ID to 2 ... ok.
      ..TIMER: vector=0x31 pin1=2 pin2=0
      testing the IO APIC.......................
      done.
    25. Re:One flaw with tests by phoenix_rizzen · · Score: 1

      You didn't mention which version of FreeBSD, just that you tried it recently (which, to me, implies 5.x, as that's the most recent version).

      Yes, in FreeBSD 4.x, you must run a non-SMP kernel on uni-processor systems.

      Yes, this has changed since the release of FreeBSD 5.3.

  4. Microbenchmarks... by kernelistic · · Score: 4, Informative

    It is important to note that all of the tests that were performed where done on a uni-processor workstation.

    The blanket statement that "NetBSD 2.0 has better threading and process management and network latency than FreeBSD 5.3" does not hold water when the test suite is run on 2 and 4-way SMP systems. FreeBSD 5.x is an amazing engineering effort in which various parts of the kernel have been locked down and decent thread concurancy can occur on multi-proc machines. Part of the latency that you see in these benchmarks are due to the mtx_lock() and mtx_unlock() overhead that is incurred.

    It is also important to note that P4-systems with HyperThreading (As the one used in these tests) have been the "bastard child" on FreeBSD. For the longest of times, compiling anything with CPUTYPE=p4 would produce broken code (In all fairness, this was mostly due to a set of bugs in GCC 3.x). Significant work was put into 5.3 to ensure that the Pentium 4 lived up to the Tier-1 platform robustness standard. In short, it would be fun to see these benchmarks be run on i386/pentium3, i386/Athlon-MP, amd64/opteron and Alpha as well!

    1. Re:Microbenchmarks... by Anonymous Coward · · Score: 0

      Let's be realistic, nobody in his right mind would attempt using FreeBSD on a 8-way box, so why bother at all? If you need that many processors I'd bet you are using IBM's or Sun's iron, so use AIX and Solaris.

      OTOH, do you know what the advantage of FGL over BKL on 2-way systems is? Zero, absolutely nothing. So my bet is that NetBSD kicks FreeBSD's ass on 2-way systems as well.

    2. Re:Microbenchmarks... by kernelistic · · Score: 3, Informative

      OTOH, do you know what the advantage of FGL over BKL on 2-way systems is? Zero, absolutely nothing. So my bet is that NetBSD kicks FreeBSD's ass on 2-way systems as well.

      Nothing could be further from the truth. Here's why:

      Big Kernel Lock (BKL) systems can only have one processor doing something in the kernel at one time. There's only so much work that can be performed in user-land before re-entry into the kernel is necessary. At this point the application processor (AP) is spinning, waiting around for the mother-of-locks ("Giant" on FreeBSD) to be released by another AP. The more processors are present in the system, the bigger the contention on the single kernel lock becomes.

      Fine Grained Locking (FGL) allows a system with multiple CPUs to enter the kernel and perform work that is at hand or read the process runqueue to perform work in user-land. Sure you do run into instances where two (or possibly even more) CPUs need to perform an operation within a given critical section, but at this point the granularity of the locking allows for atomic operations per CPU to be performed before the critical section's mutex is released. This effectively prevents race conditions that would be encountered, if no locking was present. It also allows as many CPUs as your system can hold to perform the various tasks (Fetch, store, etc) at near full-speed (The finer the locking, the less waiting around for mutexes/locks there is).

    3. Re:Microbenchmarks... by Anonymous Coward · · Score: 0

      Read again what I said: 2-way systems. FreeBSD 4.10 is way faster than FreeBSD 5.3 on my dual Pentium3 box. Their mutexed model works fine on 8+ cpus systems, exactly the kind of hardware you'd be running Solaris or AIX on. The only people who know the SMP code inside out are John Baldwin and Matt Dillon. Dillon already explained why that code was DOA and why it will never be 100% correct.

    4. Re:Microbenchmarks... by kernelistic · · Score: 4, Insightful

      Under load, I find that my RELENG_5 machines have higher network throughput than my RELENG_4 boxes. I am using mainstream server hardware with a nicely fine-grained set of network (nge) and SCSI RAID (amr) drivers. Would you care to share what kind of hardware you are using?

      Matt and John aren't the only people that have worked on the locking of the kernel and drivers. Credit also goes out to Poul-Henning Kamp, Alan Cox, Jeff Robertson, Robert Watson and a lot of others that have reviewed, commented and submitted patches to all of sys/dev/ and sys/kern/.

      As a sidenote, Dillon has also said a number of things that have been greatly unpopular, some of which have shown his unwillingness to think outside the box. I think the whole episode where core removed his bit, shows just how hot-headed he could be at times. That said, I have great respect for him as a programmer -- His stuff works.

    5. Re:Microbenchmarks... by beegle · · Score: 1
      First paragraph: FreeBSD is waaaay better with SMP than NetBSD.

      Second paragraph: FreeBSD doesn't work well on hyperthreaded P4s, so using one as a benchmark is unfair.

      Hyperthreading is, more or less, SMP (Intel has a fluffy introduction to it here). Sure, there are differences, but you're making exceptions for your exceptions. There's a point where fanboy-ness becomes obvious.

      --
      --
    6. Re:Microbenchmarks... by kernelistic · · Score: 2, Informative

      I am not making an exception to the exception. In fact, I am not even talking about HyperThreading. What I did say is that using GCC 3.x with P4 as a target produced broken code until very recently and as such, the architecture has not gotten the amount of scrutiny as it could have.

      The default install of FreeBSD doesn't do HTT or SMP without a kernel recompile. My beef with this benchmark is as follows: How about you test the benchmark on other platforms/cpus? In order to truly assertain that NetBSD 2.0 is faster than FreeBSD 5.3 latency-wise, more than just one target should be tested. Without doing so, all that has been "proven" is that NetBSD performed better on the given hardware and this tidbit is useless information as the board they used is designed for desktops in the first place. Care to indicate which chipset the Asus P4-800SE uses anyway (ASUS' site appears to be down)?

      Moreover, Hyperthreading is really "less SMP than more". Sure you have an APIC with two target IDs, but you still have one CPU core, which presents two virtual cores to the operating system. To the uninitiated, this means that the two virtual CPUs share the L1 cache, which is suboptimal on lower end P4 with small caches (The number of cache flushes because of misses is scary).

      If arguing over the technical merits (Or lack thereof) of a benchmark makes me a fanboy then congrats, you have me pinned down pretty good! :-)

    7. Re:Microbenchmarks... by Brandybuck · · Score: 4, Interesting

      Hyperthreading is *NOT* SMP! It is a single CPU that can only do the work of a single CPU. It pretends to be two CPUs but it is not. If you were talking about multiple core CPUs, then you would be right, but p4 HTT processors are single core.

      Treating HTT at SMP is, to quote from the FreeBSD Handbook, "naive". Intel agrees, though they don't use that word. Here's a quote from the article you mentionL "but further performance gains can be realized by specifically tuning software for Hyper-Threading Technology." In other words, you tune software for HTT *differently* than you do for SMP.

      --
      Don't blame me, I didn't vote for either of them!
    8. Re:Microbenchmarks... by Anonymous Coward · · Score: -1, Flamebait

      The proprietary GNU-Linux system has a specially tuned scheduler that takes HTT into account. There's no reason why ULE couldn't be adapted as well. That is, if Scott Long hadn't ruined it.

      Glass, t0tal pwnag3

    9. Re:Microbenchmarks... by Anonymous Coward · · Score: -1, Flamebait
      Yadda yadda blah blah. You are spinning. You are making excuses. You are in denial.

      NetBSD kicked FreeBSD's ass in the benchmark suite. Deal with it. Quit with the signifying.

    10. Re:Microbenchmarks... by idiotnot · · Score: 4, Interesting

      Except that FGL isn't supported still on a good amount of hardware. Things as ubiquitous as a at keyboard, and last time I checked, the realtek 8139 network device give you the nice [GIANT LOCKED] message in dmesg.

      If you have blessed hardware, you get better SMP support.

      I will say that FreeBSD 5.x is better than 4.x in some areas (background fsck, smp on supported hardware, better threading support), however, as a total system, it's really not finished, and shouldn't have been released in its current state. Maybe Matt Dillon was right -- I don't know. But what they've put out isn't up-to-par quality-wise, when you compare it to 4.x.

      NetBSD, on the other hand, really has come a long way with the 2.0 release. I would say that it's a better choice on i386 now than either FreeBSD 4 (which is deprecated, although there will be a 4.11 release), or FreeBSD 5. That they've gotten to that point is really a testiment to the amazing design work they do. It's a very good system that doesn't get enough attention.

    11. Re:Microbenchmarks... by Anonymous Coward · · Score: 0

      Actually, what you're saying isn't quite right: some subsystems still require Giant, but because so much of the rest of the kernel runs without Giant, you still get the parallelism win. I.e., the keyboard driver and the mouse driver require Giant, so only one can run on the system at a time. However, the network stack doesn't, so it can run many instances of itself, and even run at the same time as the keyboard or mouse driver.

      This is the case for Linux also, btw -- there's still code that requires the Giant lock there, but since most of the kernel doesn't need the Giant lock, it can run in parallel on multiple CPUs. The Giant lock degrades as the system is developed into a "Miscellaneous cruft" lock, covering the last bits of the system that are hard (or not worth) making individually locked.

    12. Re:Microbenchmarks... by Anonymous Coward · · Score: 0
      Yadda yadda blah blah. You are spinning. You are making excuses. You are in denial.

      NetBSD kicked FreeBSD's ass in the benchmark suite. Deal with it. Quit with the signifying.

    13. Re:Microbenchmarks... by sp0rk173 · · Score: 1

      His "stuff" (now reffering to DragonFly) also follows a model that is significantly different from any current UNIX system out there that I can think of - especially with respect to it's SMP system...which is why I question your statement about him not being able to think "outside the box"

  5. *BSD is dying by Anonymous Coward · · Score: -1, Troll
    It is now official. Netcraft confirms: *BSD is dying

    One more crippling bombshell hit the already beleaguered *BSD community when IDC confirmed that *BSD market share has dropped yet again, now down to less than a fraction of 1 percent of all servers. Coming on the heels of a recent Netcraft survey which plainly states that *BSD has lost more market share, this news serves to reinforce what we've known all along. *BSD is collapsing in complete disarray, as fittingly exemplified by failing dead last in the recent Sys Admin comprehensive networking test.

    You don't need to be the Amazing Kreskin to predict *BSD's future. The hand writing is on the wall: *BSD faces a bleak future. In fact there won't be any future at all for *BSD because *BSD is dying. Things are looking very bad for *BSD. As many of us are already aware, *BSD continues to lose market share. Red ink flows like a river of blood.

    FreeBSD is the most endangered of them all, having lost 93% of its core developers. The sudden and unpleasant departures of long time FreeBSD developers Jordan Hubbard and Mike Smith only serve to underscore the point more clearly. There can no longer be any doubt: FreeBSD is dying.

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

    OpenBSD leader Theo states that there are 7000 users of OpenBSD. How many users of NetBSD are there? Let's see. The number of OpenBSD versus NetBSD posts on Usenet is roughly in ratio of 5 to 1. Therefore there are about 7000/5 = 1400 NetBSD users. BSD/OS posts on Usenet are about half of the volume of NetBSD posts. Therefore there are about 700 users of BSD/OS. A recent article put FreeBSD at about 80 percent of the *BSD market. Therefore there are (7000+1400+700)*4 = 36400 FreeBSD users. This is consistent with the number of FreeBSD Usenet posts.

    Due to the troubles of Walnut Creek, abysmal sales and so on, FreeBSD went out of business and was taken over by BSDI who sell another troubled OS. Now BSDI is also dead, its corpse turned over to yet another charnel house.

    All major surveys show that *BSD has steadily declined in market share. *BSD is very sick and its long term survival prospects are very dim. If *BSD is to survive at all it will be among OS dilettante dabblers. *BSD continues to decay. Nothing short of a miracle could save it at this point in time. For all practical purposes, *BSD is dead.

    Fact: *BSD is dying

  6. my reply in the mailinglist by MPHellwig · · Score: 3, Informative

    In the freebsd mailing list there was a troll using this test to come down on a couple of highly skilled developers.
    Being lazy by nature I copy/paste my respone in the mailing list for the /. folks to enjoy:

    Benchmark are made to be put into perspective, although everybody has a right to say what (s)he wants to say, this doesn't mean that you have to say it.
    It seems to me that FreeBSD is focusing it performance onto MP 64bit processors. As we can see in the benchmark it has in comparison to other projects a negative impact on UP system.

    But just put it in the perspective of processor developments, AMD (followed by Intel) is heading towards a multi-core 64 bit systems, what probably becomes mainstream at the end of next year.
    With this technology the FreeBSD model could have a winner on there hands.

    Doing the same job but not having the same philosophy on it, is always inefficient, but in the real world it leads to the Darwin effect.
    What means that the best solution gets there chance of survival against the test of time.
    Luckily these are all BSD's, good solution will spread, just take a look at PF.
    OpenBSD has a good user base but not compatible to the sum of user base of the other BSD's. Still PF has spread there wings beyond the user base of OpenBSD.

    FreeBSD is just a name for an OS, if any other OS can give me more "bang for the buck" and provides a full solution, I will use it.
    Be it DragonFly/Free/Open/Net, MacOsX, GNU+Linux, Windows or any of the other hundreds of OS'es out there.
    I like the BSD license so I will tend to stick to "gratis" BSD OS'es.

    All of the disagreements in development is a healthy process to make sure the sort "BSD" an not the specie *BSD will survive.
    Sure I have my disappointments about some decision, but hey so is live, this ain't a fan club for next biggest boy band (he he BSD-Boyz), where using an OS to provide solution for our technologic problems, you favor your solution but don't blind yourself.

    And when you don't blind yourself you re-evaluate your situation and move forward with the best solution for your problem.
    Sure it is a pain to migrate my boxes to another OS (well that is the fun part) and do some massive rewriting of my documentation, but thats my job and I tend to like it. Just standing still and not progress has its attractiveness when you had a very rough ride, but it gets dull very soon and then you find yourself back on the dirty tracks.

    But these are my opinion only, however I like to share them ;-)

    1. Re:my reply in the mailinglist by Anonymous Coward · · Score: -1, Flamebait

      I'll concede you that phk is an above average hacker, but Smorgrav? He's a completely useless ashole.

    2. Re:my reply in the mailinglist by Anonymous Coward · · Score: 0
      FreeBSD sucks. FreeBSD is dying.

      FreeBSD is dying because it sucks.

      Hope this helps.

  7. Developer Exposes What Killed FreeBSD by Anonymous Coward · · Score: -1, Troll
    The End of FreeBSD

    [ed. note: in the following text, former FreeBSD developer Mike Smith gives his reasons for abandoning FreeBSD]

    When I stood for election to the FreeBSD core team nearly two years ago, many of you will recall that it was after a long series of debates during which I maintained that too much organisation, too many rules and too much formality would be a bad thing for the project.

    Today, as I read the latest discussions on the future of the FreeBSD project, I see the same problem; a few new faces and many of the old going over the same tired arguments and suggesting variations on the same worthless schemes. Frankly I'm sick of it.

    FreeBSD used to be fun. It used to be about doing things the right way. It used to be something that you could sink your teeth into when the mundane chores of programming for a living got you down. It was something cool and exciting; a way to spend your spare time on an endeavour you loved that was at the same time wholesome and worthwhile.

    It's not anymore. It's about bylaws and committees and reports and milestones, telling others what to do and doing what you're told. It's about who can rant the longest or shout the loudest or mislead the most people into a bloc in order to legitimise doing what they think is best. Individuals notwithstanding, the project as a whole has lost track of where it's going, and has instead become obsessed with process and mechanics.

    So I'm leaving core. I don't want to feel like I should be "doing something" about a project that has lost interest in having something done for it. I don't have the energy to fight what has clearly become a losing battle; I have a life to live and a job to keep, and I won't achieve any of the goals I personally consider worthwhile if I remain obligated to care for the project.

    Discussion

    I'm sure that I've offended some people already; I'm sure that by the time I'm done here, I'll have offended more. If you feel a need to play to the crowd in your replies rather than make a sincere effort to address the problems I'm discussing here, please do us the courtesy of playing your politics openly.

    From a technical perspective, the project faces a set of challenges that significantly outstrips our ability to deliver. Some of the resources that we need to address these challenges are tied up in the fruitless metadiscussions that have raged since we made the mistake of electing officers. Others have left in disgust, or been driven out by the culture of abuse and distraction that has grown up since then. More may well remain available to recruitment, but while the project is busy infighting our chances for successful outreach are sorely diminished.

    There's no simple solution to this. For the project to move forward, one or the other of the warring philosophies must win out; either the project returns to its laid-back roots and gets on with the work, or it transforms into a super-organised engineering project and executes a brilliant plan to deliver what, ultimately, we all know we want.

    Whatever path is chosen, whatever balance is struck, the choosing and the striking are the important parts. The current indecision and endless conflict are incompatible with any sort of progress.

    Trying to dissect the above is far beyond the scope of any parting shot, no matter how distended. All I can really ask of you all is to let go of the minutiae for a moment and take a look at the big picture. What is the ultimate goal here? How can we get there with as little overhead as possible? How would you like to be treated by your fellow travellers?

    Shouts

    To the Slashdot "BSD is dying" crowd - big deal. Death is part of the cycle; take a look at your soft, pallid bodies and consider that right this very moment, parts of you are dying. See? It's not so bad.

    To the bulk of the FreeBSD committerbase and the developer community at large - keep your eyes on the real goals. It

  8. Requiem for the FUD by Anonymous Coward · · Score: -1, Troll
    // Please *don't* mod this up!
    // The +1 readers have already seen it - and appreciated it. :)

    ... facts are facts. ;)

    FreeBSD:
    FreeBSD, Stealth-Growth Open Source Project (Jun 2004)
    "FreeBSD has dramatically increased its market penetration over the last year."
    Nearly 2.5 Million Active Sites running FreeBSD (Jun 2004)
    "[FreeBSD] has secured a strong foothold with the hosting community and continues to grow, gaining over a million hostnames and half a million active sites since July 2003."
    What's New in the FreeBSD Network Stack (Sep 2004)
    "FreeBSD can now route 1Mpps on a 2.8GHz Xeon whilst Linux can't do much more than 100kpps."

    NetBSD:
    NetBSD sets Internet2 Land Speed World Record (May 2004)
    NetBSD again sets Internet2 Land Speed World Record (30 Sep 2004)

    OpenBSD:
    OpenBSD Widens Its Scope (Nov 2004)
    Review: OpenBSD 3.6 shows steady improvement (Nov 2004)

    *BSD in general:
    Deep study: The world's safest computing environment (Nov 2004)
    "The world's safest and most secure 24/7 online computing environment - operating system plus applications - is proving to be the Open Source platform of BSD (Berkeley Software Distribution) and the Mac OS X based on Darwin."
    ..and last but not least, we have the cutest mascot as well - undisputedly. ;)

    --
    Being able to read *other people's* source code is a nice thing, not a 'fundamental freedom'.

    1. Re:Requiem for the FUD by Anonymous Coward · · Score: -1, Offtopic

      Fuck off, Smorgreff

  9. Sorting it all out by Anonymous Coward · · Score: -1, Troll
    Whatever the differences a few of us might possess, we certainly can strive to find some common ground. No doubt all of us can easily acknowledge the plain truth that in the balance *BSD would have to be considered a failure. So why did *BSD fail? What is at the root of *BSD's colossal miscue?

    Once you get past the fact that *BSD is fragmented between a myriad of incompatible kernels, there is the historical record of failure and of failed operating systems. *BSD experienced moderate success about 15 years ago in academic circles. Since then it has been in steady decline. We all know *BSD keeps losing market share but why? Is it the problematic personalities of many of the key players? Or is it larger than their troubled personae?

    The record is clear on one thing: no operating system has ever come back from the grave. Efforts to resuscitate *BSD are one step away from spiritualists wishing to communicate with the dead. As the situation grows more desperate for the adherents of this doomed OS, the sorrow takes hold. An unremitting gloom hangs like a death shroud over a once hopeful *BSD community. The hope is gone; a mournful nostalgia has settled in. Now is the end time for *BSD.

  10. The Dead Systems Society by Anonymous Coward · · Score: -1, Troll

    Elegy For *BSD


    I am a *BSD user
    and I try hard to be brave
    That is a tall order
    *BSD's foot is in the grave.

    I tap at my toy keyboard
    and whistle a happy tune
    but keeping happy's so hard,
    *BSD died so soon.

    Each day I wake and softly sob
    Nightfall finds me crying
    Not only am I a zit faced slob
    but *BSD is dying.

  11. Why NetBSD is better by Anonymous Coward · · Score: 0, Interesting

    I've been an avid follower of the developments in FreeBSD for around 5 years now, so my overview of the entire history of "glue that binds" FreeBSD together isn't complete. That said, I've come to be a bit disappointed at how events in the last 18 months or so seem to be pushing the project in a direction that has made things more difficult, instead of more successful, that has shown distain for experience and quality and made FreeBSD a platform for large ego's to push their personal projects down everyone's throat.

    The statistics sample from 2001 over a year was a cheap attempt to minimize Matt's contribution to the project. The reason why he has been mostly silent is probably one of the most prominent signs of his superior maturity. The fact that the official defense (mostly fronted by Greg, atm) he wasn't such a substantial committer is crap, for the most part. If one wanted to go by the stats, Jeff Robertson (sorry if I munged the spelling) would be one of the key committers, and his UMA system isn't even entirely ripe yet, it's just been committed within the sample timeframe. That suddenly phk is at the top of the list, is simple a result of his newest attempt to add another large chunk of bit rot to the project that he can later claim not to have time to maintain "unless someone is willing to pay for my time" (like the atm bits, the half-finished devd monster, et.al.) One can hardly get him to look at his malloc bits, that put his name in lights at some point in the long past.

    Matt didn't contribute because he was convinced that that the smp development direction that was chosen (my impression at least from the archives and my fading memory) was overly complex, too complex for the number and talent level of the contributers involved, and that it would delay a release from the -current branch significantly. So he was right. I'll almost bet that that was a constant sore for John, who still hasn't gotten his long-promised, but little delivered re-entrant work done, but he always had time enough to object to any other commits that might help along the way. Strangely Julian and Matt could work together. One might attribute certain commits to both Matt and Julian (if that would matter anyway, since -core is interested in proving the opposite statistically).

    If the issue here had anything to do with IPFW, then you all better get out your C-coder hats and take a little more time to fix that rotting pile of muck that has been the standard broken packet filter interface for FreeBSD long past its possible usefulness. A packet filter with no central maintainer which is subject to once yearly random feature bloat through some wild university project from Luigi. The brokenness that Luigi introduced (and the repository bloat through backing out and recommitting, ad absurdum) was probably no less a threat to security than anything Matt did. If the security officer was to be blatantly honest with himself, ipfw would be marked broken for either a full audit or full removal (just port obsd's pf or something that someone actually actively _cares_ about).

    You've alienated Jordan, Mike, Bill Paul (for all I can see), Greenman, you constantly rag on Terry, even though he's seen and done more with FreeBSD than most of you, O'Brien is on the verge of quitting (since he, like I, am not convinced that GEOM is anything more than an ego trip that will never be completely maintained or usefully documented). There are certainly others, too, that have attempted to make technically correct contributions, but didn't fit into the sort of paranoid "glee club" that core would like to have around them. You guys lack the talent to steer the positive from Matt into the project and let the crap fall by the wayside. I'm not saying Matt's rants are the most intelligent thing he's done, but he's sat by the wayside and watch the superstars beat up the code to a point where it's less stable, slower, and more bloated than it ever was. I, for one, can understand his frustration (as I can with Mike's, Jordan's, and a few o

    1. Re:Why NetBSD is better by Anonymous Coward · · Score: 0

      Boy, you have a lot to say for an anonymous
      coward. Unfortunately little of it is correct.

    2. Re:Why NetBSD is better by Anonymous Coward · · Score: 0

      What a load of crap. Half the developers you list here as "disgruntled" or having quit still work actively on FreeBSD regularly, attend meetings with developers, or contribute code. The other half have moved on to other things, but not because they dislike FreeBSD.

    3. Re:Why NetBSD is better by Anonymous Coward · · Score: 0

      FreeBSD has fallen behind all other open source operating systems precisely because of the reasons which you have outlined. The FreeBSD source code has become a mess of spaghetti thanks to mismanagement at all levels. The only way out for FreeBSD is to start a complete rewrite of the kernel. As it stands, we are getting patches on top of patches. And as many patches are backed out of cvs as are committed. Truly a nightmare with no cure in sight.

    4. Re:Why NetBSD is better by Anonymous Coward · · Score: 0
      "Spirit," said Scrooge, with an interest he had never felt before, "tell me if FreeBSD will live."

      "I see a vacant seat," replied the Ghost, "in the poor chimney-corner, and a crutch without an owner, carefully preserved. If these shadows remain unaltered by the Future, FreeBSD will die."

      "No, no," said Scrooge. "Oh, no, kind Spirit! say it will be spared."

      "If these shadows remain unaltered by the Future, none other of my race," returned the Ghost, "will find him here. What then? If it be like to die, it had better do it, and decrease the surplus operating system population."

      Scrooge hung his head to hear his own words quoted by the Spirit, and was overcome with penitence and grief. It was sad to see any operating system die, even one so obviously flawed and useless as FreeBSD.

      God bless us, every one.

  12. *This* would be a troll? by Anonymous Coward · · Score: 0

    Wow.. nice job, mod. :-/

    1. Re:*This* would be a troll? by Anonymous Coward · · Score: -1, Offtopic

      Correct.

      Your facts are indeed accurate, and I salute the fact that somebody wishes to step up to the Berkeley Software Distribution trolls, but I think I share many Slashdot readers' opinions about many of your repetitve posts. Anybody who regularly visits the Slashdot BSD section knows that there are trolls claiming that the BSD operating system is dying, and that there are websites and common sense to disprove it. We all know of Netcraft's "Nearly 2 Million Active Sites Running FreeBSD" page, so why is there a need to post it multiple times?

      Read http://bsd.slashdot.org/comments.pl?sid=134840&cid =11252088, as that person has the same opinion as me.

    2. Re:*This* would be a troll? by Anonymous Coward · · Score: 2, Interesting

      >why is there a need to post it multiple times?

      To dispel the FUD that those troll messages are continuously spreading.
      Example: Microsoft makes a false claim about Linux (i.e. "Linux has a higher TCO", that generally is completely false). Do the Linux advocates react thinking "Oh, who cares, everybody knows it's not true. There are websites and common sense to disprove it" or do they react *dispelling* the *FUD* ?
      FUD works, unless it's dispelled. I think everybody knows that very well.

      >Read http://bsd.slashdot.org/comments.pl?sid=134840&cid =11252088, as that person has the same opinion as me.

      That person is right to say that a repetitive message shouldn't reach the +1 threshold - that's quite agreeable, and that's why I immediately complied with his request.
      But he's simply wrong when he says that dispelling the FUD is useless, or that equates to feeding the trolls. If you guess the ones who modded that up agree with him, I guess the one that modded me up *multiple times* agree with me.

      Your being very polite takes nothing from the fact that labelling that post as troll is completely unjustifiable.

  13. How about some disk benchmarks? by BossMC · · Score: 1

    I just went from FreeBSD 5.3BETA3 to 5.3-RELEASE-p2 on my fileserver, and moved to a new hard disk at the same time. Somewhere between beta3 and -release, the decision to make SCHED_4BSD the default scheduler was made, and SCHED_ULE won't compile because it has an #error macro.

    Anyways, the point of this is that because I was going to a new hard drive, I was doing a lot of dumping and paxing to transfer things over, some before installworld, and some after. I noticed once in 5.3-release that heavy disk activity made the system far less responsive, although the throughput did in fact seem a little higher. This _is_ all subjective talk, but it was serious enough that opening a new ssh session on the machine took substantially longer than before.

    I want to see some benchmarks on how various systems behave when the disk activity is up, and how much throughput they can actually accomplish. I know that schedulers give disk-bound processes more run-time in order to finish quickly, and it seems almost like sched_4bsd is exaggerating that. It would be interesting see some numbers attached to my predictions.

    1. Re:How about some disk benchmarks? by Anonymous Coward · · Score: 0

      This is an aspect of FreeBSD 5.x that sucks. I have a dual PentiumIII system with SCSI disks. Extracting a large tarball (think jdk or firefox) makes the system unresponsive, the mouse skips, audio cuts. This is completely unacceptable on a fine grained SMP system. It doesn't happen on DragonFlyBSD, btw. So Matt was right.

    2. Re:How about some disk benchmarks? by chinhngt · · Score: 0

      blockquote]This is an aspect of FreeBSD 5.x that sucks. I have a dual PentiumIII system with SCSI disks. Extracting a large tarball (think jdk or firefox) makes the system unresponsive, the mouse skips, audio cuts.[/blockquote] Oh yeah. I have a single Cel-1800Mhz, I built not only jdk-1.4.2 and firefox but also OpenOffice 1.1.3 (which is many times bigger than jdk) and mozilla 1.7.5 (full) on FreeBSD 5.2.1, 5.3, 5-STABLE. My hard disk is just a 120GB Seagate ATA100. All is okay. OpenOffice took about one and a half day to finish. I see no problem with the harddisk at all. So you must troll a lot. jdk 1.4.2 was built well on all my 16 computers in cluster (all Cel-733). That's it.

      --
      MS-DOS since 6.0, Windows since 3.1, Novell Netware since 4.5 and FreeBSD since 4.5
    3. Re:How about some disk benchmarks? by chinhngt · · Score: 0
      Sorry, i made mistake in typing here.
      This is an aspect of FreeBSD 5.x that sucks. I have a dual PentiumIII system with SCSI disks. Extracting a large tarball (think jdk or firefox) makes the system unresponsive, the mouse skips, audio cuts.

      Oh yeah. I have a single Cel-1800Mhz, I built not only jdk-1.4.2 and firefox but also OpenOffice 1.1.3 (which is many times bigger than jdk) and mozilla 1.7.5 (full) on FreeBSD 5.2.1, 5.3, 5-STABLE. My hard disk is just a 120GB Seagate ATA100. All is okay. OpenOffice took about one and a half day to finish. I see no problem with the harddisk at all. So you must troll a lot. jdk 1.4.2 was built well on all my 16 computers in cluster (all Cel-733). That's it.
      --
      MS-DOS since 6.0, Windows since 3.1, Novell Netware since 4.5 and FreeBSD since 4.5
    4. Re:How about some disk benchmarks? by Anonymous Coward · · Score: 0

      MS-DOS since 6.0, Windows since 3.1, Novell Netware since 4.5 and FreeBSD since 4.5

      MS-DOS since 3.3, WinDOwS since 2.0, NT since 3.51, Novell Netware since 3, FreeBSD since 4.1, Linux since 2.0.0, OpenBSD since 2.5, NetBSD since 1.6, SunOS since 4, MacOS since 6, assembler since 6502, through to 68k, x86, i860, ppc, sparc64 and now amd64.

      Wank on!

      PS, please try your tests in NetBSD 2.0 then come back and let us know. Since testing my heavily disk intensive statistics gathering software on NetBSD 2.0, I have switched to it. Although it is a sufficiently different beast to what I am used to, I am willing to learn it due to the MASSIVE performance increases I am seeing.

    5. Re:How about some disk benchmarks? by Anonymous Coward · · Score: 0
      I'm thinking of switching to NetBSD also. FreeBSD has too many bugs and performance problems. The cause is rooted in the "brain drain" after all the first string talent quit FreeBSD and moved on to other projects. I guess Jordan can sit back and gloat - "I told you so . . ."

      Time for me to make my exit too.

    6. Re:How about some disk benchmarks? by BossMC · · Score: 1

      So if it's not happening to you, it is therefore not happening to anyone?

      Also, saying "All is okay" isn't very specific. Did you listen to music on each of your 16 machines? Did you even read my toplevel post? Most of the apps you built are very large, and therefore compile time dwarfs untar (aka disk IO) time, meaning that there is a small window of time where our issue with disks would manifest itself. Try untarring an archive with thousands of files over and over, and get back to me.

      In other words, your sample does not have anything to do with the original problem, making your stabs against your parent poster irrelevant, and a troll. Emperical data from many people will always take precedence over half-assed arguments. Read the mailing lists. You will see that it is a real issue, and not just made up crap.

    7. Re:How about some disk benchmarks? by Bishop · · Score: 1

      I use bonnie to test disk IO. It is a good reliable way to put the filesystem under load, and may help you determine if the scheduler is a problem.

  14. Disk Benchmarks by Anonymous Coward · · Score: -1, Troll

    IT IS OFFICIAL; WIRED NEWS CONFIRMS: LINUX IS SUPERIOR TO *BSD
    *BSD is Dying, Says Respected Journal

    Linux advocates have long insisted that open-source development results in better and more secure software. Now they have statistics to back up their claims.

    According to a four-year analysis of the 5.7 million lines of Linux source code conducted by five Stanford University computer science researchers, the Linux kernel programming code is better and more secure than the programming code of *BSD.

    The report, set to be released on Tuesday, states that the 2.6 Linux production kernel, shipped with software from Red Hat, Novell and other major Linux software vendors, contains 985 bugs in 5.7 million lines of code, well below the average for *BSD software. NetBSD, by comparison, contains about 40 million lines of code, with new bugs found on a frequent basis.

    *BSD software typically has 20 to 30 bugs for every 1,000 lines of code, according to Carnegie Mellon University's CyLab Sustainable Computing Consortium. This would be equivalent to 114,000 to 171,000 bugs in 5.7 million lines of code.

    The study identified 0.17 bugs per 1,000 lines of code in the Linux kernel. Of the 985 bugs identified, 627 were in critical parts of the kernel. Another 569 could cause a system crash, 100 were security holes, and 33 of the bugs could result in less-than-optimal system performance.

    Seth Hallem, CEO of Coverity, a provider of source-code analysis, noted that the majority of the bugs documented in the study have already been fixed by members of the Linux development community.

    "Our findings show that Linux contains an extremely low defect rate and is evidence of the strong security of Linux," said Hallem. "Many security holes in software are the result of software bugs that can be eliminated with good programming processes. When we looked at BSD, we found a high defect rate that indicates very poor programming practices. It is clear to us that BSD is a dying operating system. We predict that it'll be dead within a year or two, except among OS dilettante dabblers."

    The Linux source-code analysis project started in 2000 at the Stanford University Computer Science Research Center as part of a large research initiative to improve core software engineering processes in the software industry.

    The initiative now continues at Coverity, a software engineering startup that now employs the five researchers who conducted the study. Coverity said it intends to start providing Linux bug analysis reports on a regular basis and will make a summary of the results freely available to the Linux development community.

    "This is a benefit to the Linux development community, and we appreciate Coverity's efforts to help us improve the security and stability of Linux," said Andrew Morton, lead Linux kernel maintainer. Morton said developers have already addressed the top-priority bugs uncovered in the study.

    1. Re:Disk Benchmarks by Anonymous Coward · · Score: 0

      Yeah Yeah
      Just open the main page and what you'll get?
      Another root exploit for linux
      hehehe
      so much for the 0.17 bugs

    2. Re:Disk Benchmarks by Anonymous Coward · · Score: 0

      according to Carnegie Mellon University's CyLab Sustainable Computing

      Got a link for this claim?

    3. Re:Disk Benchmarks by Anonymous Coward · · Score: -1, Troll

      No thanks. From real world experience, we had to change the OS on our IDS appliances from SunOS to Linux to continue to receive signature updates. Ever since the OS upgrade we've had endless problems from memory leaks to hanging where the vendor suggested turning off swap memory with "swapoff -a" as a partial workaround. Now the IDS appliances are intermittently bouncing. Sighhh... As a network guy I'm fortunate to work with equipment that not only perform well but are also extremely reliable and usually run well over a year without a reboot. When it comes to OS' I have the same expectations of performance _and_ reliability so I'll stick with BSD and SunOS. Also, with BSD there are fewer security incidents than Linux. BSD has fewer security incidents for the lifetime of a release than Linux has for one month. Look for yourself.

      BSD
      http://www.netbsd.org/Security/
      http://www .freebsd.org/security/index.html
      http://www.openb sd.org/security.html

      Linux
      http://www.debian.org/security/
      http://w ww.gentoo.org/security/en/glsa/index.xml
      http://w ww.mandrakesoft.com/security/advisories

    4. Re:Disk Benchmarks by Anonymous Coward · · Score: -1, Troll

      You sure are jesting, only a complete moron would use Mandrake or Gentoo on a server.

    5. Re:Disk Benchmarks by Anonymous Coward · · Score: -1, Troll

      FreeBSD has been way behind Linux for several years. And FreeBSD keeps slipping farther and farther behind with each tick of the clock. Of course, IBM has 5000 professional engineers dedicated to Linux development, while FreeBSD has lost the paltry few talented developers it had (i.e. Dillon, Smith, Hubbard, Lambert, Dyson). The contrast couldn't be clearer -- Linux (a product of professional engineering) versus FreeBSD (a product of amateur hobbyists).

  15. Obit by Anonymous Coward · · Score: -1, Troll

    *BSD Obituary

    *BSD, 27, of Berkeley, CA died Monday, Jan. 6, 2005. Born July 3, 1976, it was the creation of a cluster of pot-smoking hippies who went to Illinois and came home with a reel of tape. Rather than smoke the tape, they uploaded it and hacked on it a little.

    *BSD was known for its C shell and early TCP/IP implementation. After being banished from UC Berkeley, it was ported to the x86 platform, where it fell into the hands of heavier pot-smokers who liked to argue. Soon, the project had splintered into 12 different Balkanized projects. Until its death, there was almost constant fighting in and amongst these groups, sometimes degenerating into out-and-out fistfights.

    *BSD is survived by its superior, Linux, as well as several commercial unix implementations. It may be missed by some who knew it, although most of them are said to be mere OS dilettante dabblers.

    A funeral will be held at 2 p.m. Thursday, Jan. 9, at the Berkeley Chapel on the UC campus, with interment to follow via the burning of the original *BSD tapes and scattering of the ashes over the San Francisco Bay. The Rev. Lou "Buddy" Stubbs will officiate.

    The family will receive friends from 7 to 8 p.m. Wednesday, Jan. 8, at the funeral home.

  16. FYI: this "article" is not real, it's a troll... by Anonymous Coward · · Score: 0

    3 people just replied to a disinforming troll.

  17. Requiem for the FUD by Anonymous Coward · · Score: -1, Offtopic
    // Please *don't* mod this up. It has already been done!

    ... some actual facts. ;)

    FreeBSD:
    FreeBSD, Stealth-Growth Open Source Project (Jun 2004)
    "FreeBSD has dramatically increased its market penetration over the last year."
    Nearly 2.5 Million Active Sites running FreeBSD (Jun 2004)
    "[FreeBSD] has secured a strong foothold with the hosting community and continues to grow, gaining over a million hostnames and half a million active sites since July 2003."
    What's New in the FreeBSD Network Stack (Sep 2004)
    "FreeBSD can now route 1Mpps on a 2.8GHz Xeon whilst Linux can't do much more than 100kpps."

    NetBSD:
    NetBSD sets Internet2 Land Speed World Record (May 2004)
    NetBSD again sets Internet2 Land Speed World Record (30 Sep 2004)

    OpenBSD:
    OpenBSD Widens Its Scope (Nov 2004)
    Review: OpenBSD 3.6 shows steady improvement (Nov 2004)

    *BSD in general:
    Deep study: The world's safest computing environment (Nov 2004)
    "The world's safest and most secure 24/7 online computing environment - operating system plus applications - is proving to be the Open Source platform of BSD (Berkeley Software Distribution) and the Mac OS X based on Darwin."
    ..and last but not least, we have the cutest mascot as well - undisputedly. ;)

    --
    Being able to read *other people's* source code is a nice thing, not a 'fundamental freedom'.

  18. Flawed FreeBSD by Anonymous Coward · · Score: -1, Troll
    FreeBSD suffers from a couple of serious process flaws -- it is an operating system which is truly at home neither in the open-source nor the proprietary markets primarily because, although the source is open, the development team is not. Furthermore the license allows proprietary software to "steal" source code and use it. The combination of these problems leads to a somewhat inferior OS.

    Now, Apache uses a BSD style license but they have an open development model which allows them to take advantage of a very large developer pool in order to stay ahead of their competition. In fact although proprietary versions of Apache exist which perform better than the official releases, SGI has put out some open source patches which generate even larger performance boosts. This is the reason why they have such a strong showing in terms of market share.

    BSD once had potential but the procedural problems they are experiencing hurt it when it comes to the market. I suspect that this is probably in part because the BSD teams are not interested in such things, and that is a shame... In fact, although I labeled it as an inferior OS, this is not due to lack of progress within BSD -- it has been progressing somewhat, but rather because all the improvements they make tend to be quickly copied by their competitors AND they lack the developer pool to stay ahead of this game (a problem which does not exist in the Linux or Apache communities, though for somewhat different reasons).

    I don't think that there is enough widespread support for BSD to save the operating system. What must be done is an opening up of the development process OR a GPL-style restriction on redistribution. In many ways I favor the former.

    Even in a worst case scenario, I don't see BSD completely dying. I think the developers are less into competition and more into a sort of idealized cooperation. As a result, even if BSD becomes more marginalized, I don't think that it will die outright. It will most likely outlive Netware, for example.

  19. Nice by hugo_pt · · Score: 1

    Finally, a *BSD related discussion on /. that's constructive and objective, with people giving valid points of view and opinions.. Keep it up!

  20. Autopsy 101 by Anonymous Coward · · Score: -1, Troll
    Why FreeBSD Failed

    [former FreeBSD developer Mike Smith gives his reasons for abandoning FreeBSD]

    When I stood for election to the FreeBSD core team nearly two years ago, many of you will recall that it was after a long series of debates during which I maintained that too much organisation, too many rules and too much formality would be a bad thing for the project.

    Today, as I read the latest discussions on the future of the FreeBSD project, I see the same problem; a few new faces and many of the old going over the same tired arguments and suggesting variations on the same worthless schemes. Frankly I'm sick of it.

    FreeBSD used to be fun. It used to be about doing things the right way. It used to be something that you could sink your teeth into when the mundane chores of programming for a living got you down. It was something cool and exciting; a way to spend your spare time on an endeavour you loved that was at the same time wholesome and worthwhile.

    It's not anymore. It's about bylaws and committees and reports and milestones, telling others what to do and doing what you're told. It's about who can rant the longest or shout the loudest or mislead the most people into a bloc in order to legitimise doing what they think is best. Individuals notwithstanding, the project as a whole has lost track of where it's going, and has instead become obsessed with process and mechanics.

    So I'm leaving core. I don't want to feel like I should be "doing something" about a project that has lost interest in having something done for it. I don't have the energy to fight what has clearly become a losing battle; I have a life to live and a job to keep, and I won't achieve any of the goals I personally consider worthwhile if I remain obligated to care for the project.

    Discussion

    I'm sure that I've offended some people already; I'm sure that by the time I'm done here, I'll have offended more. If you feel a need to play to the crowd in your replies rather than make a sincere effort to address the problems I'm discussing here, please do us the courtesy of playing your politics openly.

    From a technical perspective, the project faces a set of challenges that significantly outstrips our ability to deliver. Some of the resources that we need to address these challenges are tied up in the fruitless metadiscussions that have raged since we made the mistake of electing officers. Others have left in disgust, or been driven out by the culture of abuse and distraction that has grown up since then. More may well remain available to recruitment, but while the project is busy infighting our chances for successful outreach are sorely diminished.

    There's no simple solution to this. For the project to move forward, one or the other of the warring philosophies must win out; either the project returns to its laid-back roots and gets on with the work, or it transforms into a super-organised engineering project and executes a brilliant plan to deliver what, ultimately, we all know we want.

    Whatever path is chosen, whatever balance is struck, the choosing and the striking are the important parts. The current indecision and endless conflict are incompatible with any sort of progress.

    Trying to dissect the above is far beyond the scope of any parting shot, no matter how distended. All I can really ask of you all is to let go of the minutiae for a moment and take a look at the big picture. What is the ultimate goal here? How can we get there with as little overhead as possible? How would you like to be treated by your fellow travellers?

    Shouts

    To the Slashdot "BSD is dying" crowd - big deal. Death is part of the cycle; take a look at your soft, pallid bodies and consider that right this very moment, parts of you are dying. See? It's not so bad.

    To the bulk of the FreeBSD committerbase and the developer community at large - keep your eyes on the real goals. It's when you get distracted by the

  21. BREAKING - BSD inventor dead at age 86 by Anonymous Coward · · Score: -1, Troll
    Rosemary Kennedy, the first lady of the Special Olympics and inventor of the BSD operating system, died yesterday in a Wisconsin hospital with her brother, U.S. Sen. Edward M. Kennedy at her side. "Rosie" was 86.

    In yet another footnote to BSD's and the Bay State clan's tragic history, the eldest sister of the late President John F. Kennedy was lobotomized at age 23 when doctors advised her father that it would help his daughter and calm her hard to handle mood swings. Joseph Kennedy had feared her mental retardation would cloud his political dreams for his sons.

    "Rosemary was a woman, and there was a dread fear of pregnancy, disease and disgrace," author Laurence Leamer wrote in an unauthorized Kennedy biography called The Kennedy Women: The Saga of an American Family. Mr. Leamer soon followed-up with his Pulitzer nominated Rose Kennedy's BSD Kernel Secrets.

    In a statement released after her death, the Kennedy family said, "From her earliest years, her mental retardation was a continuing inspiration to each of us, and a powerful source of our family's commitment to do all we can to help all persons with disabilities live full and productive lives. Millions of people of all ages have greater hope today because of Rosemary. In no small part the BSD operating system is a direct result of her occupational therapy."

    The third child of Rose and Joseph Kennedy was born in Boston Sept. 13, 1918. Despite brain damage, before her lobotomy she filled diaries with fanciful tales of tea parties, dress fittings, travels abroad and a White House visit. She started development of the BSD kernel during those early years. Even after her lobotomy she continued work on the BSD kernel, albeit at a more relaxed pace.

    Because of Rosemary Kennedy's condition, her younger sister, Eunice Kennedy Shriver, became an activist in the field of mental retardation. Shriver later founded the Special Olympics for mentally disabled athletes. In 1984, she took over her sister's care after their mother had a stroke. Thanks to a generous endowment from the Kennedy fortunes, Rosemary was installed as head of Berkeley's CSRG where Rosemary continued to pursue her dream of a free BSD kernel.

    While Rosemary Kennedy was kept out of the public eye for more than 40 years, her retardation became public in 1960 just after her big brother was elected president. Although a low point in her life, she tirelessly continued to labor after her vision of a free BSD operating system. Rosemary's efforts were subsequently rewarded with the release of 386BSD, the forerunner to FreeBSD.

    Shortly thereafter, Rosemary would go on to head-up the FreeBSD project as its director and lead architect. To this day FreeBSD is often jokingly referred to by insiders as "Rosemary's Baby". Indeed from this inside joke emerged "Chuckie" the cartoon devil which continues to serve as FreeBSD's mascot.

    Rosemary lived most of her life in a Jefferson, Wis., institution, the St. Coletta School for Exceptional Children. In her memory, St. Coletta's has started an in-residence scholarship program for other BSD developers.

  22. You modded up an old troll. Here's the real story. by ulib · · Score: 1

    I just want to inform whoever modded this crap up (at +3!) that this is an old troll. It first appeared on the FreeBSD mailing lists in january 2004 with the false signature "Maxim Hermion", in order to imitate the name (and the email address) of the FreeBSD committer Maxime Henrion.

    This is what the real Maxime Henrion says about it, in a reply to that troll message.

    Please check the sources before modding things up...

  23. An inside look by Anonymous Coward · · Score: -1, Troll
    Postmortem FreeBSD

    [note: former FreeBSD developer Mike Smith gives his reasons for abandoning FreeBSD]

    When I stood for election to the FreeBSD core team nearly two years ago, many of you will recall that it was after a long series of debates during which I maintained that too much organisation, too many rules and too much formality would be a bad thing for the project.

    Today, as I read the latest discussions on the future of the FreeBSD project, I see the same problem; a few new faces and many of the old going over the same tired arguments and suggesting variations on the same worthless schemes. Frankly I'm sick of it.

    FreeBSD used to be fun. It used to be about doing things the right way. It used to be something that you could sink your teeth into when the mundane chores of programming for a living got you down. It was something cool and exciting; a way to spend your spare time on an endeavour you loved that was at the same time wholesome and worthwhile.

    It's not anymore. It's about bylaws and committees and reports and milestones, telling others what to do and doing what you're told. It's about who can rant the longest or shout the loudest or mislead the most people into a bloc in order to legitimise doing what they think is best. Individuals notwithstanding, the project as a whole has lost track of where it's going, and has instead become obsessed with process and mechanics.

    So I'm leaving core. I don't want to feel like I should be "doing something" about a project that has lost interest in having something done for it. I don't have the energy to fight what has clearly become a losing battle; I have a life to live and a job to keep, and I won't achieve any of the goals I personally consider worthwhile if I remain obligated to care for the project.

    Discussion

    I'm sure that I've offended some people already; I'm sure that by the time I'm done here, I'll have offended more. If you feel a need to play to the crowd in your replies rather than make a sincere effort to address the problems I'm discussing here, please do us the courtesy of playing your politics openly.

    From a technical perspective, the project faces a set of challenges that significantly outstrips our ability to deliver. Some of the resources that we need to address these challenges are tied up in the fruitless metadiscussions that have raged since we made the mistake of electing officers. Others have left in disgust, or been driven out by the culture of abuse and distraction that has grown up since then. More may well remain available to recruitment, but while the project is busy infighting our chances for successful outreach are sorely diminished.

    There's no simple solution to this. For the project to move forward, one or the other of the warring philosophies must win out; either the project returns to its laid-back roots and gets on with the work, or it transforms into a super-organised engineering project and executes a brilliant plan to deliver what, ultimately, we all know we want.

    Whatever path is chosen, whatever balance is struck, the choosing and the striking are the important parts. The current indecision and endless conflict are incompatible with any sort of progress.

    Trying to dissect the above is far beyond the scope of any parting shot, no matter how distended. All I can really ask of you all is to let go of the minutiae for a moment and take a look at the big picture. What is the ultimate goal here? How can we get there with as little overhead as possible? How would you like to be treated by your fellow travellers?

    Shouts

    To the Slashdot "BSD is dying" crowd - big deal. Death is part of the cycle; take a look at your soft, pallid bodies and consider that right this very moment, parts of you are dying. See? It's not so bad.

    To the bulk of the FreeBSD committerbase and the developer community at large - keep your eyes on the real goals. It's when you get distracted

  24. Real live application over microbenchmark? Sure! by hubertf · · Score: 1

    For those bitching that a microbenchmark's not worth beans, I ask that you beat this with FreeBSD (it's a bit old, but hey):

    Aparently the folks from the Swedish University Network (SUNet) at Lulea managed to break their previous Internet 2 Landspeed record for both single and multiple streams, using NetBSD again. Comparison:

    Old record:

    * 838860800000 bytes in 1588 real seconds = 4226 Mbit/sec o
    * Distance: 16,343 km (10,157 miles)
    * 69.073 Petabit-meters/second (12% increase)

    New record:

    * 1966080000000 bytes in 3648.81 real seconds = 4310.62 Mbit/sec
    * Distance: 28,983 km (18,013 miles)
    * 124.935 Petabit-meters/second (78.6% increase)

    The big difference in distance and thus the record itself is due to suboptimal routing, crossing the ocean three times. Nonetheless, thanks to a newer version of end machines' operating system -- a prerelease of NetBSD 2.0 -- and some newer routers, this record was achieved on a production network just in the previous case. See the project pages for single stream and multiple streams for more information!

    http://proj.sunet.se/LSR3-s/
    http://proj.sunet. se/LSR3-m/

  25. Moderation abuse by ulib · · Score: 1

    At the risk of burning my karma, I don't think this is acceptable.

    The parent (modded at +4 right now!) made its first appearance on the FreeBSD mailing lists, with the false signature "Maxim Hermion", in order to imitate the name (and the email address) of the FreeBSD committer Maxime Henrion.
    Here's what Maxime Henrion (the real FreeBSD committer) writes about it, in a reply to this troll message.

    This being said, one can suppose that nobody who is intellectually honest would call this anything other than a defaming piece of crap, authored by a worthless troll.

    Still, on this forum, a piece of crap like this has mysteriously managed to reach the +4 level, by doing nothing else than gratuitously defaming FreeBSD.

    To the people that modded this up: nice job indeed... Maybe, according to your agenda, it really *is* a nice job. :-/

    --
    Being able to read *other people's* source code is a nice thing, not a 'fundamental freedom'.

    1. Re:Moderation abuse by Anonymous Coward · · Score: -1, Flamebait

      Put up or shut up. Show proof that all that's said there isn't true. And, for your info, the original message didn't come from the Henrion idiot, but from a guy called Shawn who posted it first in Feb 2003, when Dillon was expelled.

    2. Re:Moderation abuse by Anonymous Coward · · Score: 0

      >from a guy called Shawn who posted it first in Feb 2003

      Of course, this is totally false. Google proves it.
      The good thing is, seeing how much the FreeBSD-haters are worth makes me like it even more. :)

    3. Re:Moderation abuse by Anonymous Coward · · Score: -1, Flamebait

      SHUT UP, ok?

    4. Re:Moderation abuse by setagllib · · Score: 1

      I have mixed feelings about this. On the one hand, nothing in the post is particularly troll-like, since the claims about the politics and rotting code is entirely true and visible just by reading the lists and, well, code. On the other hand, anything that gets repeated in a troll-like manner but has negative perspective on a project, does in some way deserve to be called a troll. If it's worth saying, it's worth finding more than one way to say. If it's not worth saying, it's a troll.

      It doesn't deserve +4 since it's just a copy, but I wouldn't mark it Troll either, personally.

      The hard fact is, the developers politics is the reason DragonFly is out there today and admittedly doing a better job of being fast and stable than FreeBSD 5. While, yes, this has the potential to change in the future, the remaining number and skill of the developers means it will take a long time and be a bumpy ride.. before the system is anywhere near as fast as 4.x was for most of the same tasks. With everything MPSAFE and micro-optimised (at least another year of work) it will be good, but for most users it's not worth it right now. And, yes, this all happened because of politics.

      Never thought I'd see it happen in FreeBSD but it did. Let's hope the other major OS projects keep their goals straight. Everyone aware that NetBSD 3 is going to have Solaris-like SMP locking, which is at least 90% of the reason FreeBSD 5 is the way it is?

      --
      Sam ty sig.
    5. Re:Moderation abuse by Anonymous Coward · · Score: -1, Offtopic

      The name's Shaun - you wrote Shawn. Since in your post you're gratuitously calling a FreeBSD committer an idiot, you'll pardon me if I stopped after the first check, when google (web search) showed nothing.

      The fact that I was wrong about the origin doesn't change the fact that this is just a huge load of *destructive* political crap.

      Let the facts speak, and say who's right and who's wrong. In this benchmark NetBSD prevails over FreeBSD - good. But it isn't the whole story by any means, since it doesn't measure where FreeBSD is supposed to be stronger.

      Projects like FreeBSD, DragonFly, etc. should be judged and compared on the technical level. That's why I think that modding up stuff like this has no justification.

  26. As long as there are a bunch of BSD types here ... by putko · · Score: 1

    How does a recent OpenBSD (3.5 or higher) on a typical non-SMP PC compare to a recent NetBSD or FreeBSD?

    I hear it is slower but I'm wondering if anyone has any actual experience.

    --
    http://www.thebricktestament.com/the_law/when_to_s tone_your_children/dt21_18a.html
  27. The origin was actually different by ulib · · Score: 1

    Someone pointed out that I was wrong about the origin of that post - the original was actually written 2 years ago (Feb 2003) by Shaun Jurrens, a FreeBSD user (here's what he says about the troll I previously linked).

    I apologize, but I googled before talking, and the oldest result I found was the troll I linked in parent (Jan 2004).

    Still, I don't think that the text of a 2-year-old rant, copied and pasted by a troll, is objectively worth any modding up. And FWIW, what I think of the ones who do it doesn't change very much.

  28. Re:As long as there are a bunch of BSD types here by Anonymous Coward · · Score: 1, Interesting
    As of NetBSD 2.0, it is the fastest of all the BSDs. It is in the number 1 position. Now as far as the number 2 position, if you are talking about FreeBSD 4.9 or earlier, then FreeBSD is number 2. If you are referring to any other FreeBSD including 5.x, then OpenBSD is faster. Therefore, for all of the most current releases, the speed rankings for NetBSD, OpenBSD, and FreeBSD from fastest to slowest is
    1. NetBSD (fastest)
    2. OpenBSD (happy medium)
    3. FreeBSD (slowest)
    Of course, by this time next year the rankings might change, as all of these operating systems are still under development.
  29. Re:As long as there are a bunch of BSD types here by putko · · Score: 1

    Thanks a lot. I kinda figured this, but I'd heard such bad stuff about OpenBSD's performance relative to FreeBSD, I figured it might still be last.

    But have you actually run them youself on similar hardware?

    --
    http://www.thebricktestament.com/the_law/when_to_s tone_your_children/dt21_18a.html
  30. Re:As long as there are a bunch of BSD types here by Anonymous Coward · · Score: 0

    since OpenBSD doesn't have UBC yet (NetBSD has had it since 1.6, linux has had it since 2.4, and FreeBSD has had it since 2.0.5), OpenBSD is slower than even FreeBSD 5.x for applications whch need large file cache. e.g. web server, nfs server, etc....

  31. Re:As long as there are a bunch of BSD types here by Anonymous Coward · · Score: 2, Interesting

    I am not trying to sling shit on OpenBSD here, I've been using it as my primary desktop, net connected servers and firewall OS for very many years and will continue to do so. However I had to do something new recently that caused me to switch to NetBSD 2.0 for this project due to massive performance gains that could not be ignored (this may be due to my scripts being far from optimum at the moment, but)...

    I have been doing some intensive data mining on some large datasets (500MB - 1GB) on a 2GB RAM PC.

    OpenBSD 3.6 was taking days to do what NetBSD 2.0 was doing in under an hour and it appears to have mostly come down to NetBSD's disk caching. Multi passes at the large files show the disk access light come on just once on NetBSD and then the analysis flies. After seeing OpenBSD 3.6 performing so much slower with this task, I tried Fedora Core 3 and found it to also perform very much slower than NetBSD. In both cases, disk light is hard-on for the very slow duration of the task (which I did not finish for the Fedora machine because it was quickly apparent that it was also very slow).

    Both BSD installs had noatime, softdeps and same partitioning for the filesystems being thrashed. I'd be curious to see if the gap closes much when I switch this over to perl. Disk performance even for single pass time trials in NetBSD are better than OpenBSD.

    From now on, NetBSD will be my number cruncher. I am really shocked. I expected a difference, but not such a huge difference.

    I thought Fedora Core with a 2.6 Linux kernel and disk caching would have kept up or perhaps even been better. Any config tips for that? I'd like to give SuSE 9.2 a go too... Regardless, NetBSD has really won me at the moment for disk intensive tasks.

  32. Lessons from the Ashes by Anonymous Coward · · Score: -1, Troll

    What We Can Learn From BSD
    By Chinese Karma Whore, Version 1.0

    Everyone knows about BSD's failure and imminent demise. As we pore over the history of BSD, we'll uncover a story of fatal mistakes, poor priorities, and personal rivalry, and we'll learn what mistakes to avoid so as to save Linux from a similarly grisly fate.

    Let's not be overly morbid and give BSD credit for its early successes. In the 1970s, Ken Thompson and Bill Joy both made significant contributions to the computing world on the BSD platform. In the 80s, DARPA saw BSD as the premiere open platform, and, after initial successes with the 4.1BSD product, gave the BSD company a 2 year contract.

    These early triumphs would soon be forgotten in a series of internal conflicts that would mar BSD's progress. In 1992, AT&T filed suit against Berkeley Software, claiming that proprietary code agreements had been haphazardly violated. In the same year, BSD filed countersuit, reciprocating bad intentions and fueling internal rivalry. While AT&T and Berkeley Software lawyers battled in court, lead developers of various BSD distributions quarreled on Usenet. In 1995, Theo de Raadt, one of the founders of the NetBSD project, formed his own rival distribution, OpenBSD, as the result of a quarrel that he documents on his website. Mr. de Raadt's stubborn arrogance was later seen in his clash with Darren Reed, which resulted in the expulsion of IPF from the OpenBSD distribution.

    As personal rivalries took precedence over a quality product, BSD's codebase became worse and worse. As we all know, incompatibilities between each BSD distribution make code sharing an arduous task. Research conducted at MIT found BSD's filesystem implementation to be "very poorly performing." Even BSD's acclaimed TCP/IP stack has lagged behind, according to this study.

    Problems with BSD's codebase were compounded by fundamental flaws in the BSD design approach. As argued by Eric Raymond in his watershed essay, The Cathedral and the Bazaar, rapid, decentralized development models are inherently superior to slow, centralized ones in software development. BSD developers never heeded Mr. Raymond's lesson and insisted that centralized models lead to 'cleaner code.' Don't believe their hype - BSD's development model has significantly impaired its progress. Any achievements that BSD managed to make were nullified by the BSD license, which allows corporations and coders alike to reap profits without reciprocating the goodwill of open-source. Fortunately, Linux is not prone to this exploitation, as it is licensed under the GPL.

    The failure of BSD culminated in the resignation of Jordan Hubbard and Michael Smith from the FreeBSD core team. They both believed that FreeBSD had long lost its earlier vitality. Like an empire in decline, BSD had become bureaucratic and stagnant. As Linux gains market share and as BSD sinks deeper into the mire of decay, their parting addresses will resound as fitting eulogies to BSD's demise.

  33. Re:As long as there are a bunch of BSD types here by Anonymous Coward · · Score: 0
    I'm in the same boat. I tried the latest FreeBSD, and I've had mixed results with 5.3. I advise you to use something other than FreeBSD 5.3 if you need stability.

    As an IDS running snort, I've had problems with the FreeBSD nge driver. I need these NICs for monitoring gigabit links. Simply "upping" the interface caused FreeBSD to panic. I posted here and there, and opened a problem report, but got no replies. FWIW, I never saw a kernel panic until I used 5.3, but I do acknowledge that the technology added is new and results may very.

    In the end, I am unable to use FreeBSD 5.3 for servers. I think the new SMP stuff is broken and unproven. I will continue using the 4.x FreeBSD line since it's much more stable.

    One last comment, I must admit that in order to get something stable for my IDSs, I installed Gentoo. NetBSD might be a reasonable choice too.

  34. Same old FUD... by Anonymous Coward · · Score: 0

    Same old FUD, that has been disproved countless times...

  35. Re:As long as there are a bunch of BSD types here by Anonymous Coward · · Score: 1, Informative

    OpenBSD doesn't turn on softupdates by default - you have to do it manually.

  36. Re:As long as there are a bunch of BSD types here by setagllib · · Score: 1

    Neither does NetBSD actually. And if you look at his post another time you'll notice he acknowledges their functionality. The hard fact is NetBSD is a speed daemon.

    --
    Sam ty sig.
  37. For Whom The Bell Tolls by Anonymous Coward · · Score: -1, Troll

    Elegy For *BSD


    I am a *BSD user
    and I try hard to be brave
    That is a tall order
    *BSD's foot is in the grave.

    I tap at my toy keyboard
    and whistle a happy tune
    but keeping happy's so hard,
    *BSD died so soon.

    Each day I wake and softly sob,
    Nightfall finds me crying
    Not only am I a zit faced slob
    but *BSD is dying.

  38. DragonFlyBSD by chrysalis · · Score: 1

    It's a pity that DragonFlyBSD wasn't benchmarked in place of FreeBSD.

    --
    {{.sig}}
  39. problems which plague BSD by Anonymous Coward · · Score: -1, Flamebait
    BSD suffers from a number of serious process flaws -- it is an operating system which is truly at home neither in the open-source nor the proprietary markets primarily because, although the source is open, the development team is not. Furthermore the license allows proprietary software to "steal" source code and use it. The combination of these problems leads to a somewhat inferior OS.

    Now, Apache uses a BSD style license but they have an open development model which allows them to take advantage of a very large developer pool in order to stay ahead of their competition. In fact although proprietary versions of Apache exist which perform better than the official releases, SGI has put out some open source patches which generate even larger performance boosts. This is the reason why they have such a strong showing in terms of market share.

    BSD once had potential but the procedural problems they are experiencing hurt it when it comes to the market. I suspect that this is probably in part because the BSD teams are not interested in such things, and that is a shame... In fact, although I labeled it as an inferior OS, this is not due to lack of progress within BSD -- it has been progressing somewhat, but rather because all the improvements they make tend to be quickly copied by their competitors AND they lack the developer pool to stay ahead of this game (a problem which does not exist in the Linux or Apache communities, though for somewhat different reasons).

    I don't think that there is enough widespread support for BSD to save the operating system. What must be done is an opening up of the development process OR a GPL-style restriction on redistribution. In many ways I favor the former.

    Even in a worst case scenario, I don't see BSD completely dying. I think the developers are less into competition and more into a sort of idealized cooperation. As a result, even if BSD becomes more marginalized, I don't think that it will die outright. It will most likely outlive Netware, for example.