Slashdot Mirror


FreeBSD 8.0 vs. Ubuntu 9.10 Benchmarks

An anonymous reader writes "Phoronix has brought benchmarks comparing the FreeBSD 8.0-RC and Ubuntu 9.10 Alpha 6 operating systems. FreeBSD rather ends up taking a wallop to Ubuntu Linux, but there are a few areas where FreeBSD 8 ran well. They also posted benchmarks comparing this near-final FreeBSD 8.0 build to that of FreeBSD 7.2 to show performance improvements there but with a few regressions."

46 of 268 comments (clear)

  1. Let's see these against my Gentoo... by Jurily · · Score: 5, Funny

    ...once I'm done compiling.

    1. Re:Let's see these against my Gentoo... by wall0159 · · Score: 4, Funny

      Given that, I think it'd be fairer to compare Gentoo against Ubuntu 10.04, don't you?

  2. What's the point. by hedwards · · Score: 4, Insightful

    I'm sort of curious what the point is of comparing an alpha to a release candidate. Additionally it's a minor update versus a major update. Throwing in an older release makes it all the more pointless as I'm not seeing anywhere in the summary that they disabled debugging.

    1. Re:What's the point. by bostei2008 · · Score: 5, Insightful

      Just a plug for the Phoronix Test Suite?

    2. Re:What's the point. by Jurily · · Score: 3, Interesting

      I'm sort of curious what the point is of comparing an alpha to a release candidate. Additionally it's a minor update versus a major update. Throwing in an older release makes it all the more pointless as I'm not seeing anywhere in the summary that they disabled debugging.

      They left out almost all distros, too.

    3. Re:What's the point. by hedwards · · Score: 5, Interesting

      Well, with the number of distros out there, it's inevitable that they'd leave out most of them. But I must admit that leaving out every other distro makes it kind of hard to know if Ubuntu is doing better than the pack or about the same.

      It's kind of suspect, in my opinion, that the older release was doing so much better than the newer one, considering all the time that's been spent in recent times on optimizing various portions of the source. It's also worth noting that probably a much larger portion of the FreeBSD user base will recompile their kernel pretty much immediately with basic optimizations and removing the cruft that they don't need or want.

    4. Re:What's the point. by fbjon · · Score: 2, Interesting

      Is there any actual benefit to be gained from removing "cruft", other than saving a smidgen of memory?

      --
      True confidence comes not from realising you are as good as your peers, but that your peers are as bad as you are.
    5. Re:What's the point. by geminidomino · · Score: 4, Informative

      Is there any actual benefit to be gained from removing "cruft", other than saving a smidgen of memory?

      Long, but not long enough answer:

      Performance: Unless the cruft is a bunch of data or NOPs, it will be executed at some point, which is pointless (or it wouldn't be cruft.) And whether it's data or instruction, if "good" data is swapped out of the cache in favor of the cruft, then it will have to be read back in (cache misses).

      Security: Bugs love to hide in cruft.

      tl;dr version: Yes.

    6. Re:What's the point. by kad77 · · Score: 4, Interesting

      I'm sort of curious why the slashdot story summary is so annoyingly biased in it's phrasing - "FreeBSD rather ends up taking a wallop to Ubuntu Linux, but there are a few areas where FreeBSD 8 ran well", when the arguably flawed test suite shows NO SUCH THING!

      The FreeBSD system has very comparable or better benchmarks on nearly every metric in the test, just click through TFA and see for yourself.

      Tripe.

      Besides the needless and counterproductive bias, the phrase X "rather ends up taking a wallop to" Y is clunky and sophomoric. Editors, get a life.

    7. Re:What's the point. by WinterSolstice · · Score: 4, Insightful

      I must say that I'm really fed up with these sorts of benchmarks. They insult the intelligence of IT/technical people AND business people/endusers.

      I need to find or create a site that actually benchmarks a variety of systems (windows/linux/unix/bsd) for ACTUAL scenarios that the users of the systems expect them to perform. Not sure how important LAME encoding is for BSD people - I know I don't use it for that. Not sure how many Ubuntu users run DB servers or firewall routers.

      Can anyone point me to someplace like this? Someplace where I can see, for example, DB driven dynamic pages served per second - concurrent DB users, scalability to 4+ processors, etc?

      I want metrics like SAN performance, DB performance, mail server performance, HA, clustering, firewall performance etc for server "distros" (Windows Server, AIX, Solaris, BSD, Linux, OSX Server)
      I want metrics like graphics benchmarks, app response time, those classic GUI task tests for desktop "distros" (Windows, OSX, Linux, BSD).

      It annoys me that I see benchmarks that are so narrow and pointless. I can't make reasonable non-fanboy type comparisons when the benchmark doesn't include anything that matters to me.

      --
      An operating system should be like a light switch... simple, effective, easy to use, and designed for everyone.
    8. Re:What's the point. by Anonymous Coward · · Score: 2, Insightful

      True. And let's also see some benchmarks with the system under heavy load. Run it as a webserver with thousands of page requests a second. Run it as a database server under a realistic load (not simply inserting a few records).

      I could give a rats ass about how fast it compiles some app, show me some REAL benchmark!

  3. Careful manipulation of readership by Anonymous Coward · · Score: 2, Interesting

    It's interesting how on page 1, there are three graphs. Two of these are "lower is better" (where Ubuntu wins), however, when FreeBSD wins the graph is displayed in MIPS where "higher is better", thus appearing to make Ubuntu win there too.

    If you're a casual reader not paying attention, reading, or clicking on to page 2 (and you know I'm right when I say that's most of the people reading this article), you can see where this is going.

  4. Summary by __aaxwdb6741 · · Score: 5, Insightful

    The article is of little use other than tell the general populace of Slashdot that FreeBSD 8.0 and Ubuntu 9.10 are right around the corner, and that we should be hyped. Also FreeBSD 8 is a little faster than FreeBSD 7.2 but a lot slower than Ubuntu Linux 9.10

    I'm not surprised, however I do belong to the group that does not really care about relative performance to other OS's as performance is only one of the aspects from the vector of decisions we had to make to finally choose FreeBSD for mass-scale deployment.

    1. Re:Summary by mi · · Score: 3, Insightful

      Also FreeBSD 8 is a little faster than FreeBSD 7.2 but a lot slower than Ubuntu Linux 9.10

      Not disputing the conclusions of the memory, I/O benchmakrs, part of what they benchmarked is the compiler — FreeBSD's gcc-4.2.1 vs. Ubuntu's 4.4.1. I'm not surprised, GCC's newer release both compiles faster and produces faster binaries.

      You could say, FreeBSD is at fault (and thus deserves bad rep) for including an outdated compiler, but, on the other hand, FreeBSD's choice may prove wiser, when bugs in the hot new compiler surface... The compiler's history — as, really, that of any sufficiently complex piece of software — teaches, it is wise to stay several releases behind. Bugs in the older releases are known and all platforms — certainly including FreeBSD — merge fixes into their repositories.

      Their choice of using ImageMagick as a test is particularly suspect — that software has so many options (which graphics back-ends to include, whether to use OpenMP, etc.) and varies so greatly between its own frequent minor releases, that I'm sure they built it with subtle (but timing-affecting) differences between platforms... For just one example, FreeBSD's port of ImageMagick runs all of their bundled self-tests after compilation by default, which takes quite a while. Unfortunately, the testers don't even mention, how exactly they built the stuff. If they used the port on FreeBSD, did they change any options? If they did not use the port, then they didn't build ImageMagick the way the users will be building it... And if they did use the port and flipped some features, did they ensure an identical match between two FreeBSD versions and Ubuntu?

      --
      In Soviet Washington the swamp drains you.
    2. Re:Summary by TheRaven64 · · Score: 3, Informative

      FreeBSD ships with GCC 4.2.1 as the system compiler because it was the last release to be GPLv2 and GPLv3 stuff is not allowed in the base system. GCC 4.4 is in ports, and you can use this to compile ports easily by just setting a flag in make.conf if you care. FreeBSD 9 will hopefully be using LLVM/Clang as the system compiler, which should give it a nice boost.

      Phoronix has a history of doing long and misleading benchmarks between Linux and *BSD/Solaris, where they manage to include so many extraneous factors that the results are meaningless.

      --
      I am TheRaven on Soylent News
  5. Benchmarks... by coryking · · Score: 3, Insightful

    Benchmarks are useless. There are way more important things to judge an operating system then "speed".

    Does Ubuntu have nearly as good of documentation? No. It has that "info" nonsense.

    Does Ubuntu provide a stable platform to build a server? No. It, like most linux distros, changes whole versions during updates. That isn't stable.

    Does Ubuntu provide a way to strip itself down to the bare metal? Ain't as easy as the BSD's.

    Is Ubuntu built around solid engineering and design, or politics? Depends--Ubuntu seems to be less afraid of the big bad FSF as other distros, but it still is steeped in an OS built for politics. FreeBSD is pretty tame and tends to focus on solid engineering rather than political maneuvering.

    But really, Comparing FreeBSD to Ubuntu is like comparing OpenSolaris to Windows 7. FreeBSD is largely a server operating system were as Ubuntu is an end user operating system. And if you are comparing server operating systems, there are far more important criteria than "speed". Things like version stability are vastly more important.

    1. Re:Benchmarks... by nxtw · · Score: 4, Informative

      Does Ubuntu provide a stable platform to build a server? No. It, like most linux distros, changes whole versions during updates. That isn't stable.

      Ubuntu has LTS (long-term support) releases which are supported for 5 years on the server side. The last was 8.04 and the next will be 10.04.

      I prefer RHEL/CentOS, however. I wonder how many people use Ubuntu LTS instead of using RHEL or SLES instead.

      Does Ubuntu provide a way to strip itself down to the bare metal? Ain't as easy as the BSD's.

      How often is this important? I can think only of a few situations, such as when fitting a system into a small/cheap flash.

      But really, Comparing FreeBSD to Ubuntu is like comparing OpenSolaris to Windows 7. FreeBSD is largely a server operating system were as Ubuntu is an end user operating system. And if you are comparing server operating systems, there are far more important criteria than "speed". Things like version stability are vastly more important.

      Ubuntu has a separate 'server' version (which really just includes a different set of packages and a different kernel build.)

    2. Re:Benchmarks... by agnosticnixie · · Score: 2, Insightful

      1. Agreed, I think neither is really better and use depends on what you need, which of course some Linux and BSD zealots seem to disagree on - apparently the main free *nix are now entrenched enough to be part of the unix holy wars.

      2. Varies, FreeBSD doesn't have perfect docs either and other distros do have better docs

      3. Lrn2LTR

      4. Yes, it does, there's a 10MB barebones installer for the dedicated and if you need less, pick another distro, even FreeBSD will probably be tons of tweaking at this point.

      5. Political strawman yay

      6. Call the whambulance.

    3. Re:Benchmarks... by moon3 · · Score: 2, Insightful

      Speed is the most important factor for web-server scenarios, if FreeBSD can handle 10x more inserts into SQL-Lite then Ubuntu in the same benchmark, on the same hardware then Ubuntu is KO'ed by BSD in the server arena, no offense.

    4. Re:Benchmarks... by Rogerborg · · Score: 2, Insightful

      Ubuntu [is] steeped in an OS built for politics

      Hah, I see what you did there. You ripped on Ubuntu for being steeped in politics, while ignoring the available facts, i.e. that Ubuntu 10.4 is a stable Long Term Support release, and that it wipes the floor with FreeBSD 8.0 in performance.

      That's pretty funny. I mean, if you did it on purpose.

      --
      If you were blocking sigs, you wouldn't have to read this.
    5. Re:Benchmarks... by Abreu · · Score: 2, Informative

      Ubuntu Server Edition does not install X by default

      --
      No sig for the moment.
    6. Re:Benchmarks... by Just+Some+Guy · · Score: 2, Funny

      Writing fast / optimized code doesn't mean writing hard to read code, it just means writing the best code.

      That's just darling! For some reason, I picture you writing an MD5 library that keeps a hash table of inputs to their computed outputs so that you won't have to recalculate them. That'd be fast! And optimized!

      --
      Dewey, what part of this looks like authorities should be involved?
    7. Re:Benchmarks... by BitZtream · · Score: 2, Insightful

      How often is this important? I can think only of a few situations, such as when fitting a system into a small/cheap flash.

      Its important to those of us that know by not including extra stuff on the machine, that extra stuff can not possibly be exploited, cause problems, waste resources or any number of other reasons that don't come to mind right at the moment. Including extra stuff is almost always a bad idea when you're doing a server. Desktops are a little different. Interestingly enough, Ubuntu is desktop focused with some server on the side. FreeBSD is server only, with some people who refuse to give up on making it a desktop OS, which they actually do a reasonably good job at if you're technical enough to deal with some of the quirks along the way.

      You are of the same mentality as MS. Disk space and memory is cheap, who cares if we waste space with unneeded stuff!

      Thats fine for a desktop OS where making things work off the bat for the user is more important than being intelligent. Personally, I'd rather you give me a ton of options and sane defaults rather than an installer that basically just copies everything from the cd/dvd/nfs mount to the drive and reboots.

      However, its certainly doable with Ubuntu, it just takes more work than with FBSD. The difference is really in the installer. Ubuntu is far more ignorant-user-friendly than FreeBSD, which is perfectly acceptable as its aimed more at being easier to use. I've been using FBSD since 2.2.x and with the exception of a minor change allowing for selection of your X desktop environment the FBSD installer hasn't changed since then and I still made a mistake and wasted an install during an install of an 8 preview. Entirely my fault for not paying attention, but its one of those things that the Ubuntu installer most certainly would have red flagged or just not allowed at all. Different designs for different targets, both are better than the other in the areas they intend to be.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
  6. Ubuntu *is* Linux for a lot of people by elrous0 · · Score: 5, Interesting

    When my friends ask me about Linux, I usually steer them toward Ubuntu first, as it's the most user friendly and well-supported distro out there. Canonical really puts a lot of development work into it, and it shows (in this result and many others). In the past, I usually avoided the Linux topic altogether, as there were so many confusing distros that even trying to explain the concept of Linux to non-geeks (and even many geeks) was a huge pain in the ass. So, I for one welcome our new Ubuntu overlords.

    --
    SJW: Someone who has run out of real oppression, and has to fake it.
    1. Re:Ubuntu *is* Linux for a lot of people by Bill+Dimm · · Score: 2, Interesting

      Wow, so I'm not the only one that doesn't understand the Ubuntu love-fest? I only tried it once (8.04 64-bit), but I got frustrated with it very quickly. For example, I logged in as a normal user (not root), selected the network configuration app from the menu, and was not prompted for the root password. Everything just came up ghosted and unusable. I tried to log in as root, but you can't do that ("admin not allowed to log in from this screen" -- is there some other screen that admin can log in from?). I ended up having to pull up a shell, guess the name of the network admin app (/usr/bin/network-admin), then su and run it. This is supposed to be user-friendly? How does something that brain-damaged get released? I ran into several other problems (it's been too long for me to remember details), and just gave up on it after a few hours. I haven't had problems like that with other distros (OpenSUSE has worked quite well for me lately). I just don't see why people think Ubuntu is so much better than everything else.

    2. Re:Ubuntu *is* Linux for a lot of people by Bill_the_Engineer · · Score: 2, Insightful

      Wow, so I'm not the only one that doesn't understand the Ubuntu love-fest?

      This should be interesting... Someone who doesn't understand why everyone doesn't think alike.

      I only tried it once (8.04 64-bit), but I got frustrated with it very quickly.

      So we all know how qualified you are when it comes to unbuntu. I use 8.04 since it's the latest LTS version and I haven't had any problems with it. Your mileage may vary.

      For example, I logged in as a normal user (not root), selected the network configuration app from the menu, and was not prompted for the root password. Everything just came up ghosted and unusable.

      Well maybe it would have helped to press that button label "Unlock" and then type your password.

      I tried to log in as root, but you can't do that ("admin not allowed to log in from this screen" -- is there some other screen that admin can log in from?). I ended up having to pull up a shell, guess the name of the network admin app (/usr/bin/network-admin), then su and run it. This is supposed to be user-friendly? How does something that brain-damaged get released?

      Again it would have gone a whole lot easier if you just clicked the unlock button. Quit being a drama queen.

      I ran into several other problems (it's been too long for me to remember details), and just gave up on it after a few hours. I haven't had problems like that with other distros (OpenSUSE has worked quite well for me lately).

      Whew... I was on pins and needles wondering if you would find a Linux distribution that you liked. *sarcasm*

      I just don't see why people think Ubuntu is so much better than everything else.

      Maybe because people have different tastes? A much better question you should have asked is "If everyone else thinks Ubuntu satisfies their needs, what am I doing wrong?" or the best question to ask is "I wonder if I should ask for help since I seem to be in the minority of people who think Ubuntu is too difficult to use?"

      I heard some valid criticisms about Ubuntu, but not being user friendly isn't one of them.

      I thought people who get caught up in the Windows vs. Linux vs. OS X vs. BSD were pretty small minded. How small a mind do you have to have to fight over which distribution of a single OS is the best? Heaven forbid someone else uses something different then you.

      My apologies for making these snide remarks, I'll be in a much better mood once my coffee kicks in. Anyway, what kind of response did you expect?

      Maybe you should have reworded your comment into:

      I wonder if they will post a benchmark comparing FreeBSD 8.0 to my favorite linux distro?

      --
      These comments are my own and do not necessarily reflect the views or opinions of my employer or colleagues...
  7. For those that want to skim TFA for the bad result by MikeRT · · Score: 3, Interesting

    The areas where FreeBSD gets its ass kicked by Ubuntu start on page 7...

    It seems to me like FreeBSD's real problem is incredibly bad I/O compared to Linux. The majority of the CPU-heavy tests were nearly neck-in-neck.

  8. Truly crap-tastic charts by vrmlguy · · Score: 5, Insightful

    Eight pages of bar charts, each gray-on-gray. On half of them, shorter bars mean better performance, on the other half, longer is better; the only way to know which is which is in a legend, written in a small font.

    Here's a suggestion: color-code the bars! Green is good, red is bad, yellow is in the middle of the road. For bonus points, choose the saturation based on magnitude of the differences. If the numbers are close, go with grayer bars, if the differences are dramatic, use dramatic colors.

    Finally, how about a line chart at the end showing all of the numbers in one place? Yeah, you'd need to convert everything to be consistent if longer or shorter is better, but that's a good idea anyway.

    --
    Nothing for 6-digit uids?
  9. BSD did rather well by John+Jamieson · · Score: 3, Interesting

    I'm not a BSD user, but I don't see BSD taking a real kicking in these benchmarks. In the majority of the benchmarks, the average user could not discern a speed difference.

  10. Re:For those that want to skim TFA for the bad res by amorsen · · Score: 2, Informative

    It's fairly difficult to bungle traditional CPU-heavy loads. The kernel just needs to get out of the way and let userspace do whatever it wants to do. Try the same tests on Mac OS X and Windows (assuming they compile), and you'll see just about the same performance.

    --
    Finally! A year of moderation! Ready for 2019?
  11. Re:Safe to assume? by Ian+Alexander · · Score: 4, Funny

    Yes, because the masses of casual users struggling under the crushing weight of FreeBSD that was preinstalled on their PC will naturally flock to Ubuntu...

  12. Re:For those that want to skim TFA for the bad res by Galactic+Dominator · · Score: 3, Interesting

    That's to be expected considering the defaults of ext4 vs ufs2. You can increase flush time on ufs2 and expect a similar increase. Revert to ext3 and it would be a completely different outcome. Interesting to see all the chest pounding on choice for default settings in a desktop enviro vs a traditionally server one. Would have been a been comparsion to use the upcoming PCBSD's release vs Ubuntu's, but we've seen the bias from Phoronix before.

    --
    brandelf -t FreeBSD /brain
  13. FreeBSD is still in debugging mode by Just+Some+Guy · · Score: 5, Informative

    From the update notes in /usr/src/UPDATING:

    NOTE TO PEOPLE WHO THINK THAT FreeBSD 8.x IS SLOW:
    FreeBSD 8.x has many debugging features turned on, in both the kernel and userland. These features attempt to detect incorrect use of system primitives, and encourage loud failure through extra sanity checking and fail stop semantics. They also substantially impact system performance. If you want to do performance measurement, benchmarking, and optimization, you'll want to turn them off. This includes various WITNESS- related kernel options, INVARIANTS, malloc debugging flags in userland, and various verbose features in the kernel. Many developers choose to disable these features on build machines to maximize performance. (To disable malloc debugging, run ln -s aj /etc/malloc.conf.)

    Since the article didn't mention anything about disabling all the debugging options, I'll consider this an invalid benchmark until shown otherwise.

    --
    Dewey, what part of this looks like authorities should be involved?
    1. Re:FreeBSD is still in debugging mode by Anonymous Coward · · Score: 2, Informative

      WITNESS and INVARIANTS were disabled on Sep 10 (http://svn.freebsd.org/viewvc/base?view=revision&revision=197065). FreebSD 8.0-RC1 was built on Sep 17th.

  14. Phoronix? Moronix more like. by LizardKing · · Score: 4, Informative

    Yet again a benchmark against a pre-release version of FreeBSD where the testers didn't even bother reading the documentation. Anyone actually familiar with the FreeBSD development and release process would know that a release candidate has a considerable amount of debugging options turned on. This is to help diagnose any problems as the last issues are shaken out of a release, but has an adverse impact on performance.

    1. Re:Phoronix? Moronix more like. by Conley+Index · · Score: 3, Informative

      Anyone actually familiar with the FreeBSD development and release process would know that a release candidate has a considerable amount of debugging options turned on.

      On Sep-10, most debugging was disabled: http://lists.freebsd.org/pipermail/svn-src-all/2009-September/013399.html

      On Sep-17, there was the last commit before 8.0-RC1: http://lists.freebsd.org/pipermail/svn-src-all/2009-September/013645.html

      Anyone familiar with the FreeBSD development and release process would know that there are no fixed rules rules when certain stuff happens and there are no sweeping changes like turning off debugging between a late RC and the actual release. (Other debugging stuff like kernel and module symbols are kept for the release.)

  15. terrible review methods by buddyglass · · Score: 3, Informative

    I stopped reading when I realized they didn't even use the same version of GCC in their compilation comparison.

    1. Re:terrible review methods by buddyglass · · Score: 2, Interesting

      Actually compilation itself is a questionable benchmark due to all the variables you can't control. For instance, maybe the code contains pre-processor directives that result in entire modules not being compiled on one OS or the other? But if you're going to use it as an OS benchmark, you should at least use the same version of GCC.

      The other dumb thing I often see are benchmarks using tasks that are single-threaded and almost entirely processor-bound. In other words, tests that are mostly useless for exposing differences between operating systems, most of which revolve around scheduling, memory management and I/O.

  16. Re:Sigh... by jedidiah · · Score: 3, Insightful

    You can only do an equally good job with MacOS.

    For this grant priveledge you get a meagre selection of hardware that will
    either gouge you or leave you wanting. You also get an alien environment
    with a number of annoying quirks and inferior package management to any
    Unix. Package managment is a "Unix thing" and not just a Linux thing. This
    is one area where MacOS demonstrates it's not really Unix.

    Some of the proprietary tools you get with MacOS might be moderately more
    useful but they will have quirks of their own, suffer from NIH syndrome
    and may also suffer from addressing problems in a superficial manner.

    BSD is at least a proper Unix.

    --
    A Pirate and a Puritan look the same on a balance sheet.
  17. Compiling in FreeBSD by phorm · · Score: 5, Interesting

    Actually, you'll probably do quite a bit of compiling in FreeBSD too. While you can pull binary packages, most people I know prefer to use a package manager like portsnap and compile source packages.

    If you have a script to take care of compiling the common stuff, then just "make config" everything that need user input and let it fly. Granted, most servers I've used BSD on have been dual or quad core Xeon/AMD PC's with a fair bit of RAM, so it is overall a fairly quick process, though it was still not too bad on a few P4-era celerons.

    The nice thing about FreeBSD source-compiled apps that I truly did love compared to BSD is the little tweaks you could do to avoid tons of crap dependencies. Debian used to be fairly "clean" as far as deps, but both Ubuntu and Deb are now getting quite ugly in that you get rather unwanted stuff in order to get the package you want. In most FreeBSD stuff, for example, I can check the "No X Server" box and happily compile my apps without any X support whatsoever. On Debian/Ubuntu I end up trying to install some CLI system monitoring tool or CUPS, whatever, and end up with a whackload of x.org stuff because it's tied to some font which is loosely tied to the actual package I'm trying to install. On Ubuntu desktops, trying to exorcize the demons of "Evolution" without having it remove other important stuff due to deps is near impossible. Sometimes there's a separate branch for a "cleaner" install, but often enough not.

    Of course, BSD ain't perfect. Linux tends to have a lot of "new" stuff that BSD is a little more "conservative" in bringing into the mainline (iSCSI support for example was a fairly recent addition compared to 'nix), but overall the package system is powerful indeed.

    Having not used Gentoo (yet) but knowing others who have, it seems like it might be somewhat similar in concept. The issues I've heard with are mostly in people getting to the up-and-running stage, but - similar to BSD - avoid annoying little conflicts or unwanted cruft is a lot easier than Debian/Ubuntu's precompiled binaries. Of course, I've also heard of much frustration in both if you have find halfway through a *long* compile that you missed something you should have flagged/included.

  18. Once again, benchmarks fail by bonch · · Score: 2, Informative

    How about we see this against a version of FreeBSD that doesn't have debug on according to /usr/src/UPDATING?

    NOTE TO PEOPLE WHO THINK THAT FreeBSD 8.x IS SLOW:
    FreeBSD 8.x has many debugging features turned on, in both the kernel and userland. These features attempt to detect incorrect use of system primitives, and encourage loud failure through extra sanity checking and fail stop semantics. They also substantially impact system performance. If you want to do performance measurement, benchmarking, and optimization, you'll want to turn them off. This includes various WITNESS- related kernel options, INVARIANTS, malloc debugging flags in userland, and various verbose features in the kernel. Many developers choose to disable these features on build machines to maximize performance. (To disable malloc debugging, run ln -s aj /etc/malloc.conf.)

    1. Re:Once again, benchmarks fail by ens0niq · · Score: 2, Informative

      Sorry, sir

      From Phoronix:

      "The tests that were carried out under FreeBSD 7.2, FreeBSD 8.0 RC1, and Ubuntu 9.10 Alpha 6 included timed ImageMagick compilation"

      From freebsd-current mailing list:

      > Hi,
      >
      > I would like to ask that the FreeBSD 8.0-RC1 ISO-s free from the
      > debugging features (WITNESS, malloc debugging, etc.)? Or these
      > services are still being active?

      They are gone, for the most part. r197065: http://svn.freebsd.org/viewvc/base?view=revision&revision=197065

      Remove extra debugging support that is turned on for head but turned off for stable branches:

      - shift to MALLOC_PRODUCTION
      - turn off automatic crash dumps
      - Remove kernel debuggers, INVARIANTS*[1], WITNESS* from
      GENERIC kernel config files[2]


      [1] INVARIANTS* left on for ia64 by request marcel
      [2] sun4v was left as-is

  19. Im colourblind you insensitive clod by masmullin · · Score: 2, Insightful

    NEVER solely use colours to describe things.

  20. Re:GPLv3 stuff is not allowed in the base system by notamisfit · · Score: 2, Interesting

    Certain companies (Apple) have no-GPLv3 policies in place.

    --
    Jesus is coming -- look busy!
  21. Re:Sigh... by Just+Some+Guy · · Score: 2, Informative

    freebsd is 100% binary compatible with linux.

    Snicker. I love FreeBSD and run it on all the servers I administer, but the Linux compatibility stuff pretty much ends at usermode. Good luck firing up VMWare or anything else that requires an un-ported kernel module! In practice, every program I personally want to run on FreeBSD is available as a native binary or in ports, with the exception of programs that require kernel mods, in which case they won't work at all anyway.

    --
    Dewey, what part of this looks like authorities should be involved?
  22. Debugging/self-check in the FreeBSD kernel by cracauer · · Score: 3, Insightful

    People mentioned the self-checks and debugging features that used to be turned on in FreeBSD development branches and beta releases.

    Self-checks, which are the major source of kernel slowdowns in those kernel options, are not turned on in the 8.0 release candidates.

    Debugging is on, but unless you are very short of memory it should not cause a noticeable slowdown.

    FreeBSD's slowness in these benchmarks can be attributed to two factors:

    1) the compiler. The GPL v3 is unacceptable for FreeBSD, so newest GCCs cannot be used as the base compiler. Users can choose to install a new gcc on their own (as a port) and then even go and compile all ports and even the base system with that new compiler (some parts might not have been cleaned up to comply with new language strictness that might have come with new gccs).

    2) threading, as in the userland threading library support. It is very hard to tell whether there is some performance problem in FreeBSD's thread libraries or whether applications just happen to have been optimized and tested only with Linux.

    That happens a lot and you can also see Solaris with it's M:N threading fail miserably for some threading benchmarks that do dump things, such as just creating and destroying threads at a high rate.

    %%

    The problem of "thread benchmarks" benchmarking bogus things and/or just having been written with Linux' thread model in mind has been going on for 12 something years now. Benchmarking thread systems in a realistic manner is very difficult. In real-world applications you don't create and destroy threads at a high rate and you minimize locking. Benchmarking this is almost as hard as benchmarking programming languages.

    I haven't benchmarked threading libraries, knowing that it will take time that I don't have right now. I can tell you, however, that just the I/O subsystem in FreeBSD, as in filesystems and networking, isn't any slower than Linux. Not to mention GbE and today's disks are too slow to really show an OS difference for most tests anyway.

    %%

    The real question of I/O subsystems will come in when ZFS+Zraid is standard in FreeBSD and BTRFS is standard in Linux. In a couple of years from now nobody will understand why we ran today with no snapshots, with the raid hole (from block layer raid systems) and without transparent compression in the subtrees where we want it.

    But these filesystems are complicated and there's some real performance difference visible.

    %%

    An area completely overlooked in the benchmark is the VM subsystem. Namely - what happens when you overload your RAM and paging commences? Linux used to make very bad choices here (dropping readonly pages, which is a wise thing as such, at rates about 10 times higher than wise).

    FreeBSD used to be the go-to OS on memory shortage thanks to John Dyson's VM work (backed by a large database company that provided support and a realistic benchmarking environment during that development).

    But today? Nobody knows. I'm not aware of any benchmarks that you can download that simulate memory stress and map the tradeoffs that the OS makes.

    In general, the biggest obstacle to improve Linux, FreeBSD and everybody's else's OS performance is a lack of high-quality benchmarks.

    Why don't people develop more benchmarks? Because they get annoyed that today, in 2009, no realistic OS benchmark will show a single number as a result. All OS benchmarks today can only make a map of what tradeoffs the OS chose, what part of the running application suite got the short end in favor of what other part. This isn't sexy and publishers don't like it.

    People like reality reduced to single numbers, but in the area os OS benchmarks (and language benchmarks) that party is over.

    Myself, I found myself gasping many years ago when I benchmarked network I/O versus userland CPU load. I hammered a couple of GbE interfaces while at the same time running moderate memory-intensive CPU benchmarks (with no network access from those CPU lo