Slashdot Mirror


Benchmarking the Scalability of BSD and Linux

Fefe writes "I recently did some benchmarks for a talk about scalable network programming I held at Linux Kongress 2003. The benchmark results turned out to be surprising enough to present them on their own. This ought to end those pesky flame wars about whose IP stack or memory management scales better. Or maybe not."

210 of 433 comments (clear)

  1. FreeBSD may be dying but it's fast! by seanadams.com · · Score: 4, Interesting

    Can anyone explain the discontinuities in the FreeBSD plots? Intuitively I would guess that something is breaking at high load, rather than getting miraculously faster. The author suggests that a clever optimization is kicking in, but I wonder if his tests were actually ensuring that the calls succeed.

    Also watch out as you read the graphs - just to keep you on your toes, he changes the colors in every one!

    1. Re:FreeBSD may be dying but it's fast! by zcat_NZ · · Score: 2, Funny

      Can anyone explain the discontinuities in the FreeBSD plots?

      I would have thought that was obvious.. .. BSD is dying. :)

      --
      455fe10422ca29c4933f95052b792ab2
    2. Re:FreeBSD may be dying but it's fast! by Almost-Retired · · Score: 2, Informative

      I'm not so sure its dying, but forked it certainly is. Go checkout whats going on in the "dragonflyBSD" camp. Most of the posts have been by Prof Matt Dillon, an experienced coder who came up thru the amiga ranks, writing the popular DICE C compiler for it many years ago.

      What he has to say so far tells me that his version of BSD will both scale very well AND work great in the SMP dept. The process locks that slow down linux in SMP versions and prevent its doing x amount of work for each processor added are being done away with by Matt by subbing a job isolation scheme that assures each job runs on its own cpu rather than handing each call off to a freshly assigned one.

      He seems to think it will scale a lot better with far fewer halts for cache flushing and reloads. What I've read so far would seem to make sense. He claims its already more stable and faster than FreeBSD in any version 4.8, which he used for the fork base. First release target is next year.

      No, I don't think BSD is dying, just doing an end run to a higher place in the performance pack a year from now.

      --
      Cheers, Gene

    3. Re:FreeBSD may be dying but it's fast! by __aafkqj3628 · · Score: 4, Informative

      Can anyone explain the discontinuities in the FreeBSD plots?

      Well, the drop-offs of FreeBSD in a couple of the graphs can be explained by him not reading the docs.

    4. Re:FreeBSD may be dying but it's fast! by DrEldarion · · Score: 1

      Also watch out as you read the graphs - just to keep you on your toes, he changes the colors in every one!

      It seems as though he wanted to keep them the same - FreeBSD 5.1 got red most of the time, etc. I think he just got lazy eventually and just started selecting random ones. It's pretty confusing until you actually read the key for every pictures.

      -- Dr. Eldarion --

    5. Re:FreeBSD may be dying but it's fast! by moderators_are_w*nke · · Score: 2, Informative

      I think 5.1-CURRENT is absolutely a fair comparison with Linux 2.6-test7. Both are the almost finished code for the next stable release.

      Maybe you wouldn't run either of them right now, but a few months down the line, these will be what everyone is using.

      --
      "XML is like violence. If it doesn't solve your problem, use more." - Anonymous Coward
    6. Re:FreeBSD may be dying but it's fast! by WindBourne · · Score: 2, Interesting

      The process locks that slow down linux in SMP versions and prevent its doing x amount of work for each processor added are being done away with by Matt by subbing a job isolation scheme that assures each job runs on its own cpu rather than handing each call off to a freshly assigned one.
      If I understand what you wrote, that approach will work well for something with near static process creation. However, if you are constantly forking and having the number of processes/threads being created at rapid rates, it will actually be slower and utilize the resources poorly. Basically, you allocate a process to a CPU based on current loads and then it stays on the CPU. Nice and easy. But assume that you fork 5 processes. These are distributed between the 2 processors. But then 2 exit. That leaves 3 running. If they were allocated on the first CPU, that would mean that the 2'nd gets no utilitization. Linux has locks, but now, they are minimized. Yeah, it sux to create these, but when trying to create a 1000 processes/threads and utilize the 8-16 CPU's that will be used in the near future, the Linux approach will scale dramatically better.
      The real trick is not to move back to the old job approach of mainframes (which is roughly what you describe), but to lower the costs of using all the resources. I think that 2.6 has done just that. In addition, it allows for nice scaling on 1024 CPUs.

      --
      I prefer the "u" in honour as it seems to be missing these days.
    7. Re:FreeBSD may be dying but it's fast! by Almost-Retired · · Score: 1

      Well, to this admittedly old fart, both methods would seem to have advantages depending on the scenario being painted.

      Matts ideas may, or may not work in the real world, and in due time the results will be known.

      But he seems to understand the idea, and spent a few lines pointing out that his version was already many times more stable than 4.8, and which he claimed was losing its stability with each incremental issued. Right now, (& IIRC, check his site in case I've got it all fubar) about 90% of the locks have been removed in his code base.

      In either case, going down an alternate path will be educational for those who care. A road less traveled for sure. A quicker way? We'll have to wait and see...

      --
      Cheers, Gene

    8. Re:FreeBSD may be dying but it's fast! by sirket · · Score: 1

      The OpenBSD and FreeBSD graphs stop early because OpenBSD crashed when I forked more processes, and I couldn't find out how to increase FreeBSD's system limit on the number of processes (sysctl said the value was read-only).

      If you can't figure out how to tune the OS, you sure as hell should not be benchmarking it. That line makes this whole "benchmark" worthless to me.

      -sirket

    9. Re:FreeBSD may be dying but it's fast! by sirket · · Score: 1

      The really sad thing is, all of the information that the author could not find is in the tuning man page. It does not get any lazier than that folks.

      -sirket

    10. Re:FreeBSD may be dying but it's fast! by ceswiedler · · Score: 1

      No matter how much tuning he DID do, there would always be more to do (and more experts on each system pointing out what he could do). Obviously he tried, and is willing to re-run the tests if anyone has a suggestion. So, contribute instead of criticizing, and send him an email explaining how to better tune FreeBSD.

    11. Re:FreeBSD may be dying but it's fast! by ttfkam · · Score: 1

      So basically what you're saying is that FreeBSD starts to drop incoming sockets past a certain point. I guess this can be taken one of two ways (or both).

      1) FreeBSD developers feel the need to drop incoming socket connections in order to preserve performance for the rest of the system.

      - and/or -

      2) Linux 2.6 scales better.

      Why would this option start dropping at 4,000 connections *by default* instead of going the distance by default and allowing the sysadmin to throttle back if necessary?

      --

      - I don't need to go outside, my CRT tan'll do me just fine.
    12. Re:FreeBSD may be dying but it's fast! by WindBourne · · Score: 1

      Matts ideas may, or may not work in the real world, and in due time the results will be known.
      Actually, I am curious to see where it ends up at. It may actually do very well for small systems that are not under heavy loads. The approach will allow for much simpler code which should make for fewer security issues.
      I was also thinking that it may make for a interesting virtual type system. I was thinking that UML (User Mode Linux ) could use a nice competitor. This approach would basically allow the hosting system to decide where to run the code and then allow the virtual system to simply run. In either case, going down an alternate path will be educational for those who care. A road less traveled for sure. A quicker way? We'll have to wait and see...

      Yeah, you never know where things will end. After all, look what tannenbaum and minix spawned. :) Or should I say forked?

      --
      I prefer the "u" in honour as it seems to be missing these days.
    13. Re:FreeBSD may be dying but it's fast! by sirket · · Score: 1

      No matter how much tuning he DID do, there would always be more to do (and more experts on each system pointing out what he could do).

      The problem here is not that the box wasn't tuned for performance, I can respect that. The real problem is that the box didn't work. He hit limits that prevented him from doing a real benchmark.

      So, contribute instead of criticizing, and send him an email explaining how to better tune FreeBSD.

      It's in the man page. I'm sorry but he should RTFM.

      -sirket

    14. Re:FreeBSD may be dying but it's fast! by Daniel+Phillips · · Score: 1

      If you can't figure out how to tune the OS, you sure as hell should not be benchmarking it. That line makes this whole "benchmark" worthless to me

      With your superior knowledge you should run your own, improved benchmarks and post the results.

      --
      Have you got your LWN subscription yet?
    15. Re:FreeBSD may be dying but it's fast! by iabervon · · Score: 1

      I assume you mean the areas in which there is no data for FreeBSD (due to the max number of processes issue). But that's an understandable issue (although he must have missed making it runtime configurable or something). The interesting question is why FreeBSD performs better with a lot of data than with less data in some cases while still being successful.

    16. Re:FreeBSD may be dying but it's fast! by BorgCopyeditor · · Score: 1
      If you can't figure out how to tune the OS, you sure as hell should not be benchmarking it. That line makes this whole "benchmark" worthless to me

      With your superior knowledge you should run your own, improved benchmarks and post the results.

      By that logic, with your superior knowledge of who should run benchmarks and post results, you should be the one to run them.

      --
      Shop as usual. And avoid panic buying.
    17. Re:FreeBSD may be dying but it's fast! by epine · · Score: 1


      With his superior knowledge, he should contribute to the tuning documentation so that everyone can benefit. No wait--that's already been done.

      I've seen so many benchmarks devote many boring pages of text to the hardware and software configuration used. For once I'd like to see a benchmark that discloses what standard documentation the benchmarker bothered to read before pontificating on his results.

      If the system clearly documents a limit of 4000 foofroms and then the person testing the system exceeds this limitation, it's the person using the system who has failed, not the system itself. Correct behaviour of a system is to function as documented. If you can't be bothered to read that documentation, you aren't qualified to apply the word failure to anything other than your own actions.

    18. Re:FreeBSD may be dying but it's fast! by greenrd · · Score: 1
      It's called context.

    19. Re:FreeBSD may be dying but it's fast! by tigga · · Score: 1
      So basically what you're saying is that FreeBSD starts to drop incoming sockets past a certain point.


      Whatever he's saying FreeBSD does not start to drop incoming packets because tests succeded.

    20. Re:FreeBSD may be dying but it's fast! by sirket · · Score: 1

      should i have to exhaustively learn the tuning parameters of each OS so i can get comparable benchmarks?

      Would you try to compare sports cars if you could not figure out how to shift one past second gear? Of course not. So why the fuck would you try to benchmark operating systems if you can figure out how to configure one for high volume operation?

      you're being elitist.

      And you're being a fucking idiot.

      -sirket

    21. Re:FreeBSD may be dying but it's fast! by OsamaBinLogin · · Score: 1

      > FreeBSD may be dying...

      on the off chance that SCO gets lucky, I think we'll see a revival of FreeBSD.

      (yeah, I think it's unlikely.)

      --
      Marketing-driven companies end up over-marketing their products. Engineering-driven companies end up over-engineering
    22. Re:FreeBSD may be dying but it's fast! by Wolfrider · · Score: 1

      Oh. My. God. I bet Theo is going to go *apeshit* over this article... (Either that, or he just won't care.)

      Seriously, I installed Openbsd for a while on my 900MHz Duron, and it ran dog-slow even at the command prompt. He's right about the installation procedure needing rework, and it looks like the developers need to sit down and re-think a lot of things.

      When this happened with Linux a few years ago (benchmarks revealing flaws) people got mad for a while, then settled down and started writing code to fix it. Result: 2.6 too a long time to get here, but did well in pretty much every area.

      I only hope the OpenBSD folks catch the same wave. Yeah, it's great that the OS is so *secure* by default, but they should also spare some focus on fixing the deficiencies and improving usability and speed.

      --
      .
      == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
  2. no! by millette · · Score: 1

    Who's going to publish benchmark about this webserver's scalability?

    1. Re:no! by __aafkqj3628 · · Score: 1

      Well, it is running on Linux...

    2. Re:no! by unixformat · · Score: 1

      I think the slashdotting of the benchmarking and scalability results is a test to the the scalability of Linux on a Sun IPX

  3. Got Mirror? by Anonymous Coward · · Score: 2, Funny

    Apparently the webserver with the results didn't scale so well. It's /.ed already.

    1. Re:Got Mirror? by Stephen+Samuel · · Score: 1
      I'd have thought that someone who submitted his own site would be ready for the resulting slashdotting -- especially someone who passes his time doing benchmarks.

      Hopefully, his next submission will be an estimate of the CPU and bandwidth required to handle a slashdotting, so that the rest of us don't get caught so flat-foted.

      --
      Free Software: Like love, it grows best when given away.
    2. Re:Got Mirror? by TheBadger · · Score: 1

      Obviously running on Linux.....

  4. Isn't it ironic.... by Anonymous Coward · · Score: 1, Funny

    That there is a story posted on scalability, but the gents web server does not respond?!? Just a thought...

    1. Re:Isn't it ironic.... by stud9920 · · Score: 1

      No it's not ironic. Nowhere in the article does it say that the hardware scales.

    2. Re:Isn't it ironic.... by Rheingold · · Score: 1

      Nor does it say he's got plenty of bandwidth. Still, he could have planned it a little better before submitting it, since he did it himself.

      --
      Wil
      wiki
  5. Why the hell fbsd 5.1? by Anonymous Coward · · Score: 1, Insightful
    This guy either had an agenda, or knows nothing about freebsd. He should have used freebsd 4.8, or 4.9rc2. Why the hell use 5.1-current? It's still experimental and has not gone -STABLE yet.

    His experiments noted a few crashes. HELLOOOOO. That's a clue. Check out this line from the study:
    I installed a FreeBSD 5.1-RELEASE on a free partition. However, the kernel turned out to be unstable under load and would panic or even freeze under load. So I reluctantly upgraded the kernel to 5.1-CURRENT
    Reluctantly? Why reluctant? He's already installed the non-stable branch. Why not go whole hog and run current? It's like he was trying to make freebsd fail by installing an experimental non-stable branch.

    Sheeeez. Just for those who don't know, it's important in freebsd to not just look at the version numbers, but also look at what the branch is -RELEASE, -CURRENT or -STABLE. Right now, only the 4.x branch is -STABLE. Just because the version number is higher does not mean you should upgrade. Stick with -STABLE, unless you know what you're doing

    Now, I'm not saying linux won't do a great job compared to freebsd. It's just that this study did everything it could to slant against freebsd. What kind of reaction would the community have it this had been released by Microsoft? I suspect in this case, it was just a beginner's mistake.

    Benchmarking is hard work. He should redo his study with proper installations from a -STABLE tree, and report back in.
    1. Re:Why the hell fbsd 5.1? by Anonymous Coward · · Score: 1, Insightful

      And... has Linux 2.6 been flagged "Stable"? It does a mighty fine job for beta software, don't you think?

    2. Re:Why the hell fbsd 5.1? by molnarcs · · Score: 5, Informative

      I knew when I read the post that this would lead to another FreeBSD v. Linux flamewar, despite the author's claims of 'hoping' to end those.

      I don't think using 5.1-CURRENT is a problem, but the way the benchmark results were layed out was begging for a flamewar. As I explained earlier the results are not as bad as either linux fanatics, or FreeBSD fanatics would have it. It would have been simple to avoid such flamewar (or am I too optimistic?) by doing two things:

      Explain the status of both (linux 2.6 and FreeBSD 5.1) development branches - as I have outlined in my earlier post. If you take into consideration what I have written above, than you would have realized that results for FreeBSD are not that bad, in fact, they are excellent.

      Include results for 4.8 - or 4.9 rc3 (but I would be happier with just the production release) in the test, just as 2.4 was included on the linux side.

      To sum up: I believe that these benchmarks confirms what I thought for a long time: FBSD 5.1 development is on par with Linux 2.6. Perhaps this was the reason for his last "Or may be not" remark.

    3. Re:Why the hell fbsd 5.1? by Zefram · · Score: 1
      Sheeeez. Just for those who don't know, it's important in freebsd to not just look at the version numbers, but also look at what the branch is -RELEASE, -CURRENT or -STABLE. Right now, only the 4.x branch is -STABLE. Just because the version number is higher does not mean you should upgrade. Stick with -STABLE, unless you know what you're doing


      Actually, that is not true. It comes out of the unfortunate naming of the CVS repositories. If you're concerned about stability, stick with RELEASE. STABLE is still a development branch, more stable than CURRENT, but bound to have some problems.

      That said, I believe 5.1CURRENT to be better than 4.8RELEASE. They've done alot of work with memory management and the like, which first appeared in the 5.x branch, I believe, and will be released in the 4.9 release. If you run STABLE, you've probably seen the improvements. I'd be interested in seeing the tests run with 4.9 release, when available.

      John
      --
      What about MEEPT?!?!
    4. Re:Why the hell fbsd 5.1? by You're+All+Wrong · · Score: 1

      Lots of blah blah blah, but I don't notice you supply any figures.
      He's shown me the 5.1-RELEASE DNF and the 5.1-CURRENT figures, and you've shown me hot air.

      And
      "this study did everything it could to slant against freebsd."
      is nothing but _paranoia_.

      Lock your doors and your windows, remember. Just in case. Don't answer the phone either - it's Linux hackers trying to brainwash you with telephonic telepathy.

      YAW.

      --
      Your head of state is a corrupt weasel, I hope you're happy.
    5. Re:Why the hell fbsd 5.1? by nutznboltz · · Score: 1
      My issue is that if Felix's explaination of why he picked FreeBSD 5.1 is:
      Because I read that they did many exciting scalability improvements in FreeBSD 5, and that's what this is about, after all.
      You'd think that he would be interested in benchmarking both versions to see the impact of all those improvements.
    6. Re:Why the hell fbsd 5.1? by Uerige · · Score: 1

      You do realize that it was tested against the development branch of the linux kernel, do you?

    7. Re:Why the hell fbsd 5.1? by Jungle+guy · · Score: 1
      Have you realy read the article? The guy is primarily a Linux user, but considered FreeBSD the fastest free Unix-like system around - wining for a small margin Linux 2.6. He said that NetBSD was the only OS that has not crashed on him, and that is normal, as he tested unstable version from FreeBSD, OpenBSD and Linux 2.6. Notice, however, that he has tested Linux 2.4, that was suposed to be stable.

      All in all, you can read that, as far as performance and stability goes, the article says that the current Linux kernel ranks below the BSDs, but that this situation should change with Linux 2.6.

    8. Re:Why the hell fbsd 5.1? by ahodgson · · Score: 1

      Actually he said it was the only BSD that didn't crash on him.

  6. great by andih8u · · Score: 1

    Note to self: Never run benchmarking tests on live webserver

    --


    slashdot, news for crazed liberal socialist zealots
  7. It looks as though by maroberts · · Score: 1

    ...his web server is not very scaleable in response to Slashdotting!

    --

    Donte Alistair Anderson Roberts - hi son!
    Karma: Chameleon

  8. Open Source Software clearly superior by jgardn · · Score: 4, Interesting

    The winner in this case is Open Source software.

    The article is very fair and very well thought out. It is almost like reading a research paper. It looks like he is inviting criticism, insight, and corrections, rather than trying to force the experiments into a pre-determined outcome.

    Such a thing is not possible in the proprietary world. Any study done on proprietary software has to be tainted with opinion and the experiments must be skewed. Read the EULAs. Some EULAs won't even allow you to publish the results of such tests.

    Open Source software, of the BSD kind and the GPL kind, has totally changed the way we think about and work with software. One day, we will be able to scientifically determine what software we need to suit our needs. We will know ahead of time exactly what limits and what capabilities each piece of software has. IT managers will be able to sort through real facts based on real research, rather than a bunch of shallow articles and biased reports. Software will survive on its merits alone.

    The whole industry is going to benefit by this, in a large, large way. The question one day will no longer be "Microsoft or Linux?" but "Which Open Source software should we use, and why?"

    --
    The radical sect of Islam would either see you dead or "reverted" to Islam.
    1. Re:Open Source Software clearly superior by fishbot · · Score: 1

      >>The whole industry is going to benefit by this,
      >>in a large, large way. The question one day will
      >>no longer be "Microsoft or Linux?" but "Which
      >>open Source software should we use, and why?"

      It would be even nicer if the term 'open source' disappeared completely, because there was no other kind and the need to distinguish it was gone!

    2. Re:Open Source Software clearly superior by presroi · · Score: 2, Insightful

      Please have a look at the topic again.

      "Open Source Software clearly superior"

      superior to what? I missed the point only half as much as you did, at least it appears to me so.

    3. Re:Open Source Software clearly superior by dmiller · · Score: 1

      Rubbish. Research papers aren't filled with invective and editorialising.

    4. Re:Open Source Software clearly superior by Anonymous Coward · · Score: 2, Insightful

      Oh yeah. And he didn't test unstable versions of Linux like 2.6. Oh shit, he did! You're an idiot!

    5. Re:Open Source Software clearly superior by CAIMLAS · · Score: 1

      As someone else mentioned: you are a dumbass. Granted, they missed the point too, but...

      He's simply saying that Open Source ideals are superior because they allow - and encourage - such scientific testing of software.

      --
      ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
    6. Re:Open Source Software clearly superior by CAIMLAS · · Score: 1

      Good point. Ithink this is basically what was intended by "computer science". Just imagine what - say - chemistry would be like, if some large corporation had their hands in the actual formulas that make things work in chemestry (at the more basic level, not chemical engineering and the like). Chemistry would be much less of a science, just as computer "science" hasn't been for the last 10 years or so. The winds of change blow!

      --
      ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
    7. Re:Open Source Software clearly superior by dbarclay10 · · Score: 2, Interesting

      "superier to what? I missed the point only half as much as you did, at least it it appears to me so."

      In the context, FOSS is superior to closed-source software whose EULA forbids the publishing of benchmarks.

      For instance, in this case the published benchmarks show a number of tasks that OpenBSD is very poorly-suited for. Last guy *I* knew who tried to publish similar benchmarks about Oracle compared to MS SQL Server got cease-and-desisted by the Oracle folk.

      Cappice? :)

      --

      Barclay family motto:
      Aut agere aut mori.
      (Either action or death.)
    8. Re:Open Source Software clearly superior by sir_cello · · Score: 1

      Excuse me, but as there is no comparison between these results and non-OSS, how can you make that claim about superiority of OSS ? Sounds like you just needed a good excuse to blow the horn.

    9. Re:Open Source Software clearly superior by You're+All+Wrong · · Score: 1

      "The winner in this case is Open Source software."

      I disagree. Conditionally.

      I'd agree if WinNT (a lot of infrastructural stuff is still running NT) and Whatever MS's latest OS is (are we at 2003XPProPlus?) were included in the benchmark. NT is vaguely POSIX, and I think all of the benchmarks should have been portable onto things Windowsish.
      And if OSS had then shown to be no worse than MS's output.

      It's not fair to make any comparison with any OS utterly unrepresented by the tests.

      If MS's graphs had all flatlined below the lowest *BSD/Linux graphs then it would have shown that OSS was significantly poorer than commercial software. You've just _assumed_ where the MS lines would be.

      Assumption and benchmarking are incompatible concepts.

      YAW.

      --
      Your head of state is a corrupt weasel, I hope you're happy.
    10. Re:Open Source Software clearly superior by zulux · · Score: 1

      Please have a look at the topic again.

      "Open Source Software clearly superior"

      superior to what? I missed the point only half as much as you did, at least it appears to me so.


      It's implied that Open Source is superior to Closed Source. The author was expecting that his audience was at least familier with the topic at hand, and was not burdening us with needless repetition about the curent landscape of software development.

      --

      Moneyed corporations, non-working 'poor' and criminal prisoners are turning productive citizens into tax-slaves.

    11. Re:Open Source Software clearly superior by Drantin · · Score: 1

      He was actually referring more to the spirit of OSS, not just the quality of it.

      --
      Actio personalis moritur cum persona. (Dead men don't sue)
    12. Re:Open Source Software clearly superior by Nexx · · Score: 1

      Huh? Look, just because most of the fruits of computer science are available to you and I without million-dollar budgets, it doesn't mean they're trivial. It's the same with chemistry. You and I can, given sufficient motivation and time, read about tonnes of proprietary (and perhaps patented) processes. However, to perform them, you may need something much more sophisticated than a kitchen sink and a couple of flasks.

      The biggest difference here is that the fruits of computer science tend to be a lot more transparent. However, that by itself does not make CS more (or less) of a science than Chemistry or Physics. (Note I'm not saying CS is a science, I'm saying the reasons parent gave were not valid reasons for arguing validity of CS as a branch of science).

  9. Mirror by infonick · · Score: 1

    I have a mirror (minus four graphs) :( workin on it...

    members.shaw.ca/infonick

    --

    You are confusing me with someone who cares.
    1. Re:Mirror by infonick · · Score: 1

      down to missing only one graph :)

      --

      You are confusing me with someone who cares.
    2. Re:Mirror by infonick · · Score: 1

      now i got all the graphs there. have fun. you cant slashdot my isp ;D

      --

      You are confusing me with someone who cares.
  10. Re:Slashdotted - Link Here by lanswitch · · Score: 1

    Dass ist doch wahnsinn, du Sau! Die leute hier koennen das gar nicht lesen! Kannst du das uebersetzen?

  11. Re:Slashdotted - Link Here by maroberts · · Score: 1

    Its all dutch (well, german) to me

    --

    Donte Alistair Anderson Roberts - hi son!
    Karma: Chameleon

  12. website scalability by cnb · · Score: 1

    it appears, fefe's website does not scale well to a slashdotting. :)

  13. Win-win situation for Linux by Krapangor · · Score: 1
    Win: Linux is better than BSD.
    Loose: Linux can't obviously not contain any SCO IP, because it's not business ready. SCO's lawsuit will collapse.

    The only problem is that the BSD benchmarking might count as disturbing the rest of the dead and will have severe legal consequences.

    --
    Owner of a Mensa membership card.
    1. Re:Win-win situation for Linux by fanatic · · Score: 1

      Loose: Linux can't obviously not contain any SCO IP, because it's not business ready. SCO's lawsuit will collapse.

      Any chance of saying that in english? The triple negative is confusing and the second sentence doesn't seem to flow from any reasonabler interpretation of the first. And "loose" is an adjective meaning approximately the "opposite of tight".

      If you're mensa, I'm donald duck.

      --
      "that's not encryption - it's a new perl script that I'm working on..." - from some Matrix parody
  14. Don't miss to notice the recursion... by presroi · · Score: 2, Interesting

    Topic of this paper is

    "Scalable Network Programming
    Or: The Quest For A Good Web Server (That Survives Slashdot)"


    What a coincidence!

    By the way, fnord web server has at least once survived one slashdotting-event. 4 seconds of googleing result in this comment which should have let to a stream of visitors.

    I hope fefe will publish the numbers of visitors and the behavior of its web server as soon as possible.

  15. Re:Slashdotted - Link Here by Ianoo · · Score: 1

    Horray for Haxalot! Oh, and the PDF is quite interesting, too.

  16. Theo is going to be pissed.... by gid-goo · · Score: 4, Funny

    Who wants to start taking bets on when Theo takes the bait.

    1. Re:Theo is going to be pissed.... by Anonymous Coward · · Score: 1, Interesting
      I read that T.Deraadt email thread when I first looked at OpenBSD, and my initial impression was that Theo had a real baaaaadddd attitude. I do know for a fact that a lot of the NetBSD folks were upset to see him leave and fork off his own version of the OS, and to lose him as a developer. But in reading his email he obviously has a problem with taking any criticism, and had no problem with jumping down someone's throat with a flamethrower and foul language. Denial, its not just a river in Egypt...

      Not that I wouldn't use OpenBSD, or any other operating system that met my technical needs, whatever the personality of the people involved. I've dealt with enough bad attitudes from commercial OS vendors in my years in the industry to be able to deal with it if I have to. It just seems that *BSD has an extra heaping helping of bad attitudes that make commercial vendors look like pikers.

      If you *really* read that email thread, you would see the attitude loud and clear. "We don't think that it helps anything for you to tell someone he's a f**khead when he's posting a message trying to help with the OS development." "F**K YOU, *I* want control of the source and if you don't like it I'll fork my own off!"

      That's my impression of it... He sounded like an immature little upset kid to me. The development of any of the O.S. OS's is a group effort, and having one person think they have all the answers and have to be the one in control is dead wrong. So, now he *has* control of his own fork of BSD, and lost the ability to maintain many of the various platform ports because he has no developers. Thus, the OpenBSD page says that for a VAX port, for instance, "support can be easily ported over from NetBSD". Why these problems are so prevalent under FreeBSD/OpenBSD/NetBSD remains something of a mystery. These systems seem to be self selective in their attraction to weirdos and big egos.

      The split had nothing to do with the quality of his coding work, and everything to do with his nasty attitude towards people... and NOT just the people of NetBSD Core, but other people who were just civilians trying to help out, or looking for help.

    2. Re:Theo is going to be pissed.... by leereyno · · Score: 1

      I'm personally glad that ports to things like vaxen and 68k macintoys are dying. Why waste time maintaining code for systems that are the computer equivalent of a beta VCR?

      If you ask me, and I'm going to tell you even if you don't, software should be developed for the platforms that people are actually using, and not for platforms that are long-dead or clearly terminally ill.

      A couple of years ago I was given a Quadra 700 for free and I decided to see if I could turn it into a real computer by putting some sort of Unix on it. I was able to install NetBSD 1.4.2 and 1.5 on it but quickly realized that the system was so slow as to be completely unusable. I was also unpleasantly suprised to discover that 1.5 was far slower than 1.4.2. Well, maybe not suprised, but certainly disappointed. I don't even want to think about how slow that 25Mhz 68040 would be under NetBSD 1.6.1 or NetBSD-current.

      So when I see that OpenBSD is supposed to work on platforms like the VAX or the hp300, the first question that I ask is WHY? Why waste your time writing code that no one is going to run other than you and maybe a literal handful of other tinkerers? I think that OS projects like OpenBSD should drop support for everything but x86, alpha (at least till it really is dead), sparc, IA-64, x86-64, power-pc and whatever embedded processors are worthwhile (ARM/x-scale comes to mind). Anything else is either dead, dying, or such an obscure niche product that it doesn't matter.

      Of course I can't tell people what to work on or what code to write. I just hope that those who do write code for dead systems are doing it for the entertainment/educational value alone, and not because they think anyone out there is actually going to use the code.

      Lee

      --
      Muslim community leaders warn of backlash from tomorrow morning's terrorist attack.
    3. Re:Theo is going to be pissed.... by LordHunter317 · · Score: 2, Insightful

      I'm personally glad that ports to things like vaxen and 68k macintoys are dying. Why waste time maintaining code for systems that are the computer equivalent of a beta VCR?
      It helps ensure your codebase is more portable. By porting to "Dead" architectures (meaning ones that aren't going to change), you have a constant target that allows you to work out bugs in your codebase (possibly for all architectures) and ensure that it works correctly.
      Furthermore, if someone is really dedicated to an "dead" platform, it may result in faster code overall, as they may start working on optimizing portions of the codebase for increased performance.

    4. Re:Theo is going to be pissed.... by Predius · · Score: 2, Interesting

      See the url above. Those 'dead' architectures that noone's using, the very fact that they ARE maintained demonstrates someone is using them enough to keep it working. Myself, I push a 386 and a SE/30. Both are more than fast enough for my purposes.

      Many people don't have the luxury of grabbing a P4 or Opteron as there whims demand. Supporting older hardware also does not slow an OS down. If done properly, it forces you to think about how to do things RIGHT so you don't eat unnecessary cpu cycles.

    5. Re:Theo is going to be pissed.... by anthonyrcalgary · · Score: 1

      "Many people don't have the luxury of grabbing a P4 or Opteron as there whims demand. Supporting older hardware also does not slow an OS down. If done properly, it forces you to think about how to do things RIGHT so you don't eat unnecessary cpu cycles."

      It's not just for speed. Multiple architechtures can break bad code early.

      --
      When someone might yell at me, it has to be OpenBSD.
    6. Re:Theo is going to be pissed.... by evilviper · · Score: 1
      Why waste time maintaining code for systems that are the computer equivalent of a beta VCR?

      You make it seem like there are a pool of developers with X ammount of time, that they will apply to anything. This is not true.

      There are ports to rare architectures because those who need them, are willing to code for them. If they weren't allowed to do so, they wouldn't be contributing anything at all. And, since they are allowed to do it, they contribute some things back to the more popular systems, and most importantly, having one developer maintaining an unused port doesn't take away any of the other developers' time, so where is the harm in keeping old archs?

      Besides that, your opinion of what is alive, and what is dead, varies greatly... There are probably more VAX users than there are AMD64 users.
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    7. Re:Theo is going to be pissed.... by Pegasus · · Score: 1
      So when I see that OpenBSD is supposed to work on platforms like the VAX or the hp300, the first question that I ask is WHY?

      Because I still have my VAX running to keep my room warm during the winter.
      Oh, and it can still serve some obvious lame jobs well (dhcp, dns).

    8. Re:Theo is going to be pissed.... by cpeterso · · Score: 1


      Keeping your code portable to old systems will make porting your code to NEW systems much easier.

  17. Slashdot's scalability by Zakabog · · Score: 1

    Slashdot's scalability is quite amazing. It seems as a sites ability to resist a slashdotting goes up, slashdot's ability to slashdot a website also goes up. Usually it's at a higher rate but sometimes the sever makes it out alive. Although most of the time it ends up as a smoking pile of slag.

    1. Re:Slashdot's scalability by blosphere · · Score: 1

      Got one slashdot a year back, didn't even flinch. The server is 800MHz p3 with apache/worker.

      And of course, it's running FreeBSD :) (v4.8 back then)

  18. I'm probably going to regret this... by Pathwalker · · Score: 2, Informative

    I have a complete copy (graphs and all) here.

    1. Re:I'm probably going to regret this... by DF5JT · · Score: 1

      Considering the fact that the author explicitly mentions the slashdot effect on the first page of the paper, it probably is a good indicator for a website that will not suffer from that effect.

    2. Re:I'm probably going to regret this... by Pathwalker · · Score: 1

      But at the time I posted that link, the webserver was responding to about 1 in 20 requests, and then stopped completely.

    3. Re:I'm probably going to regret this... by xenocide2 · · Score: 1

      You're not running OpenBSD, are you?

      --
      I Browse at +4 Flamebait

      Open Source Sysadmin

    4. Re:I'm probably going to regret this... by Pathwalker · · Score: 1

      Nope - ofdoom.com runs FreeBSD 4.x / Roxen 3.4.94-cvs / Pike 7.4 release 28.

  19. Interesting... by Ianoo · · Score: 1

    Although the results compared with BSD are fairly interesting, the results difference between Linux 2.4 & 2.6 are truely astounding. For those who can't see the graphs or can't be bothered to RTFA...

    bind() to port 0
    n = number of processes:
    2.4: O(n) rise number of processes
    2.6: around 0 even with 10000 ports

    nmap every other page in a 200MB file:
    n = latency in microseconds:
    2.4: O(n) rise
    2.6: constant (basically no latency)

    The kernel guys have certainly done some fantastic work in this last year. I can't wait for 2.6.0!

  20. Well by arvindn · · Score: 1

    I wasn't able to see the benchmark results, but I was able to see that the server its hosted on is not very scalable.

  21. Very interesting comment about GNU libc by njdj · · Score: 2, Insightful

    I hope RMS reads the slides. They're in German at the link I used, so here's a translation of slide 13 which is page 14 of the PDF file:

    "The memory required for an empty process is shockingly large on current Linux systems. However, this is not the fault of Linux, it's the fault of GNU libc.

    GNU libc leads all libc implementations by a large margin in bloat and waste of memory. One day it got so painful that I wrote my own libc. With this, a static binary of 'Hello world' took only 300 bytes..."

    I've long suspected that FSF stands for Fat Software Foundation.

    (He doesn't say, but I assume his home-brew libc was a subset, otherwise we'd all want it).

    1. Re:Very interesting comment about GNU libc by ranmachan · · Score: 1

      Ever heard of diet libc?
      That's his 'home-brew libc' and it works quite well now. Of course it does not support all the features of glibc (especially i18n IIRC), but it's very nice for embedded systems.

      --
      Tobias
    2. Re:Very interesting comment about GNU libc by Znork · · Score: 1

      "GNU libc leads all libc implementations by a large margin in bloat and waste of memory. One day it got so painful that I wrote my own libc. With this, a static binary of 'Hello world' took only 300 bytes..."

      So, did his Hello World support multibyte character sets, or, in fact, any sort of internationalization?

      Sure libc is hugely bloated. But most programs link to it dynamically so it will be loaded once. Imagine the bloat if libc was ultraslim and each and every application implemented the bloat on their own. Bloat that would not be shared between programs. Not to mention the amount of work repeated.

      I dont think that would really be an improvement.

    3. Re:Very interesting comment about GNU libc by CaptnMArk · · Score: 2, Insightful

      Rich libraries are no problem (asuming PIC code)

      The problem is overhead code that needs to be ran at startup and static variables in the libraries which require fixups in the loader.

    4. Re:Very interesting comment about GNU libc by runderwo · · Score: 1

      dietlibc is also under the GPL, which makes it very annoying for use in embedded projects. At least with uclibc/newlib you don't have to worry about license problems (as long as you dynamically link and don't modify the libraries)

    5. Re:Very interesting comment about GNU libc by Duncan3 · · Score: 1

      No, almost all Linux software is now required to be -static because of the insane number of NON-compatible libc/kernel/distribution combinations out there.

      There was a good 2 months there where all DNS operations didn't work with dynamically linked libc's, and several distributions didn't work at all, so they decided to switch it back and break stuff even more. And that's just one example.

      libc is a huge pile of mess and bloat and bugs, and is by any measure the weak link in the Linux universe. But we seem to be stuck with it.

      --
      - Adam L. Beberg - The Cosm Project - http://www.mithral.com/
    6. Re:Very interesting comment about GNU libc by toddler99 · · Score: 1

      are you on crack?
      libc is awesome and everything you just said is
      bugos!!
      give me some proof or stop bashing the holy
      source

    7. Re:Very interesting comment about GNU libc by Pflipp · · Score: 1

      Well, all superiority of the GNUtils chain aside, I guess your point is valid at least in some way.

      I recall trying EGCS (the former GCC fork) on my Amiga as an alternative to DCC and other C compilers. Using DCC, you could almost literally tell which byte served what function; DCC produced very small binaries, and m68k assembly is a very easy read (really! it's like reading a good book).

      EGCS, OTOH, produced binaries that were immense. I recall trying to figure out the startup procedure, that is, the stuff that runs before "main". Even the startup procedure was at least a whole factor larger than the DCC code, I believe mainly because it tried to be flexible enough for glibc, for the occasion that it was compiled in -- because you also had to explicitly leave out glibc from the linking process, the default was some Cygwin-like Un*x compatibility mode.

      I had also been told that the size of my binaries was because I didn't optimize. This is also the first time when I learnt of "stripping"; e.g. removing the symbol table from a binary I was used to "real", instructions-only binaries, like on the C64.

      Yet, even with glibc left out, stripped binaries, optimizations, etc., DCC won by large.

      The Bottom Line: YES, we ARE talking about a "Hello, world!" program here. Nevertheless, this program took quite a few kilobytes on EGCS, while the DCC version boiled down to something like (VERY pseudocode):

      .data
      label: "Hello, World!" .code
      lda label, reg1
      int 44 ; print

      Now why on earth would that be so hard? A little over-engineering on the EGCS side, maybe?

      --
      "We can confirm that Debian does *not* ship the version with the trojan horse. Our version predates it." [CA-2002-28]
    8. Re:Very interesting comment about GNU libc by Pflipp · · Score: 1

      Simple: the GPL is not the LGPL. Diet libc is GPL, while glibc is LGPL.

      You'll have to write Free Software (as per the GPL) using diet libc, while you can develop whatever you want (within LGPL terms) with glibc.

      FYI: I'm not the poster you responded to, and I've checked what I just wrote.

      --
      "We can confirm that Debian does *not* ship the version with the trojan horse. Our version predates it." [CA-2002-28]
    9. Re:Very interesting comment about GNU libc by roystgnr · · Score: 1

      There was a good 2 months there where all DNS operations didn't work with dynamically linked libc's, and several distributions didn't work at all, so they decided to switch it back and break stuff even more. And that's just one example.

      Would you provide more information about this example? Nearly every piece of software on my computer is dynamically linked to libc.so, I upgrade glibc underneath all this software regularly (from amateur package sources as well as Red Hat), and I'm pretty sure I would have noticed if my DNS lookups had stopped working for two months.

    10. Re:Very interesting comment about GNU libc by Nevyn · · Score: 1
      So, did his Hello World support multibyte character sets, or, in fact, any sort of internationalization?

      Without being nice about it, dietlibc is a piece of shit. If you just want a syscall list and the obvious functions (memcpy() etc.) use klibc. If you need more then dietlibc is almost certainly broken IMO, everytime I've looked at something "big" in it the implementation was worthless. In fact the printf() like function is unique only in how terrible the implementation is, and that's probably the most widley used function in libc.

      As for multibyte, that's no problem because Felix is using a broken string library, which is one of the few things that tries to forgo the use of printf() making i18n almost impossible.

      --
      ustr: Managed string API with ave. 44% overhead over strdup(), for 0-20B
    11. Re:Very interesting comment about GNU libc by lithron · · Score: 1

      IIRC from the Distributed.net talk, the DNS breakage happened well over a year ago (perhaps more years than that). Its not a recent thing.

      I would imagine Duncan dealt with it at d.net (before he left), and possibly again with his own project COSM.

      My two cents, feel free to correct me.

  22. My benchmarks. by Black+Parrot · · Score: 3, Funny


    I took three computers out in my rowboat, a Windows system, a Linux system, and a BSD system, and threw them overboard to see what would happen.

    The Windows system sank like a rock, the Linux system bobbed back to the surface, and the BSD system rose to the sky, to be greated by a chorus of angels.

    Then I woke up, so I don't know what the angels were singing.

    --
    Sheesh, evil *and* a jerk. -- Jade
    1. Re:My benchmarks. by __aafkqj3628 · · Score: 1

      Then I woke up, so I don't know what the angels were singing.

      Would it have been something from this selection?

    2. Re:My benchmarks. by Hard_Code · · Score: 1

      Are you trying to say Linux is a witch?

      --

      It's 10 PM. Do you know if you're un-American?
    3. Re:My benchmarks. by Sri+Lumpa · · Score: 1


      Angel? Angels? Angels? ?

      Don't you mean daemonettes?

      --
      "The obvious mathematical breakthrough would be development of an easy way to factor large prime numbers." Bill Gates,
  23. Wrong FreeBSD version used by Anonymous Coward · · Score: 2, Informative
    From the 5.1-RELEASE notes:

    Experimental 1:1 and M:N thread libraries...
    Experimental Name Service Switch infrastructure...
    Experimental support ...

    Although stability is greatly improved and many bugs have been fixed, FreeBSD 5.1 might not be suitable for ...

    So this guy grabs a beta version of a new tree in freebsd, and runs it against stable netbsd, openbsd and linux? Eh? Did he even compile his own kernel and take out all the debugging information in the released kernel? Did he turn off the debug info in the kernel config, on by default? I kinda doubt it somehow... If he knew enough to do that, he'd know that 5.1 has NOT been tagged stable.

    Most freebsd users will look at this study and laugh. But people who don't know anything about freebsd (perhaps that includes the author?) might get the wrong idea. The study needs to be redone using the -stable tree, not the debug-riddled 5.1-RELEASE.
    1. Re:Wrong FreeBSD version used by Anonymous Coward · · Score: 1, Informative

      "Did he even compile his own kernel and take out all the debugging information in the released kernel?"

      Yes. You should read the whole benchmark, not just look at the pictures.

      "If he knew enough to do that, he'd know that 5.1 has NOT been tagged stable. "

      Nor 2.6. It is supposed that they're both more scalable than the standard stable releases.

    2. Re:Wrong FreeBSD version used by Haeleth · · Score: 1

      Er, did you notice that FreeBSD still did exceedingly well in his benchmark, and he went out of his way to praise its performance at every opportunity?

      Does it not strike you that if this unsuitable debug-ridden beta nearly manages to keep up Linux 2.6, that might imply that FreeBSD 5.x-STABLE, when it appears, could perform as well or better?

      Much as I dislike stereotyping BSD users as paranoid, your ability to take an excellent benchmark result, accompanied by considerable praise, as an unforgivable insult impresses me.

    3. Re:Wrong FreeBSD version used by scotch · · Score: 1
      Er, I don't care. I want stable vs. stable.

      Then do you your own goddamn benchmark, coward. He even posted his code to make it easy for you.

      --
      XML causes global warming.
    4. Re:Wrong FreeBSD version used by Anonymous Coward · · Score: 1, Informative

      Some of you people are simply thick. This is a benchmark of the new and upcoming systems. Was that not apparent to you from the fact that betas of Linux, FreeBSD, AND OpenBSD were in there?

      It's also a good indication to the system maintainers as to where they can focus their optimizations before the final release of these OS'. My only critisizm of the benchmark is that it would have been nice to see FreeBSD 4.8 in there so that performance could be viewed between it and the new 5.1 release.

      This guy took time out of his schedule for free to do a detailed benchmark on 5 different operating systems, post the results in nice graphical format, and SHITHEADS like YOU contribute NOTHING except for slanderous comments.

      Oh, and learn to string together a fucking sentence before flaming others on their abilities and knowledge, ok?

    5. Re:Wrong FreeBSD version used by Brandybuck · · Score: 1

      As a confirmed and commited FreeBSD, I must assert, sir, that you are a nitwit.

      FreeBSD 5.1 has not, indeed, reached the hallowed state known as "stable". But neither has Linux 2.6. This is a genuine apples vs apples comparison (expect for the inclusion of NetBSD and OpenBSD, which were stable releases).

      --
      Don't blame me, I didn't vote for either of them!
    6. Re:Wrong FreeBSD version used by Inoshiro · · Score: 1

      Read the fucking article:

      "Q1 Did he disable debugging in FreeBSD 5?

      Yes."

      For some reason, nobody asked for a Windows benchmark. That is strange because everybody else I showed this to asked me about this. The reason is the same as for DragonflyBSD: I don't have more space on my hard disk. But please, run the benchmarks yourself and send me the graphs!"

      --
      --
      Internet Explorer (n): Another bug -- that is, a feature that can't be turned off -- in Windows.
    7. Re:Wrong FreeBSD version used by mistered · · Score: 1
      Dude, calm down. As mentioned in the fucking article, just before the text you quoted:
      Here are a few answers to questions that have been raised in the Slashdot forums:

      It's clear the author of the benchmarks is reading the slashdot comments and updating the article with some of the questions posed here. It's not fair to blast someone for asking something that is now in the fucking article when it is quite possibly their question that's answered!

      --
      Enjoy your job, make lots of money, work within the law. Choose any two.
    8. Re:Wrong FreeBSD version used by Shadowlore · · Score: 1

      If he knew enough to do that, he'd know that 5.1 has NOT been tagged stable.

      Neither is 2.6, last I heard

      --
      My Suburban burns less gasoline than your Prius.
  24. Comparing epoll() to kqueue() really isn't fair by ikewillis · · Score: 1
    kqueue() is available on the production quality 4.x branch of FreeBSD, whereas epoll() is only available on the 2.6 development branch of Linux and also requires a 2.3 glibc compiled specifically with support for epoll(). The glibc currently in Debian unstable, for example, still doesn't support epoll.

    The SIGIO comparison is somewhat fair, but keep in mind that implementing a program with SIGIO requires multiplexing I/O asynchronously, which radically alters program design. Linux 2.4 lacks a synchronous, stateful interface for I/O mulitplexing. Programs that implement synchronous I/O multiplexing can easily transition to a library for their main loop to immediately take advantage of high performance multiplexing/events mechanisms. One such library is libevent.

    1. Re:Comparing epoll() to kqueue() really isn't fair by zabieru · · Score: 1

      That's all over my head, for sure, but it seemed to me that all he was saying is that kqueue, epoll, and SIGIO as a class were far and away better than just poll.

  25. What IPv6 "sabotage" did OpenBSD do? by harikiri · · Score: 1
    From the article:

    • OpenBSD 3.4 was a real stinker in these tests. The installation routine sucks, the disk performance sucks, the kernel was unstable, and in the network scalability department it was even outperformed by it's father, NetBSD. OpenBSD also gets points deducted for the sabotage they did to their IPv6 stack. If you are using OpenBSD, you should move away now.

    Sabotage? Someone able to bring me up to speed on this?

    As for the installation routine, it is something out of the dark ages, considering even redhat 4.0 - my first Linux installation - had a curses based install. However, if you ignore that, it still seems a decent enough platform - I use it on an Ultra5 at work and as my firewall/NAT gateway at home.

    What I'd now like to see, which is what often doesn't occur, is for each OS camp to provide tuning suggestions to the researcher, and have him re-perform the tests. This is because no production webserver is likely to be untuned from the default installation.

    Oh and the read-only sysctl problem for FreeBSD that he mentions was probably due to securelevel's being on (meaning you can't modify kernel variables).

    --
    Man watching 6 MSCE's around a sun box, looks alot like the opening scene's of 2001:space odyssey...
    1. Re:What IPv6 "sabotage" did OpenBSD do? by blackcat++ · · Score: 1
      From the article:

      OpenBSD 3.4 was a real stinker in these tests. The installation routine sucks, the disk performance sucks, the kernel was unstable, and in the network scalability department it was even outperformed by it's father, NetBSD. OpenBSD also gets points deducted for the sabotage they did to their IPv6 stack. If you are using OpenBSD, you should move away now.



      Sabotage? Someone able to bring me up to speed on this?

      Well, seems like someone just read the last paragraph of TFA. Just read the section about OpenBSD 3.4 near the top. You'll also find out that the complaints about the installation routine are not about the lack of a nice interface, but about not being able to install OpenBSD on a partition above 1024 cylinders.

      Man, even HURD is more advanced.
    2. Re:What IPv6 "sabotage" did OpenBSD do? by Stary · · Score: 1
      Also from the article:

      OpenBSD also caused a lot of grief on the IPv6 front. The OpenBSD guys intentionally broke their IPv6 stack to not allow IPv4 connections to and from IPv6 sockets using the IPv4 mapped addresses that the IPv6 standard defines for thus purpose. I find this behaviour of pissing on internet standards despicable and unworthy of free operating systems.

      --
      Tomorrow will be cancelled due to lack of interest
    3. Re:What IPv6 "sabotage" did OpenBSD do? by __past__ · · Score: 4, Informative
      Oh and the read-only sysctl problem for FreeBSD that he mentions was probably due to securelevel's being on (meaning you can't modify kernel variables).
      Nope, kern.maxproc is really read-only in a running system even in securelevel -1. You have to set it in /boot/loader.conf (which doesn't seem to be prominently documented anywhere, so not finding it is nothing to blame fefe for).
    4. Re:What IPv6 "sabotage" did OpenBSD do? by Fefe · · Score: 1

      Why are you so angry?

      Nowhere in the commentary is any negative conclusion drawn from the fact that the FreeBSD fork graph stops early.

      There are several reasons why I didn't pursue this. First of all, I was running out of time, I finished the benchmarks the night before driving to the conference. Secondly, I didn't fly in Linus to hand tune my Linux setup as well. Third, FreeBSD does not look bad because of this, on the contrary. The graph looks O(1), it just stops early. It is true that this test should be redone now that I know how to change this setting, but honestly, I don't think the FreeBSD crowd has anything to complain about here. After all, FreeBSD brings home the trophies for the BSD camp.

    5. Re:What IPv6 "sabotage" did OpenBSD do? by petabyte · · Score: 1

      I agree, the guy is a complete troll:

      If you are using OpenBSD, you should move away now.

      Right, because those of use using Open are doing so out of total performance. Lets do a comparison of the security of these systems and see who wins that one. I think most Open users (incidently I use it as my workstation and my server here) would use Net, Free or Linux in an all out performance situation. For security and comfort, I'll keep my Open machine thanks.

      Using, development code and untuned boxes to do "benchmarks" is not professional at all. Heaven forbid 3.4-current's kernel is unstable as a development snapshot. I'll wait for someone that knows what they're talking about.

    6. Re:What IPv6 "sabotage" did OpenBSD do? by Ender+Ryan · · Score: 1
      No kidding, FreeBSD sure looks very positive in your benchmarks. Net/Open look like they need to get moving, or try to work with the FreeBSD group to merge their improvements, as they're way behind, performance-wise anyway. Linux 2.4 looks ok, and 2.6 looks great.

      You even said that you weren't sure what was going on with the FreeBSD tests, but didn't think it too important, so what are folks complaining about?

      Madness I tell you! Madness!

      When you get the time, I hope you do more of this bench testing, as I find it very interesting. I'd like to see how the stable FreeBSD branch compares.

      --
      Sticking feathers up your butt does not make you a chicken - Tyler Durden
    7. Re:What IPv6 "sabotage" did OpenBSD do? by __past__ · · Score: 1
      wrong, you can set it right in /stand/sysinstall
      Really? Where? And will it change the value for the running system, instead of just changing the config file? That would be a (pleasant) surprise.
    8. Re:What IPv6 "sabotage" did OpenBSD do? by HidingMyName · · Score: 1
      First off, let me say the work is interesting and provides a nice practical experimental approach. However, as good as this was, it could still be improved and made even better.

      I know this is more work, but perhaps a more fair test might be to compare default installs with each other and then compare more highly tuned installs. This might give a sense of what novices and experts can get out of both systems. I did like the benchmarks, but there may be some (unintentional statistical) bias due to your familiarity with Linux.

      Additionally, could you tell us what linux distribution you used. It is important, since the supporting utilities in an O.S. impact its overall behavior (in the http server benchmarks).

    9. Re:What IPv6 "sabotage" did OpenBSD do? by joto · · Score: 1
      Right, because those of use using Open are doing so out of total performance. Lets do a comparison of the security of these systems and see who wins that one.

      Ok, let's start with resilience. Quoting from fork benchmark: "OpenBSD does not scale at all, and even panics under high load."

    10. Re:What IPv6 "sabotage" did OpenBSD do? by TheLink · · Score: 1

      Security? Well seems nearly the same. Recent openssh problem? Affected all systems, about same impact.

      Openssl problem? Same.

      Oh you mean just the o/s alone? Well panics under high load = bad. And if it's just O/S alone, then OpenBSD is overrated WRT security. Even a fully patched win95 is pretty secure if you don't run MS client - just use plain tcp/ip, and you don't run any other services.

      --
    11. Re:What IPv6 "sabotage" did OpenBSD do? by petabyte · · Score: 1

      OpenSSH wasn't exploitable in Open3.3. And I've never had any BSD system panic on me and that machine is currently at a load average of 7.04.

      OpenBSD and the products it has produced are very valuable tools. Despite its "critics" I will continue to use it alongside my debian machines thank you.

    12. Re:What IPv6 "sabotage" did OpenBSD do? by tedu · · Score: 1

      outside of people who want to sprinkle some openbsd on their system after a windows partition, or people who try to install has many operating systems on one disk as possible, 1024 cylinders isn't such a problem. how many highly scalable webservers do you know of that dual boot?

    13. Re:What IPv6 "sabotage" did OpenBSD do? by blackcat++ · · Score: 1

      It does still place a restriction on how you can partition your drives. The largest available drives today are 300GB, with hardware raid (common on servers) that number can well be much higher.

      Especially a server system should be able to use all storage resources available during installation. There is no excuse for having this 1024 cylinder limit, it's simply a thing of the past.

  26. An extended troll against OpenBSD by dmiller · · Score: 1, Flamebait

    Using an unstable development version and then complaing about instability, peppering the results with emotive commentary and clueless rhetoric. (btw the 1024-cylinder boot restriction he complains so much about has been fixed for a while) Especially funny was this idiotic statement:

    OpenBSD also caused a lot of grief on the IPv6 front. The OpenBSD guys intentionally broke their IPv6 stack to not allow IPv4 connections to and from IPv6 sockets using the IPv4 mapped addresses that the IPv6 standard defines for thus purpose. I find this behaviour of pissing on internet standards despicable and unworthy of free operating systems.
    Someone should hit him with a cluestick on this issue. Yeah, like itojun is despicable and unworthy...

    OTOH, the results are of concern and should be verified by someone less obviously biased. I haven't noticed them in practice on moderately loaded servers though (but I'm biased in the opposite direction).

    1. Re:An extended troll against OpenBSD by BJH · · Score: 1

      Well, if you read the article, you'd see he mentioned at the bottom how nobody on bugtraq came forward with a real-world problem that required itojun's fix.

      I mean, itojun's a great guy and all, but he ain't God.

    2. Re:An extended troll against OpenBSD by Nevyn · · Score: 1
      OTOH, the results are of concern and should be verified by someone less obviously biased. I haven't noticed them in practice on moderately loaded servers though (but I'm biased in the opposite direction).

      The poll() code in libowfat (broken reimplementation of DJB code) is a very poor implementation, having 3 extra O(n) loops. Also some of the benchmarks looked wrong, for instance the socket() benchmark has FreeBSD suddenly getting much lower latency after it's created almost 4000 fds ... it's possible this is some weird hack in FreeBSD, but if so almost certainly means the micro benchmark is worthless.

      --
      ustr: Managed string API with ave. 44% overhead over strdup(), for 0-20B
  27. Security by dmiller · · Score: 3, Informative

    Not sabotage, security. In case you don't know: itojun is the guy between all the BSD's IPv6 support, and has been very active in the standarisation process.

    1. Re:Security by ChipMonk · · Score: 1

      I read the RFC, and frankly I'm not convinced. The worry is the ability to spoof local IPv4 addresses on an IPv6-enabled interface? So code the checks into it. Make it configurable from init scripts, so that one interface can be marked "external only" and another can be marked "internal only". Make it so that only the "lo" interface can get ::ffff:127.0.0.1 traffic.

      If we can use iptables to set up firewall/NAT rules, we can build the necessary safeguards into the dual-stack IP system. Anything's possible in Open Source.

  28. FreeBSD-5!? by __aafkqj3628 · · Score: 2, Insightful

    I'm wondering, if he was going to be doing a scalability test, why didn't he test the version of FreeBSD that is actually reccomended for production (4.8)?
    He had the time to test the stable and devel versions of the linux kernel, but only the new technology version of freebsd?

    1. Re:FreeBSD-5!? by mcbridematt · · Score: 1

      Well, it depends.

      I was impressed when I switched over from Linux 2.4 to 2.6. So I haven't used a 2.4 kernel since.

      Is 2.6 considered stable? no. All the crashes I've had with 2.6 are to do with one thing: Inadequate cooling.

      The reason why he probably used a tech preview is that the performance might of been better compared to 4.8.

      So, both parties in Linux v FreeBSD are equal. Both were tested against unstable branches. (Linux 2.4 is the exception).

      Personally, I don't bother with stable branches. I've almost never had any problems with development-version software.

      To mods: I consider it rude to moderate down on your own personal opinion.

    2. Re:FreeBSD-5!? by JanneM · · Score: 1

      To mods: I consider it rude to moderate down on your own personal opinion.

      And as an occasional mod, I find it abusive to the mod system to try to tell me what to do. I actually tend to mod posts with 'moderation instructions' harsher than I otherwise would.

      Yes, this is offtopic.

      Otherwise, I basically agree with your post; lots of complaining that an unstable branch of FreeBSD was used, but nary a peep that the Linux version tested is unstable as well. Had stable FreeBSD been used, people would have flamed him for that instead.

      --
      Trust the Computer. The Computer is your friend.
    3. Re:FreeBSD-5!? by mcbridematt · · Score: 1

      Well.. thats why we have meta moderating. I didn't intentionally put it there to instruct mods what to di,

      I'm an occasional mod too, but I mod on the stregth of the argument/point/whatever, not what people say in comments about that comment. (in other words: I mod as if the comment was 'standalone')

    4. Re:FreeBSD-5!? by Inoshiro · · Score: 1

      Read the fucking article:

      "Q4 Why did he use FreeBSD 5 at all and not FreeBSD 4.8?

      Because I read that they did many exciting scalability improvements in FreeBSD 5, and that's what this is about, after all. ...

      For some reason, nobody asked for a Windows benchmark. That is strange because everybody else I showed this to asked me about this. The reason is the same as for DragonflyBSD: I don't have more space on my hard disk. But please, run the benchmarks yourself and send me the graphs!"

      --
      --
      Internet Explorer (n): Another bug -- that is, a feature that can't be turned off -- in Windows.
    5. Re:FreeBSD-5!? by mcbridematt · · Score: 1

      He has an alterior motive!

      From the freebsd early adopters guide for 5.1:
      Cardbus: Support for Cardbus devices..

      He is using a lappy right?

  29. Hmm Scaling . . by OverlordQ · · Score: 1

    Evidently his site doesn't handle traffic very well, especially on the Slashdot Scale.

    --
    Your hair look like poop, Bob! - Wanker.
  30. Best benchmark I've ever seen by raahul_da_man · · Score: 1

    It's convinced me 2.6 is a *lot* better than 2.4. I'm not really surprised at the results. FreeBSD has never seemed faster than Linux, while Open has seemed noticeably slower.

    Does anyone know why Open underperformed so dramatically? Can the OpenBSD development team comment on this benchmark ?

    1. Re:Best benchmark I've ever seen by bo0ork · · Score: 2
      I'm not an OpenBSD dev member, but I am someone who started out with Linux (Redhat 5), trying some distros (SuSE, Mandrake, slackware), before moving to FreeBSD and then to OpenBSD, where I've stayed. I prefer the stability and security to performance and features. But then, I have no need to serve 100.000 hits per minute off a 386, nor do I need to support all the latest hardware and whizbang features.

      The reviewer does sound a bit biased towards Linux. In the same way Bill sounds a bit biased towards Microsoft.

      --
      Does everything include nothing?
    2. Re:Best benchmark I've ever seen by Brandybuck · · Score: 1

      I'm not really surprised at the results. FreeBSD has never seemed faster than Linux

      Linux 2.6 is significantly faster than 2.4, yet FreeBSD continually beats 2.4 in these benchmarks. If FreeBSD has never seemed faster than Linux, it must be because you started Linux with 2.6.

      Beware subjectivity! I remember rebuilding all of Slackware with "-O3 -athlon" because everyone told me that it was 10% to 15% faster than the default 386 code. After two days of compiling in the background while working on the desktop in the foreground, when I was done Slackware subjectively seemed magnitudes faster! Guess why? Duh! Speaking of Slackware, it has always seemed subjectively faster than Mandrake. Yet they use the same kernel and libc. Why? Guess. In the end, to me, FreeBSD seems faster than Linux. But that's my subjective opinion.

      Beware benchmarks! These benchmarks were focused on network related system calls. If you're running a web server it makes sense to pay attention to them. But if you're running a development workstation or corporate desktop, they're meaningless. Who is going to have 4000 copies of emacs running at the same time? As an aside, I just love it when Tom's Hardware has benchmarks of cases. And not just cooling benchmarks, which might make sense, but 3D video benchmarks. Huh? This makes no sense to me at all, but the benchmarks are there, and people use them to buy cases.

      In short, look at those benchmarks again. In most cases Linux wins, but by an insignificant amount, considering that both Linux and FreeBSD have the same Big O performances. What makes Linux 2.6 faster than 2.4 is not some tweaks or hand coded optimizations, but completely different O(1) algorithms.

      --
      Don't blame me, I didn't vote for either of them!
    3. Re:Best benchmark I've ever seen by Brandybuck · · Score: 1

      Oooh, nice italics! I knew I should have previewed the post first...

      --
      Don't blame me, I didn't vote for either of them!
    4. Re:Best benchmark I've ever seen by RustyTaco · · Score: 1

      God damn whipper-snappers and their infernal toys. Why can't they just play in the dirt like I did as a kid. It was good enough for me, it damn well better be good enough for them.

  31. Survive... by RealUlli · · Score: 1
    The ultimate goal, however, is to demonstrate scalability by surviving a Slashdotting.

    Well, it didn't. ;-)

    Cheers, Ulli

    --
    Simple things should be simple, complex things should be possible.
  32. Re:*BSD: Coping with loss by Ianoo · · Score: 1

    Alternatively: buy a Mac! Pretend your beloved operating system is now one of the most widespread consumer *nixes! Because we all know that Aqua has nothing to do with it, Mac is BSD!

  33. Slashdot commentors: Don't become hostile. by Futurepower(R) · · Score: 1


    Slashdot commentors: Please realize that many people who visit Slashdot are from countries where English is not the native language. It is VERY likely that they won't understand a subtle joke. Don't become hostile because someone doesn't understand. Just explain.

    1. Re:Slashdot commentors: Don't become hostile. by nathanh · · Score: 1, Funny
      Slashdot commentors: Please realize that many people who visit Slashdot are from countries where English is not the native language. It is VERY likely that they won't understand a subtle joke.

      Most Americans can't understand a subtle joke either.

      Though I suppose you could argue that most Americans don't speak English.

  34. did he disable all the debugging in FreeBSD ? by phkamp · · Score: 1

    From /usr/src/UPDATING:

    NOTE TO PEOPLE WHO THINK THAT 5.0-CURRENT IS SLOW:
    FreeBSD 5.0-CURRENT 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.

    --
    Poul-Henning Kamp -- FreeBSD since before it was called that...
    1. Re:did he disable all the debugging in FreeBSD ? by MrChuck · · Score: 1
      Er, he wasn't using 5.0.

      He was using 5.1 and then 5.1-current (closer to 5.2 really).

      I wouldn't put up a web server (let alone a heavy use one) without tuning it some (many things a web server needs are either unnecessary or unwanted for a box dealing with users or NFS, etc); a new kernel and removing some limits and adding some is warranted.

      That said, Linux 2.6 is experimental, so is FreeBSD 5.x

      I'd be curious to see how it stands up on duplicate Sun SPARC machines, or on Alphae, etc. but time limits surely came in.

      Run the comparison on VAXen and net and open bsd will smoke Linux just by booting.

      MIPS? Dreamcast? Atari? 680x0 boxes? NetBSD will run solidly. (as it will on many tiny tiny boxes running related chips).

      I expect that the study was done by someone who knows Linux well and not the 3 BSDs as well and was rushing.

      It's too bad, I'd like to see it under better conditions where someone who knows each of those systems better were involved. Not guru's per se, but just people who's primary platform is the one in use.

      I'd also like to see Windows NT and XP included in this along with Apple's Mach kernel.

    2. Re:did he disable all the debugging in FreeBSD ? by mezz7 · · Score: 1

      ...and change the malloc to 'aj'. Does the -CURRENT's default malloc 'AJ' cause the slowdown too or it shouldn't?

  35. O(1) on all by dtfinch · · Score: 1

    I knew the Linux 2.6 kernel was supposed to be faster and more scalable, but, damn, that's awesome.

  36. Nothing new here by chrysalis · · Score: 4, Insightful

    There's no need for such a very technical benchmark.

    Regular usage of various operating systems on the same host makes it obvious.

    When it comes to speed and features (or bloat), Linux is more efficient than FreeBSD, NetBSD and OpenBSD. This is especially significant in SMP environments.

    Linux users are always talking about the just-released experimental patches that will help their system to get 0.1% faster, or the most aggressive flags to optimize their Gentoo system.

    BSD users just advocate their system with the generic word "robust".

    Nowadays, stability is not really the key. Every Linux or BSD free operating system has basically the same stability. The software is the same, with the same bugs. The package system have equivalents (Debian works on NetBSD, Gentoo works a lot like BSD ports, etc) and support for common hardware is almost identical.

    The reason to choose one OS over another is often more political than technical. People tend to use FreeBSD just to try "something else". People tend to use Linux because the Mandrake/RedHat/Conectiva/SuSE installers are beautiful or because Gentoo is fashion and a good way to learn what Unices are made of.

    But if this is just to use common software like Apache and Qmail there's no real difference except speed. If this is what you need, Linux is definitely the best choice nowadays, especially since 2.6 kernels are almost ready for production use.

    For other needs, your mileage may vary.

    For instance I love OpenBSD for development. The compiler and the libc have very handy features to automatically detect bogus code. And the man pages are also excellent, with helpful hints.

    For firewalls and trafic shaping, I wouldn't use anything but *BSD because of PF. PF is really the best thing in *BSD systems IMHO. The firewall is very easy to configure yet extremely powerful and fast. And I was fond of Iptables before.

    For bridging and transparent firewalls, I would also use BSD because it seems to work better than Linux in this area.

    In fact it's just like the girl of your dreams. Everyone's always looking for the perfect operating system that will perfectly fit all needs, but it just doesn't exist.

    --
    {{.sig}}
    1. Re:Nothing new here by Cthefuture · · Score: 1

      The reason to choose one OS over another is often more political than technical. People tend to use FreeBSD just to try "something else". People tend to use Linux because the Mandrake/RedHat/Conectiva/SuSE installers are beautiful or because Gentoo is fashion and a good way to learn what Unices are made of.

      Ahem... Sorta. But even you go on to say you like PF better and that's why you use *BSD for stuff.

      I like FreeBSD for its basic simple and small install and generally the system is just simple, tight, and small. However, I only use Linux because Linux has the software and commercial support I need. For me that mostly means the latest VMware and nVidia software but there is a lot of software that only runs on Linux (newest SVGALIB, etc.).

      --
      The ratio of people to cake is too big
  37. not entirely fair on OpenBSD by sir_cello · · Score: 1


    Your scientific method isn't one, and these results are invalid as a result.

    You took in-progress development release of OpenBSD compared to stable releases of other operating systems (even your NetBSD was a RELEASE rather than a CURRENT). CURRENT is always going to be an in progress development and not entirely stable.

    1. Re:not entirely fair on OpenBSD by golgotha007 · · Score: 1

      wow, i didn't realize that linux 2.6 has been released as stable!

      are you an Amiga fan, too?

    2. Re:not entirely fair on OpenBSD by sir_cello · · Score: 1


      Forgive my ignorance then; so 2.6 is not stable; that even further supports my assertion that the tests are between non-stable versions: it may just happen that 2.6 linux is not only good, but also more stable than the BSD's.

      I still think the results here are useful, in that they provide some general guidelines, but I would be very wary about some of these exceptional problems the tester ran into, because those problems (e.g. the mmap under OpenBSD) could easily be attributed to instability due to current renovation in the kernel, or environmental conditions in the testers setup.

      The problemn is that the tester does no investigation to determine the root cause of these problems, but simply presents the comparisons to provide an unfair picture of comparing apples and oranges. To me, it seems as though the tester was more interested in expediency rather than correctness.

      What would be fairer:

      1. ask the project / core leads of each of these releases what version of the O/S they would recommend for testing;

      2. more methodical tests to determine that when some very anomalous case occurs (e.g. OpenBSD mmap) what the root cause is, and to go back to the project / core leads and tell them this, because it could easily turn out to be something about the testing install or environment;

      I sure hope this guy doesn't come and work at my company and end up comparing my project to others - I'd very pissed off at his methodology.

    3. Re:not entirely fair on OpenBSD by RoLi · · Score: 1
      I personally think the tester did exactly the right thing: Use the defaults that come with the distribution/installation because that's exactly what almost all users are going to use in the real world.

      If there is something wrong with the settings, then the project should reset the defaults to sane values, rerun the benchmarks (all the programs are there) and ask the tester to confirm and/or publish them.

    4. Re:not entirely fair on OpenBSD by hdw · · Score: 1

      But most users have no need for all out max performance and scalability.

      Most users don't run a heavy loaded website or compile farm.

      The users that do should also know how to optimize their systems.

      Comparing raw, out-of-the-box, systems are quite pointless, unless used as 'facts' for some pissing contest.

      // hdw

      --
      Executive Pope (small) Kallisti Engineering
  38. Displaying the data by astaines · · Score: 1

    Computer benchmarking data are (usually) quite noisy. As such plain graphs, like those shown are not very useful. Simple statistical graphics like lowesss plots are much easier to interpret. Take a look at the for some ideas.


    This stuff is easy to use, at least if you have a computer background, and would produce far better graphs.

    --
    -- Anthony Staines
  39. Apple marketing? by B747SP · · Score: 1

    Well, I'm not entirely sure whether these results demonstrate that Theo is an even bigger dickhead than we all already thought he was, or if this guy is a perfect candidate for a position on Apple's G4 benchmarking and marketing team. Maybe both? Do you have to be able to read docs to market G4s?

    --
    I find your ideas intriguing and I wish to subscribe to your newsletter.
  40. Hostility is bad manners... by Futurepower(R) · · Score: 1

    Hostility is bad manners, no matter who does it.

  41. Improving the graphs by hey! · · Score: 2, Interesting


    Also watch out as you read the graphs - just to keep you on your toes, he changes the colors in every one!


    The author should use a graphing technique Edward Tufte calls "small multiples". In that you lay out a series of thumbmails of the each graph series. The eye can quickly scan down the thumbmails and get a rough feeling for how each series compares.

    This would avoid the problem where graphs overlay each other and with the inconsistency between graphs in the plotting conventions.

    --
    Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
  42. READ IT AGAIN by molnarcs · · Score: 1

    I read many comments claiming that linux 2.6 is _much_ better than FBSD 5.1 - re-read the article please. I know its hard for a linux zealot not to exaggerate the results, just as it is difficult for a FreeBSD zealot not to get over-defensive.

    As to the quirks. As someone pointed out, the author should have read the handbook.

    Also, the FreeBSD kernel (well, the OS, as the kernel isn't developed separately from the rest of the system) development is more in its earlier stages than linux kernel development. There is no code freeze yet (I think) and I very much doubt that the 5.x branch will be stabilized until we see a 5.3 release. Thats not going to happen until spring (5.2 is due in December). In other words, while 2.6 underwent some stages of optimization, this is yet to happen to the 5.x branch. Yes folks, the results you see from FBSD is still that of an unoptimized kernel - and that's not as bad as zealotry (from either side) would have it,no? ;-)

  43. invalid results, makes Linux and OSS look bad by sir_cello · · Score: 1


    It's this type of information that does OSS a disservice - making it look amateur and unprofessional.

    You used an pseudo-scientific method, i.e. your graphs are nice, your data points are nice, but you forgot the fundamentals of testing: you didn't clarify the exact projects you were testing (you should have asked the project leads for advice on which versions of the projects to test against), nor did you asked for feedback and determine the reasons for the anomalous conditions (e.g. the FreeBSD maxprocs could have been resolved by a quick question to a FreeBSD expert). This is a lowbrow technical approach.

    Not only that, you presented the pseudo-science results to a large Linux congress, so that while Linux does perform well (undisputed) and everyone can pat themselves on the back, you make the congress look amateur and unprofessional.

    The result is that many of us that do know a thing or two about methodology, experimentation, engineering, etc, will simply interpret your results as providing a "rough general guideline", but "leaving too many questions unanswered" and continue to think that "a lot of the linux community is still amateur and unprofessional".

    1. Re:invalid results, makes Linux and OSS look bad by LordHunter317 · · Score: 1

      Far more importantly, where is his source code for the testing?
      The data points looked biased enough that I wouldn't trust his results without being able to review his code.

    2. Re:invalid results, makes Linux and OSS look bad by Master+Bait · · Score: 1
      It's this type of information that does OSS a disservice - making it look amateur and unprofessional.

      Oh sure. All those stupid latency measurements. Next time he should chart framerates in Quake, right?

      --
      "Only in their dreams can men truly be free 'twas always thus, and always thus will be."
      --Tom Schulman
    3. Re:invalid results, makes Linux and OSS look bad by imroy · · Score: 1
      Far more importantly, where is his source code for the testing?

      RTFA, he gives directions to CVS'ing his source at the end.

  44. Another angle, please ! by udippel · · Score: 1

    I cannot argue on scalability. Benchmarking should be more, though.

    I had been running a SOHO-server on P75, 128MB, Dial-up/DSL, DHCP, Print-server, Apache, SSH, hylafax, Firewall on Linux for some years. Then I tried OpenBSD for a change. It runs with about 1/3 of the memory (Linux around 100 MB, OpenBSD about 35 MB).

    Since I installed it, there were just 8 patches to be added (that is about 1 per month); installed pretty easily. I felt quite safe and the system has been pretty stable.

    Though I don't see too much of a future in it, I appreciate its safety considerations and - in my case - stability.

    My desktops run Linux, but currently I see no contender as replacement for the OpenBSD-box. I wouldn't mind, though, to go back to Linux if there was anything equivalent.

    Let's simply assume that OpenBSD will remain in the niche for small (it will probably never be SMP) servers of security-concious admins with low hardware requirements and low throughput.

  45. You are right, but that was not the point. by Fefe · · Score: 1

    I am not pretending to produce the be-all end-all benchmark here. That would at least include having an SMP server for the operating systems that support it, and it would have used Gigabit Ethernet. Frankly, I don't have the hardware to do that.

    But I do have these benchmark programs, and I was hoping to spark enough interest in doing some real comparative benchmarks by posting the results here. The tools are now there, and they do use the platform specific API hacks to get the best performance on each operating system, so the biggest area of concern for comparative benchmarks should be out of the way -- that the benchmark program is skewed in one direction or the other.

    If you are in possession of a real benchmarking lab with enough free disks and spare time on your hand to complete these benchmarks, please do so!

    I'm not from the Linux mafia. If my goal was to discredit BSD, I would not have added support for kqueue in the first place. If my goal was to pat myself on the back, I would not have used the BSD sysctl to increase the number of files in the system (on Linux 2.6, you basically don't have to do that, just use ulimit), and that would have been fair, if only in the Netcraft/Microsoft sense. ;-)

    But neither am I from the Intel scalability labs with 1000 identical PCs and multiple gigabit ethernet connections to the server. I'm just a guy with a notebook who happened to have a little spare space on his hard disk and decided to include the BSDs in the benchmarks.

  46. open BSD, slowliness by lunardude · · Score: 2, Interesting

    In The article, The author mentions that he finds "unacceptable", or embarassing, a few things about openbsd, mainly concerning it's general speed and scalability.

    ALthought not beeing an expert in bsd nor in linux, maybe i'm rong, but isn't OpenBSD made to be secure, and not the fastest operatin system ( additionally, comparing oragnges to apples, by testing release/current/stable, wasn't the best way of comparing those OSes) ????

    By implementing a few feature in the OpenBSD stack and Kernell, I guess that the devellopers are delibetatelly sacrifying performance in order to get an Os less vulnerable to DOS and other vulnerabilities

    It owuld be interesting to compare the same OSes in a security test to find out which OS is more secure, if speed and scalability isn't the only issue in a OS...

  47. Re:Proof that people who do benchmarking are idoit by surprise_audit · · Score: 1
    By your reasoning, no benchmarks should ever be done. Don't bother benchmarking Intel and AMD cpus, don't bother benchmarking different kinds of memory, different video cards, different printers. Don't bother comparing cars, TVs, washing machines, &c from different manufacturers, because they're so dissimilar.

    Oh, wait, but we are comparing those dissimilar products when they're all attempting to do the same thing. Why else would car makers boast about engine horsepower, acceleration, traction and braking, for example?

    I guess you didn't actually read the article, where the guy states that he's doing the same damn thing on each OS, using the same hardware, so the only variable is the OS/distro being used. His choice of OS/distro may be suspect, but the results still stand. He's comparing oranges to oranges and telling you which is sweeter, which is juicier, etc.

  48. Re:Proof that people who do benchmarking are idoit by bo0ork · · Score: 1
    What's he's done isn't comparing oranges to oranges. To use your car analogy, he's been comparing acceleration, braking distance and top speed for a sports car, a bus and a main battle tank.

    Sure, the comparison is valid, you can compare those elements, but are the results relevant? Not many would use OpenBSD in a performance (as in speed) critical role, and not many would expect Linux to have the security track record of OpenBSD.

    If I'm going to war, I'll take the tank. If I'm going to race, I'll use the sports car. And if I'm taking 40 friends to the mountains for some skiing, count me in on that bus.

    --
    Does everything include nothing?
  49. Re:*BSD Problems by hdw · · Score: 1
    raider:videos {107} du -sk apa.mpg
    709496 apa.mpg
    raider:videos {109} time cp apa.mpg /slask/
    0.007u 6.593s 0:50.42 13.0% 0+0k 10933+77720io 0pf+0w
    Some 13 MB/s sustained, OpenBSD 3.3 Duron 1200.

    // hdw
    --
    Executive Pope (small) Kallisti Engineering
  50. Mac OSX panther is Free BSD 5 by goombah99 · · Score: 1

    Mac OSX server is based on Free Bsd5

    other web services running out of the box

    Apache 1.3 and 2.0

    Tomcat 4.1 and Axis 1.1

    JBoss 3.2

    MySQL 4

    JBoss Deployment Tools

    WebObjects on JBoss

    Perl 5.8 and PHP 4.3

    Ldap, samba

    --
    Some drink at the fountain of knowledge. Others just gargle.
  51. Benchmark confirms linux end users are inferior by luxocculta · · Score: 1

    Linux end users on average tend to be the scum of the earth with median level IQ's. Ever witness the various linux ghettos on irc or usenet ? You cannot miss them. So it doesn't surprise me that this person was unable to conduct an "Empirical scientific double blind benchmark". Hence the oddball subjective extraneous derivatives of his so called "research" on these benchmarks are pointless. It serves only to satiate the need for lust in the lackluster minds of the mass linux user base --- that is the sole purpose of this propaganda.

    In order for this study to be worth a damn he would have to:

    1.) Use two computers with the same hardware from two different manufacturers .

    2.) Have the common decency to do thorough research which I will prove he does not do before benchmarking.

    3.) Email head developers from each operating systems on tips on tweaking each OS and what versions of each OS to use in each benchmark. If he still decided to use bleeding edge from both linux and the *BSD's-- he must do so consistently across the board. Obviously he didn't because he didn't use NetBSD 1.6ZD (current) from fresh cvs diffs. Strangely enough he went with -current for both OpenBSD and FreeBSD though. The only phrase that comes to mind is "highly subjective propaganda produced by a plebeian simian who was not even clever enough to mask his propaganda with at least the nomenclature of the scientific method. How hard would it have been for him to email Luke Mewburne, Miod, and someone from FreeBSD ?

    He is obviously experienced with linux and semi literate with FreeBSD (although not really because he was too stupid to set certain tweaks). While totally clueless in the NetBSD and OpenBSD environments.

    "In the mean time I heard that the -CURRENT version of NetBSD has over two years worth of improvements in it, so it probably is even better than NetBSD 1.6.1, which already surprised me with its good performance (although it is clearly outperformed by FreeBSD)." -- fefe.

    Then you have no excuse for using the bleeding edge of Linux and FreeBSD .. total lack of consistency from a linux E-tard. He says at other times he was "surprised" that NetBSD outperformed and even beat the others clearly on benchmark to do with sockets. That would have come as no surprise to a serious engineer who had the integrity and quality of character to study the code changes to each OS by reading the mailing lists, developer change notes and even reading source code. The NetBSD socket performance win was clearly because of Jason Thorpes hack here :

    http://mail-index.netbsd.org/current-users/2002/ 07 /03/0011.html

    "The clear loser of this benchmark is NetBSD, because they simply don't offer a better API than poll. As I wrote in the introduction, I only benchmarked the stable NetBSD 1.6.1 kernel here,
    and I assume they have included kqueue in their -CURRENT kernel. I will try to update my NetBSD installation and rerun the benchmarks on it." -fefe

    Gee, you think fefe ? You assume they have included a native kqueue ? Ah you mean you are a complete moron who couldn't be bothered to conduct real "research" and "benchmarking". Clearly it wouldn't have taken long to research and be able to say with authority "NetBSD has native kqueue it was added to the code on such and such a date by developer X". Just for the record NetBSD current does have native kqueue and native pthreads.

    I bet you didn't even bother to tweak NetBSD at all as you barely tried with FreeBSD. Note that it would have been a good idea to tweak
    Kern.maxfiles, kernmaxvnodes and vm.anonmax with sysctl on NetBSD.

    Also, why mention itojun on ipv6 but leave out other developers names where NetBSD and FreeBSD win on the benchmark ? He only goes on extravagant explainations on why OpenBSD loses in one scenario. His need to be verbose only in such a situation shows his linux bias or guilt for skewing the benchmark so bad. Oth

  52. I seriously question the author's objectivity by zamurai · · Score: 2, Interesting

    Felix is more than opinionated about Linux vs. BSD. Check the qmail mailing list archives for his rants with BSD users about filesystem and other performance issues. In particular, he's had a number of run-ins with those on the list who use OpenBSD--the one he labels a `stinker'.

  53. What about the installation method? by aszaidi · · Score: 1

    He doesn't give details about the installation of each OS. Did he benchmark them one by one after wiping out the previous OS? Or did he just partition the disk and put each OS in its separate partition? My impression is that he did the latter though I may be mistaken.

    Any hardware junkie knows that data reads and writes can be upto 2x as fast at the start cylinders of a disk than at the end. If he put FreeBSD in the beginning and OpenBSD at the end, it would really skew the results.

    Why would anyone ask a rhetorical question?

    1. Re:What about the installation method? by Fefe · · Score: 1

      Every OS had its own partition on my notebook.

      But since none of the graphs actually measures disk I/O, that does not matter in the least. You did read the web page before commenting on it, didn't you?

      I did a benchmark about HTTP throughput that did not make it into the PDF or the web page: I downloaded one large ISO over Fast Ethernet. To make sure the test was fair, I mounted the same Linux ext2 file system on all the BSDs read-only. My disk has ~25 MB/sec throughput, so any OS should be able to saturate the Fast Ethernet link with ~11 MB/sec, right? OpenBSD couldn't.

      But since the ext2 implementation in Linux is obviously at an advantage here, I did not publish these graphs, that would have been unfair. And I wanted to not feed the trolls.

      It appears I wasn't entirely successful. ;-)

    2. Re:What about the installation method? by aszaidi · · Score: 1

      Yes, I read the page, but incorrectly assumed that disk I/O would also have played a part in the results. My mistake, I apologize.

      Slightly off topic, but would be nice to see a comparison of file system performance between the Linux FSs and those for BSDs.

  54. First graph by Maxwell · · Score: 1

    Conclusion: NetBSD outperforms all other operating systems in this benchmark. However, all contestants scale equally well, there are no clear losers. And the overall latency in this benchmark is so low that the results are interchangeable in practice.

    The first graph, which this quote is under, does not support this. It clearly shows Linux 2.6 using HALF the CPU cycles of NetBSD above 4000 connections. How did he get this conclusion? 2.6 is the clear winner in his tests.

    JON

    1. Re:First graph by Fefe · · Score: 1

      Oi, you are right, I meant to write "FreeBSD" there.

      I corrected the web page.

    2. Re:First graph by donscarletti · · Score: 1
      NetBSD was clearly the winner because for Sure it went nuts and through the roof after that, but who really cares? >4000 connections are rarely used by anyone.

      I am not in anyway a NetBSD appologist, I have never used it, the only BSD I have really used (installed and ran locally) was OpenBSD and I didn't like that much, so don't give me none of that "making up excuses for a dying OS 'cause I am a zealot" crap, I just think that NetBSD deserves the credit for kicking huge amounts of arse in that feild.

      --
      When Argumentum ad Hominem falls short, try Argumentum ad Matrem
  55. Real point: they show improvement by iabervon · · Score: 2, Interesting

    The interesting point is that all of these operating systems seem to be getting faster. It seems to come down to how many recent developments have been integrated into the version being tested, not any inherent differences between operating systems. This is, of course, as it should be: the source for all of these operating systems is available, and there are even frequently papers describing the techniques. If a technique is, in fact, better, it should eventually be adopted by all of them, and so your results will depend on how much has been adopted in the version you're testing.

    It is encouraging to see that all of these developers are competing with the real opponent, which is not each other or even Microsoft, but the slashdot effect. After all, the goal should not be simply to be better than the others, but to be sufficient for the user's purpose, which is not hampered but rather assisted by sharing all of your tricks. It can sometimes seem like there are endless wars between Linux and BSD, but, behind the scenes, the sides actually share information. Never as much as they'd like, but always more than people think.

  56. He likes to play rough... by stienman · · Score: 1

    In reference to a particular metric (not the entire suite of tests) he says "Even Windows would probably outperform OpenBSD"

    Talk about taking the kids gloves off!

    -Adam

  57. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  58. Solaris... by ImpTech · · Score: 1

    I know this benchmark is about open source and all, but I would love to see Solaris thrown into the mix. With all its vaunted scalability and stability, I'd love to see what it actually does better. I guess it would have to be the Intel version, but I would think their kernel algorithms should be the same across architectures.

  59. Re:Nothing but... by clifgriffin · · Score: 1

    He speaks truth!!!!

  60. Can I smoke some? (Mac OSX panther is FreeBSD 5) by MrChuck · · Score: 1
    > Mac OSX server is based on FreeBSD 5

    You read too much marketing literature and misinterpret it. To shatter some illusions, Cheer detergent will not make your relationships better. Drinking lots of beer will not attract 5'10", 100lb models with large breasts and bikinis.

    Further:
    NeXTStep was a Mach kernel with BSD4.3 userland tools running a proprietary windowing system that uses Display PostScript (making their printer cheap) coded with Objective C.

    Mac OS 10.0-10.2 is a Mach Kernel with a userland MOSTLY from FreeBSD 3.x running a proprietary windowing system that uses Display PDF (making printing to PDF trivial) coded with Objective C

    Note a similiarity?

    Panther finally uses FreeBSD 4.x userland tools.
    Plus much tuning to their proprietary windowing system.

    Still a mach kernel. Note that the word mach contains neither a "B" an "S" nor a "D".

    Panther (NeXTStep 7.0.0 according to uname) would still crawl on my NeXT Cube that runs NeXTStep 3.3 just fine at 33MHz.

    RE: Your list of stuff taht comes with it. You get 3 for 10 right. perl is
    % perl -v

    This is perl, v5.8.1-RC3 built for darwin-thread-multi-2level

    Apache 1.3.28, no apache 2.x

    No sql server (postgres would be a better fit for their completely free software needs).

    I don't find jboss nor webobjects nor tomcat on my Panther box.

    LDAP *clients* (everyone has ldap clients these days)

    Samba, yes.

    PHP, yes.

    Please try again with some correct facts.

  61. Graphing 101 by gerardrj · · Score: 1

    I for one had a terribly hard time reading the graphs. Three problems in particular:

    1)
    I (like about 20% of the male population) am partially color deficient.
    The graphs' colors where very hard for me to distinguish in the ledgend; what with the 1 pixel wide font and sample line/symbols. The colors chosen were all of about the same intensity/saturation also, so if you are color blind the entire graph would look all about the same level of gray. This problem is further compounded by all the graphs having different color assigments (Linux 2.6

    2)
    crowding. On a few of the graphs, there were differences in order of magnitude between groupings. Since this dataset was supposed to show the fastest, that would naturally be the most interesting data. You don't take photo finishes of the 7th and 8th finishers in an 8 horse race. Using a logarithmic scale for those charts would make the data easier to read, showing detail in the lower(faster) end and allowing the less significant higher(slower) data to "blend" in the curve.

    3)
    Point size. The symbols are too large for that many data points. This may be personal preference, but single points should be used for scatter graphs like these, not symbols. Symbols may mask other more subtle changes in the results because they overflow other points nearby. Similarly, make your legend samples substantial, a block of color is much more apreciated than a single pixel line, and bold your identifier text.

    If you make graphs for the web, please take them in to Photoshop, GIMP, or something similar and reduce or remove the color data (convert to grey scale). The chart should still be at least fairly reable in greyscale.
    Choose a wide range of Hue, Saturation and Lightness
    If you are going to use light/desturated colors, use a black background. If you will use dark/heavily saturated colors, use a light background.
    If you can't/won't do that, then please try to make the raw data available in CSV or some other "universal" format so we can create our own graphs.

    --
    Article X: The powers not delegated... by the Constitution...are reserved...to the people
    1. Re:Graphing 101 by Fefe · · Score: 1

      I am sorry that the graphs have this problem.

      They look like this because I used gnuplot, which can make great graphs, without really mastering it. I had trouble selecting colors that stood apart at all. That's why the colors for each OS chance from graph to graph, by the way, because the fifth color would have to be some ugly brown, and I didn't want to prejudice against one OS by giving it an ugly color.

      I can give out the data on a case by case basis, though. Please email me if you really want it. Or you could open the graphs in Gimp, Photoshop or ImageMagick or so and change the colors yourself.

  62. Ha, well, i don't know too much about the internals of kernels and OSs and stuff, but hey, why doesn't somebody take the relevant code of the speediest winner of each of these "tests" and smack it all together into one "Performance-enhanced OS"... ha, plz no flames! i understand this would not be a light undertaking, but it is an idea i suppose.

  63. RE: Bsd problems by MrChuck · · Score: 1
    Neat, a copy of likely consecutive blocks. Once. In short time.

    This is great if all your reads and writes are like this.

    I deal with huge database servers that get 10 or more times throughput using dd(1) than they do in acual use with that pesky real data.

    Also wondering why I'd care about the CPU on a copy.

    Give me a laptop disk on a 3GHz i386 and I'll beat it with a sparc 10 (125MHz) attached to a nice Baydel RAID box (sustained real world writes of > 40-50MB/s with RDBMS systems).

  64. RE: Benchmark proves linux users are inferior by luxocculta · · Score: 1

    Ah, so you choose to assume *BSD hackers and users are unemployed. Could it just be that not all featherless bipeds are mentally equal ? I think the latter is more likely. You choose to skirt around most of my points and just take up the specific sysctl tweaks I mentioned. Sorry , but life doesn't work that way. You don't get to choose what points you want to respond to and win the whole argument. What is this candy ass land ?

  65. Re:Can I smoke some? (Mac OSX panther is FreeBSD 5 by RustyTaco · · Score: 1

    OSX 10.2 Server. I'd imagine it comes with some RDBMS, maybe jboss/tomcat, etc. OpenDirectory is OpenLDAP with a custom backend and slightly different schema I belive.

    - RustyTaco

  66. Re: Bsd problems by hdw · · Score: 1
    The post I responded to reads:
    BSD box (a PIII 800 w/512 Megs of RAM) for about 20 minutes now while it attempts to copy a 17 Meg file from one folder on the hard drive to another folder.
    I just wanted to point out that it most likely wasn't the OS that was his problem.
    And yes neatly stacked data, and I wouldn't get even close to such write speed, I barely reach it with reads.
    raider:videos {102} dd if=apa.mpg of=/dev/null
    1418269+0 records in
    1418269+0 records out
    726153728 bytes transferred in 14.513 secs (50033719 bytes/sec)

    On the other hand, this system would cost 500 USD if built today ;)
    But 20+ minutes for 17 Megs? I'd say something is badly wrong.
    And I don't think it's the OS.
    My 486 DX2/66 copies 17 Megs in less than 30 seconds (and it's running OpenBSD).

    // hdw
    --
    Executive Pope (small) Kallisti Engineering
  67. Already addressed in the updated article. by pr0ntab · · Score: 1

    He specifically didn't test 4.8 because he was told 5.1 would scale better. He knows 4.8 is more stable, that wasn't really the point of the article. 5.1 did an excellent job.

    --
    Fuck Beta. Fuck Dice
  68. +5 Hilarious by Dave_bsr · · Score: 1

    That made me laugh our loud. You hit it on the head. Thanks...

    --


    Who is this Anonymous Coward character, how does he post so much, and why is he always such a whore?
  69. Disappointed by brrrrrrt · · Score: 1

    I read the tests and many of the comments on them.

    I was very curious about the test, but very disappointed with everything after I read it.

    The person who performed the tests was very naive when he said this ought to be the end of flamewars about network performance/scalability among the Linux/*BSD users. His test was just not good enough to be meaningful to anyone in the respect of offering acceptable conclusions.

    A proper test would be

    - Performed on proper hardware. I mean, doing a network performance test on an old laptop with inadequate harddisk size, with four very much server-oriented operating systems, one of which (OpenBSD) couldn't even be installed on the same part of the harddisk as the others! That's like organising a race between a Lamborghini, a Lotus, a Porsche and a Ferrari in downtown New York during rush hour, and disqualifying the Ferrari on the grounds that it is difficult to park backwards.

    - Unbiased. This one was very much biased against OpenBSD, and in favour of Linux/'Leanux', as follows from many of the comments made by the tester.

    - Performed by somebody who knew enough about installing and running all of the OS's involved to run tests on them (the tester seems knowledgeable about Linux, but is totally clueless as far as for instance OpenBSD is concerned.)

    - Performed with a test programme that wasn't developed with a bias toward one of the OS's in the test (the test programme involved was developed on Linux, later 'ported to' *BSD.)

    - Described plain fact, by someone who would be objective and who would avoid showing emotions about the subject, much less a general favour or disgust toward the OS's tested. This is especially important because of the sensitive nature of the test subject. There are so many flamewars already!

    - Described withoud prejudice even /if/ the tester happened to be more familiar or friendly with one of the OS's tested. That would really help improve the value of the test. Unprejudiced==scientifical==professional==a virtue.

    - Carefully giving minute details about the test conditions (hardware, software, test programme details, OS installation details..) This test wasn't remotely accurate, look how it even fails to mention at what time OpenBSD-CURRENT was downloaded. That's crucial information.

    - Compare equally. The test is already invalid because it compares an ancient -STABLE NetBSD with a -CURRENT FreeBSD.

    - Be clear about its subject. The test focuses exclusively on network performance/scalability, and then goes on to praise or totally disqualify the OS's tested solely on this ground. The test doesn't look at crucial aspects like security, maintainability, documentation, correctness of design, etcetera, but will still not hesitate to draw very un-subtle conclusions.

    - Ask those who are in the know for comments on the test conclusions before making the results public.
    In this precise case, it would have prevented several stupid factual mistakes from being published (the OpenBSD installation problem and IPv6 idiosyncrasies for instance.)

    - Call into the test all relevant players, or at least represent different groups properly.
    Much as I dislike it - I'm an open source adept as well - Windows is used as a server system on the public internet by many organisations. It should be compared with the other systems in this test, and be given a fair chance. I wouldn't have been surprised if it performed very well, seeing that the TCP/IP stack of modern Windows versions has been largely copied from FreeBSD..
    Also I would have liked it if there were at least one proprietary Unix system (such as Solaris) in the test. Just for the sake of the comparison.

    - Look closer into the reasons, backgrounds, pros and cons of faults that the tests find. Again, if the tester had done this, he would have found that some of the badness he found wasn't a design mistake, but a design decision based on healthily made trade-offs (security trade-offs in the case of, not surprisingly, OpenBSD.)

    1. RE: Disappointed by luxocculta · · Score: 1

      "A proper test would be

      - Performed on proper hardware. I mean, doing a network performance test on an old laptop with inadequate harddisk size, with four very much server-oriented operating systems, one of which (OpenBSD) couldn't even be installed on the same part of the harddisk as the others! That's like organising a race between a Lamborghini, a Lotus, a Porsche and a Ferrari in downtown New York during rush hour, and disqualifying the Ferrari on the grounds that it is difficult to park backwards."

      I get the sense that he is a linux user and got frustrated with the BSD's because they weren't userfriendly enough. I.E the egregious amatuer mistake of not setting "kern.maxproc=100000 into /boot/loader.conf " in the bootloader. The information wasn't obscure at all. It is cleary in the FreeBSD handbook in simple understandable terms. If he made mistakes with the best documented *BSD we can only imagine the mistakes he made with the others i.e alot of NetBSD's syctl's and other settings aren't documented at all (have to be a programmer/hacker and be able to read system code). Also, the fact that he was surprised that NetBSD outperformed FreeBSD shows how clueless he is. OpenBSD is designed for a specific thing and security comes with a performance cost.

      "- Unbiased. This one was very much biased against OpenBSD, and in favour of Linux/'Leanux', as follows from many of the comments made by the tester."

      He is totally biased and has problems with the OpenBSD developers and expressed hostilities to other BSD's on other occasions.

      "- Performed by somebody who knew enough about installing and running all of the OS's involved to run tests on them (the tester seems knowledgeable about Linux, but is totally clueless as far as for instance OpenBSD is concerned.)"

      Agreed, totally clueless on NetBSD and barely literate on Free (couldn't read the handbook RTFM i.e lazy)

      - Performed with a test programme that wasn't "developed with a bias toward one of the OS's in the test (the test programme involved was developed on Linux, later 'ported to' *BSD.)"

      A good C programmer can make unbiased benchmark programs since the nature of the language is highly portable... no comment.

      "- Described plain fact, by someone who would be objective and who would avoid showing emotions about the subject, much less a general favour or disgust toward the OS's tested. This is especially important because of the sensitive nature of the test subject. There are so many flamewars already!"

      Agreed very unprofessional

      "- Described withoud prejudice even /if/ the tester happened to be more familiar or friendly with one of the OS's tested. That would really help improve the value of the test. Unprejudiced==scientifical==professional==a virtue."

      Agreed again glad someone else understands this virtue. It's about integrity not subjective comfortable ease and laziness.

      "- Carefully giving minute details about the test conditions (hardware, software, test programme details, OS installation details..) This test wasn't remotely accurate, look how it even fails to mention at what time OpenBSD-CURRENT was downloaded. That's crucial information."

      Very much in agreement he should have documented the settings and tweaks he attempted and tried on each one. I wouldn' be surprised if you compiled the linux kernel and tailored it so it was more responsive and used GENERIC in all three BSD's except for ostensibly taking out the -debug symbols in the FreeBSD kernel. Which BTW is not enough since he probably didn't disable debugging in userland as well for FreeBSD.

      "- Compare equally. The test is already invalid because it compares an ancient -STABLE NetBSD with a -CURRENT FreeBSD."

      Very much in agreement here I am still at a loss to understand the mentality of this. It makes his epoll, kqueue , poll benchmark totally pointless among other things.

      "- Be clear about its subject. The test focuses exclusively on netwo

    2. Re: Disappointed by luxocculta · · Score: 1

      Oops my apologies I said above

      "Also, the fact that he was surprised that NetBSD outperformed FreeBSD shows how clueless he is. OpenBSD is designed for a specific thing and security comes with a performance cost."

      I meant to say "Also, the fact that he was surprised that NetBSD outperformed OpenBSD shows how clueless he is. OpenBSD is designed for a specific thing and security comes with a performance cost." -- My apologies for accidently putting FreeBSD in OpenBSD's place in that comment.

      Maybe someone wants to MOD this next point below up ?

      "- Be clear about its subject. The test focuses exclusively on network performance/scalability, and then goes on to praise or totally disqualify the OS's tested solely on this ground. The test doesn't look at crucial aspects like security, maintainability, documentation, correctness of design, etcetera, but will still not hesitate to draw very un-subtle conclusions."

      "- Be clear about its subject. The test focuses exclusively on network performance/scalability, and then goes on to praise or totally disqualify the OS's tested solely on this ground. The test doesn't look at crucial aspects like security, maintainability, documentation, correctness of design, etcetera, but will still not hesitate to draw very un-subtle conclusions."

      Agreed, what is measured here is scalability i.e latency. Scalability most often measured by time-complexity of an algorithms (microseconds and clock cycles). FreeBSD 4.8 is faster than 5.X because of lower total latency but 5.X has more scalability work done on it -- which he is trying to measure. Would have been interesting if he put 4.8 next to linux 2.4 and 5.X next to 2.6 in a proper environment(i.e not a partitioned hardisk with linux being the first OS installed on the DISK among a bunch of other environmental factors). This benchmark doesn't measure OS speed horizontally on all the things that make an OS fast just one horizontal specific area. This test deals with intimate API knowledge. Specifically POSIX API. NetBSD has the most unique API being that it is highly portable. For instance I bet he didn't even look into the POSIX compatibility integers in NetBSD's kernel MIB table. He didn't mention a Caveat for non engineers/programmers without intimate knowledge of scalability latency tests on POSIX API's what this test really mesaures vertically. This doesn't mean that one OS is faster than the other overall.

    3. Re:Disappointed by jo42 · · Score: 1


      Personally, I'd like to see the same, or similar, set of tests thrown at Windows 2000/2003 Server...

  70. please point out specifically by bani · · Score: 1

    where his data is incorrect or his conclusions are wrong.

    remember to include your own data supporting your assertions.

  71. Little change to get it to build on FreeBSD 4.7 by mistered · · Score: 1
    I tried building this on FreeBSD 4.7 but got an error:

    gcc -o pthreadbench pthreadbench.o -g -L../libowfat/ -lowfat -lpthread
    /usr/libexec/elf/ld: cannot find -lpthread
    *** Error code 1

    Some Google searching turned up a thread discussing this, and as suggested there I replaced -lpthread with -pthread in the Makefile. It built fine after that.

    --
    Enjoy your job, make lots of money, work within the law. Choose any two.
    1. Re:Little change to get it to build on FreeBSD 4.7 by luxocculta · · Score: 1

      Correct the gettimeofday test which relies on pthreading was a pointless test on NetBSD stable as well. I'm looking at the pthread.c file I just downloaded it from the CVS server with the rest of Gatling. Congratulations fefe you sucessfully stressed tested GNU pthreads on a NetBSD system instead of Native Pthreads in NetBSD 1.6ZD. NetBSD stable has GNU pthreads while NetBSD current has native threading capibilites. Add this in with the Kqueue mistake on NetBSD in his testing (caused bu using STABLE again) -- you beging to get the sense that this guy is a complete joke..

      for (i=0; i<count; ++i) {
      int r;
      gettimeofday(&a,0);
      switch ((r=pthread_create(p+i,0,mythread,pfd))) {
      case 0: /* ok */
      break;
      default:

  72. Re:[OT] Meensa == smrt by Mawen · · Score: 1

    Hmm, perhaps I should have been more obvious about that :) I figured you have to try hard to mess up the spelling of Mensa, especially in a post about spelling. On the Internet, spelling 'lose' incorrectly is somewhat of a phenomenon, a mistake that's easy to make because the phonetics come out 'oo'. I admit that I have thought about comitting that mistake once or twice :)

    A month or so ago someone on Slashdot posted an inspiring flame about how people very often spell 'lose' incorrectly, so I thought I'd take my turn at carrying the torch, especially when I saw the Mensa member bit. If people in the top two percentile of intelligence engage in persistent spelling mistake, what hope is there for the rest of the world? Card carrying Mensa people should be ones to set a standard in things like spelling, learning from others' horendously common mistakes, and humility.

    For most people, I make allowances, since not everyone has an eye for spelling. But my faith in humanity is pretty low and I have to find hope somewhere. Admitdetly, I don't even have a great deal of confidence even in 98th percentile IQ testees, but that is another matter.

    The 2nd most common spelling mistake I can think of is one of ignorance, and not accidental: that of spelling 'a lot' as one word instead of two. But if you inadvertantly spell Mensa with to e's, you probably have peanut butter stuck in your keyboard or something. That makes me think... if Star Trek style teleportation existed, I wonder if there would be mischievous people who teleported bits of peanut butter into people's brains at the exact right spot so that they always spell 'lose' incorrectly. Or maybe there already are! Hmm I must go think now.....

  73. Re:Golly! by metalix · · Score: 1

    Yep. Welcome to slashdot, where anything that shows linux as not perfect OS gets torn apart.

  74. Community Effort? Start an effort for Testing All by slave+6742 · · Score: 1

    It is disappointing to see many of the comments here. Some are good and beneficial comments, others are not.

    Where is the spirit of Sharing Ideas here?

    #Define Flame On

    I suggest that some here Grow Up! Zip your pants up, and quit the p*ss*ng contest. Your 15 seconds of fame are over! Now start acting like team players in this world!

    #Define Flame Off

    How about several of the people here that apparently seem that they know their stuff the best (and they may), smash heads together to come up with some benchmarks that test appropriately each of the different Operating Systems. I do mean all of the different OSs, such as OS/2, HPUX, Solaris 2.3, 2.4, 2.5, 2.6, 2.7, 2.8, 2.9, Windows (3.1, 95, 98, 2000, NT, etc....) Linux 2.1, 2.2, 2.4, etc... FreeBSD 4.8, 4.9, OpenBSD, NetBSD, etc.....

    I would suggest the following:

    1. Get some people together to come up with a general test that measures specific areas that the kernel is programmed for. These would be tests that would be subject to each OS developers approval (ie, that they test appropriately the area specified). Also, acquire each OS tuning parameters for each specific test.

    2. Use these tests to benchmark where an OS has issues.

    3. Forward these tests to developers who care about the OS they program, to use these as starting points where code may be improved.

    4. Post the tests for each OS. Both before and after fixes.

    Do I know what I am talking about? Probably not, but I was a test engineer for several years and we did perform quite a few test just like Fefe did to see what would happen. As time went on, yes we came up with better and better tests. Accept this fellows test as for what it is, a start of people getting together to put together better and better tests. By the way, he did a fairly good job for one that has gone out of their way to help the nerds out there think about things, some apparently think, while others just like to /. .

    Which OS do I use? Which ever is handy at the moment! Sometimes we don't get a choice!

    --
    HGTTG: "I knew that there was something fundementally wrong with the Universe."
  75. Re:Can I smoke some? (Mac OSX panther is FreeBSD 5 by tigga · · Score: 1
    Still a mach kernel. Note that the word mach contains neither a "B" an "S" nor a "D".

    Mach is a microkernel. There are a lot more pieces that compose whole kernel.

    From the The Unofficial Darwin FAQ:

    # What is Darwin's lineage? Justin Walker's description of Darwin's heritage is: Mac OS X began life as a child of OpenStep 4.x. The first stage in the evolution was the move from OpenStep 4.x to Rhapsody, which was based on BSD Lite2, with a batch of NeXT-instigated changes. When we shifted to Mac OS X from Rhapsody/Mac OS X Server, we incorporated FreeBSD 3.2 changes for the networking piece. The rest of the BSD portion of the kernel remained more or less as it was. At the same time, we (i.e., Fred, with your [Darwin's] help) pulled in command and library updates. Most of these are from FreeBSD, although I'm not positive about the heritage of the pieces that are now in the system.

    Please try again with some correct facts.

    Yes, please ;))

  76. benchmarking the benchmark. by hegemon17 · · Score: 1

    Redoing all those benchmarks without the strange libraries that the author uses and instead using plain syscalls shows that what the benchmarks measure is how the benchmark code performs, not the actual syscalls.

    A real bind benchmarks has a O(1) time on OpenBSD and NetBSD.

    The connect latency benchmark seems seriously confused. And since I don't find any source for it, I must conclude (based on the rest of the benchmarks) that it must be flawed in some way.

    The "read one byte from each page" benchmark on OpenBSD performs that badly because the file used doesn't fit in the buffer cache.OpenBSD doesn't use all the memory for the file cache. When the file fits in the buffer cache OpenBSD has a performance comparable to linux 2.4. Anyone with half a clue about how a computer works would have listened to the disk and noticed that it's making noise.

    And the rants about ipv6 only show that he doesn't know how to write proper ipv6 code and instead relies on a compatibility interfaces that were created for lazy programmers to allow for quick conversion of old ipv4 programs into ipv6.

    The author is clueless and the benchmarks more often measure the performance of the benchmark itself than the operating system.

  77. Re:[OT] Meensa == smrt by Dick+Faze · · Score: 1

    Loose still holds second place to viola and walla being used in place of "voila". Though I have given up all hope as I've recently seen "anyways" and "that's a whole nother thing" used in would-be serious posts.