Slashdot Mirror


Putting Linux Reliability to the Test

Frank writes "This paper documents the test results and analysis of the Linux kernel and other core OS components, including everything from libraries and device drivers to file systems and networking, all under some fairly adverse conditions, and over lengthy durations. The IBM Linux Technology Center has just finished this comprehensive testing over a period of more than three months and shares the results of their LTP (Linux Test Project) testing."

37 of 296 comments (clear)

  1. Linux Test? by Anonymous Coward · · Score: 5, Funny

    Just put a link to each box on /. and wait 24 hours.

  2. Almost 1P, but I RTFAd :( by Anonymous Coward · · Score: 4, Interesting

    Anyone know if the test will be repeated with kernel 2.6.x?

  3. USE BAD HARDWARE! by superpulpsicle · · Score: 5, Insightful

    You want to put any OS to the ultimate test, you should run cheap generic hardware. I swear it's an industry conspiracy that generic parts struggle a boat load. If your parts don't come from the big boys (DELL, gateway, etc), you are likely going to see issues down the line.

    Get some ECS motherboard, generic RAM... bang. You're in for the evening.

    1. Re:USE BAD HARDWARE! by spikev · · Score: 5, Insightful

      IMHO, it's the big boys that have the conspiracy to sell crappy hardware. Try performance testing almost any (PC Chips mobos don't count) custom system against a Dell with a similar hardware configuration, and you'll see what I mean.

      I've done it with my ECS board with generic ram, and I came out on top.

      It's the big computer makers that sell the cheap generic hardware. Try getting anything that's essential and non-OEM, hardware or software, to work with one of those boxes.

  4. Re:Linux Reliability? by rjmx · · Score: 5, Funny

    > You're thinking Microsoft Works.

    I'm thinking it doesn't.

  5. You don't trust Microsoft to evaluate Windows... by davidstrauss · · Score: 5, Insightful

    Why do you trust IBM's Linux Technology Center to evaluate Linux?

  6. s/w -vs- h/w failure? by Quixote · · Score: 5, Interesting
    I skimmed over the article (heretic!), and was wondering: how do they distinguish between software failures (the purpose of the test) and hardware failures (for example, random bit errors in the memory that could be caused by higher temperatures due to the stress testing)?

    I seem to recall getting random crashes with cheapo memory, and it was a pain to track down the offending component. Of course, one would assume that IBM wouldn't go for cheapo components, but still: how does one point the finger at the software, instead of hardware? Is it just repeatability?

    1. Re:s/w -vs- h/w failure? by Anonymous Coward · · Score: 5, Informative

      http://www.memtest86.com/ Freeware GPL bootable memory tester for PC platforms... highly recommeded for troubleshooting flaky RAM...

  7. Not bad by changelingyahoo.com · · Score: 5, Insightful

    This is nice to hear, but it would be even more valuable if the same tests were performed on a variety of operating systems in order to compare the results.

    Brian

  8. Results... by rmdir+-r+* · · Score: 3, Interesting

    The Linux kernel and other core OS components -- including libraries, device drivers, file systems, networking, IPC, and memory management -- operated consistently and completed all the expected durations of runs with zero critical system failures. Every run generated a high success rate (over 95%), with a very small number of expected intermittent failures that were the result of the concurrent executions of tests that are designed to overload resources. How does that compare with other OS's?

  9. Needs to be done independantly by ducomputergeek · · Score: 4, Insightful
    Well I have some Karma to burn tonight. I don't mind that its the 2.4 KERNAL even though 2.6 is ready. Why? We never put anything on our production server that hasn't been out for at least 6 months with exception of security upgrades.

    Second off, If this were M$ testing 2k3 and publishing the paper, everyone here would be crying foul. But because its, "Linux" it must be 100% unbais and true.

    I've been using Linux for 8 years now including under high stress enviroments, 3d graphics rendering mainly, and from experiance I have see very good things from Linux. We have had software glitches before, but the core software maybe has caused 3 - 5% of our downtime. Over 70% of our downtime involves human error and about 25% of failures are due to hardware giving out.

    Still what my customers are wanting to see isn't benchmarks as "So easy Grandma could use it" in Linux. While the people in the datacenters want to know how well Linux will bear under a load, most end-users and SMB's don't need to worry about it, they just need something easy to use that works.

    --
    "The problem with socialism is eventually you run out of other people's money" - Thatcher.
    1. Re:Needs to be done independantly by haruchai · · Score: 4, Insightful

      Well, their bias is clearly stated on their web page- this is the Linux Test project - which is dedicated to evaluating the capabilities and limits of Linux.

      They aren't making a comparison to other OSes or saying that Linux is more suitable than such-and-such operating system; just that it is suitable for particular tasks or environments.

      A comparison between different OSes should be carried out by an independent testing facility but, in this particular case, I don't see anything
      wrong with their modus operandi.

      --
      Pain is merely failure leaving the body
    2. Re:Needs to be done independantly by antiMStroll · · Score: 3, Insightful
      Second off, If this were M$ testing 2k3 and publishing the paper, everyone here would be crying foul. But because its, "Linux" it must be 100% unbais and true.

      An ironic assertion regarding bias. IBM isn't the author of Linux or any of its tools, add-ons, servers, etc. as Microsoft is of 2k3 and its support software. Microsoft also has a long and distinguished history of FUD. IBM doesn't have anywhere near the historical attachment to Linux that MS has to Windows, and IBM hasn't been caught lying about it yet. It would be irrational to treat the two equally at their word.

    3. Re:Needs to be done independantly by Samrobb · · Score: 4, Insightful
      Microsoft also has a long and distinguished history of FUD.

      Pretty amusing that you would say that, considering the origin of the term:

      Defined by Gene Amdahl after he left IBM to found his own company: "FUD is the fear, uncertainty, and doubt that IBM sales people instill in the minds of potential customers who might be considering [Amdahl] products."

      Not that I disagree with your assertions - IBM doesn't have near the same ties to Linux that MS has to Windows. But it's amusing to see how much the technological landscape has changed, that a term coined to describe IBM can now be used to (in some sense) defend it.

      --
      "Great men are not always wise: neither do the aged understand judgement." Job 32:9
  10. Re:Linux 2.4.19-ull-ppc64-SMP (SLES 8 SP 1) by LurkerXXX · · Score: 3, Interesting

    2.6.0 has only been out for a week. I'm going to want to see someone stress test it for a hell of a lot longer than a week before I call it "enterprise ready".

  11. Re:You don't trust Microsoft to evaluate Windows.. by davidstrauss · · Score: 5, Interesting
    Why shoudn't we trust this test?

    The people performing it have a vested financial interest in having it turn out a specific way, notably positive. If the test resulted showed poor reliability, then I would understand trusting it because it would go against the motives of the people performing it. Since the test affirms their business model, no matter how documented it is, it should be suspect.

    It doesn't appear to be a test rigged to make one platform look better than the other.

    It looks a bit skewed to me. Many of the test results depend on the computer systems meeting expectations of the people testing it, particularly in overload cases. Since the people who tested work in the Linux Technology Center, their expectations stand a greater likelyhood of being consistant with the system.

    Take C/C++ and Java. Someone who regularly works with C/C++ knows certain libraries (notably the character ones) return ints for status in the form 0 being false and not 0 being true. If someone expects that, the system meets expectations and passes. If someone comes from a different background, say Java, he or she may not expect that, and the system would consequently fail the test of meeting expectations. I would like an evaluation from somewhere in-between, not someone whose years of experience allow them to gloss over what might be problems for another person.

  12. Re:You don't trust Microsoft to evaluate Windows.. by davidstrauss · · Score: 3, Informative
    Of course we would not trust IBM to evaluate linux. That's why the used LTP for testing.

    Microsoft commonly hires outside companies to perform their tests. Do you remember the evaluation of Exchange versus Notes/Domino scalability by Ziff-Davis but funded by Microsoft? People justifiably questioned those results, as the company hired (Ziff-Davis) has an interest in pleasing the hiring company (Microsoft) so they get future work.

  13. Re:You don't trust Microsoft to evaluate Windows.. by davidstrauss · · Score: 3, Insightful
    Because what would they have to gain by lying?

    They have much to gain: more corporate customers and more respect and funding by greater IBM. Just because IBM supports Linux doesn't mean its motives are pure (not financially driven). Another reason for bias is the division also stood to have huge setbacks if the tests were unfavorable. How could they justify expansion and better funding if their previous statements about Linux being enterprise-ready were unfounded?

  14. Why? Here's why... by Crypto+Gnome · · Score: 5, Interesting
    • because the test methodologies are documented
    • because it's disclosed up-front that it's IBM Linux Team testing Linux (ie no hidden conflict of interest
    As opposed to the usual (ie in the Microsoft World)
    • ZDNet (and/or others) "testing" Microsoft Products (but only vaguely describing how things were configured)
    • Microsoft paying someone to "report" on the quality/performance of a Microsoft product, but the evaluation is worded in such a way as to convince the user that it's an independent review and the "funded by microsoft" fact is never mentioned anywhere in the evaluation
    --
    Visit CryptoGnome in his home.
    1. Re:Why? Here's why... by Crypto+Gnome · · Score: 5, Informative
      OK, so the Reality Check in this equation amounts to:

      You should not trust this evaluation at all.
      • Go to the site
      • download the testing tools yourself
      • read the test paper
      • use the test methodologies as documented
      • do your best to verify their test results yourself
      • go back to the site
      • post your results for everyone else to see
      (ie follow the good practices of basic science)

      After all... On the internet , nobody knows you're a dog.

      Any JimBOB can write a convinving paper, with all the right buzzwords, that sounds as if X+Y=Z, especially if that was logically a likely/expected outcome in the first place.

      As a well-known TV show once said (several times and loudly) Trust No-One.

      Remember people, YMMV.
      --
      Visit CryptoGnome in his home.
  15. Re:You don't trust Microsoft to evaluate Windows.. by Surazal · · Score: 4, Insightful

    So, ya reply to one point but ignore the rest? I think his (ultimate) point is valid. If the test was rigged, the folks involved with developing the kernel would catch on and take IBM to task for fudging the results. No, I'm not talking about the Slashdot/Fark crowd. I'm talking about REAL developers.

    Also, Linux has weathered some unfavorable (and honost!) critiques before. Linus Torvalds said it best when he said (and I paraphrase since I am too lazy ATM to look up the actual quote) that it doesn't matter if there's negative publicity in the press about Linux. It just meant he got his bug reports from the Wall Street Journal as opposed to the regular kernel mailng list.

    --
    --- Journals are boring; Go to my web page instead
  16. WHAT is the failure? by SharpFang · · Score: 4, Interesting

    95% success ratio... does that mean that 1 in 20 programs I run segfaults or what? What do they mean by "failure"? Not finishing given task in predefined time? Getting the results wrong? Hanging?

    Sorry but that means nothing. Even if there -was- a comparison to other systems, it would still mean nothing. 95% success ratio, 78% happiness factor and 93% user satisfaction.

    --
    45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
    1. Re:WHAT is the failure? by be-fan · · Score: 3, Informative

      Its the results from the Linux Text Project suite. 95% success rate, zero critical failures, means that 95% of the 2000 test cases completed successfully, and nothing crashed the kernel. To see what that means, just take a look at what test cases are in the LTP!

      --
      A deep unwavering belief is a sure sign you're missing something...
  17. Re:Linux 2.4.19-ull-ppc64-SMP (SLES 8 SP 1) by RALE007 · · Score: 4, Insightful
    You're annoyed that they released the results for a 90 day stress test on a 2.4.x kernel, but not a 90 day stress test on a 2.6.x kernel? The 2.6.x kernel has been out for nine days. How would they have any results on the new kernel? By sending results to us using the Way Back Machine?

    I think IBM used SuSE instead of Redhat because IBM Global Services and SuSE have been partners for almost two years.

    Maybe you should stop hmmmmm'ing about these great mysteries and start googling.

    --
    Beware blue cats moving at .99c
  18. Diagnosing software vs. hardware is easy. by Inoshiro · · Score: 3, Insightful

    Hardware fails in random patterns (bits flipped by beta radiation, for example), software fails the same way in controlled instances (the same flawed logic fails the same way each time).

    So when you run a test 5 times, and you get 5 results, the hardware is broken. When you run the same test 5 times, and it gets to the exact same point before sig11ing, you have a software flaw.

    This is also why you do multiple tests to ensure you're getting an accurate picture of what's going on (flawed or not).

    --
    --
    Internet Explorer (n): Another bug -- that is, a feature that can't be turned off -- in Windows.
    1. Re:Diagnosing software vs. hardware is easy. by ImpTech · · Score: 3, Informative

      Bleh, thats not necessarily true at all. A good race condition in a many-threaded program can quite easily look very much like a hardware problem, in that it is difficult to reproduce reliably.

    2. Re:Diagnosing software vs. hardware is easy. by jmv · · Score: 4, Insightful

      software fails the same way in controlled instances

      That's true... in theory. In practice, there are many ways software can fail in random (in the weak sense) ways. Many of these are related to timing. For example if you have many threads and fail to lock things properly, the result will depend on when the tasks are preempted. You can also have different results because of the way the interrupts (disk, net, ...) happen. There's also the not-initialize type of problem where the behaviour depends on whatever was there in memory before. There are probably many other ways for software to fail at random, including obscure combinations of events.

      I'd say that the only kind of software that can't fail randomly is single-threaded and doesn't rely on any input other than regular files (and even then I'm not sure it's enough).

    3. Re:Diagnosing software vs. hardware is easy. by MoogMan · · Score: 3, Interesting

      You will find that a lot of the trickier bugs can depend on certain [eg. race-] conditions. Such things that are very hard to recreate, even under carefully controlled situations. Then you get the heisen-bug variety etc. Such errors could easily be passed off as hardware failiure. Im sure you can dream up your own examples. (I cant; Im still drunk)

  19. Failures needed by Error27 · · Score: 3, Interesting

    This test would have been more interesting if there had been failures. Perhaps they could have tried the test on an older version of Linux, or a different operating system.

    I have been trying to write some tests of my own recently. So far I have found a filesystem OOPs, a ptrace BUG(), and my system locks up on low memory situations. Probably the lockup is because my ethernet driver allocates memory in the interrupt handler (GFP_ATOMIC) and can't handle the result when there is no memory available.

    I need to fix the lock up first of all so the other tests have time to run...

  20. Here goes by floydman · · Score: 5, Insightful

    FTA
    The tests demonstrate that the Linux system is reliable and stable over long durations and can provide a robust, enterprise-level environment.

    Ok, now i dont mean to troll here, so mod down if you wish, i really dont care.... BUT...
    I am a linux user/programmer/lover for the past few years now, and i wanna see a company that is not SO IN LOVE with linux say what have just been said by IBM above.
    In other words, i dont want to see companies who sell Linux, or who have benefit in selling Linux praise it. Does any one of you know of someone who fills in these criteria. Sun for one is not very fond of Linux, nor is MS ofcorse (despite the fact sometimes i doubt they have code in their stuff from Linux...)...to make a long story short
    It would be really nice if such a judgment came from someone else besides IBM/REDHAT/ORACLE...

    --
    The lunatic is in my head
  21. Scaleable.... really? by tonyr60 · · Score: 5, Insightful

    "The Linux kernel properly scaled to use hardware resources (CPU, memory, disk) on SMP systems."

    Sorry, but how can the scaleability of the CPU resource be proven on a 2 CPU system? Show incremental results on 1, 2, 4, 8, 16, 32 etc. etc. and then CPU scaleability may be proven.

    This is NOT an anti-Linux troll, rather the evaluation needs to justify it's outcomes or it starts to look like something from a company starting with M.

  22. Axioms of Christmas Linux Economics by Anonymous Coward · · Score: 3, Funny

    1) Linux is free if your time is worthless
    2) My time is not worthless
    3) Linux is not free
    4) Giving Linux as a Christmas present is not "cheap"
    5) Linux is a good Christmas present.

  23. So what ? by Alain+Williams · · Score: 3, Insightful

    All that this shows is that a Linux based system works in the way that it should. Would you expect anything else if you ran your: TV, central heating, ... for a long period ?

    The trouble is that, after a period of increased stability in the 1980's, in the last decade people have come to expect that computers fail, and they wonder with amasement if they don't.

    OK: 30 years ago I remember it being a good day if the mainframe stayed up 12 hours. But things have moved on, today you expect your: MVS, VMS, Unix, Linux machine to stay working. The only OS vendor who's products have not matured is the one in Redmond - largely because of rampant infestation with new features.

    The above is not intended to belittle the fantastic efforts of all those involved.

  24. I already knew GNU/Linux was stable by idiotnot · · Score: 3, Interesting

    In fact, it's not much of a question for me anymore -- when there's a problem, it's normally hardware malfunction. I have several machines with 160+ day uptimes, which would be longer if not for an extended power outage at the office.

    IBM just confirmed what I already knew. Guess what, Win2k is pretty stable, too. Sorry, but it's true.

    But, jeeze, isn't anyone else drooling over those systems they tested on? Makes me hate my busted whiteboxes and horrible HP's a little more everyday.

    Repeat after me....."MMMM, dual Power4......MMMM, dual Power4...."

  25. IMHO by kmichels · · Score: 4, Informative
    Nice to see some number coming in on Linux stability, although, as someone once said: there are lies, damn lies, and statistics. Anyone who has done any stats at University will know that you can prove anything from any result set. And as has already been pointed out by someone, the fact that it has been done by a company who has a not insubstantial vested interest in getting Linux into as many big companies as they can, it carries about as much credability as a Windoze security evaluation paper done by anyone other than Linus.


    The very reason Linux has already made so many inroads into coporations in the first place is because of its reliability and stability, and not because some marketing campaign has churned out the words on header paper.


    Another point is that I personally expect the sytems I administer to run for a darn side longer than 30, 60 or 90 days unless I need to restart them because of a kernel upgrade. When my last bunch I worked for went tits-up, our SAMBA file server had a 790 day uptime, and had run the SAMBA daemons reliably throughout, as well as doing internal DNS and DHCP. That's what your average Linux sysadmin expects from a Linux server box.


    A Linux desktop being used for all manner of things though is completely another story: if I muck around with the Linux install on my laptop, as I do because that's what I do, then I expect to break it from time to time, and so "reliability" is not measured in the same way on a desktop/laptop system, IMHO.


    The ideal environment for Linux is as a networked server, where it can get on with doing what it was setup to do, and will continue doing so until someone pulls the power plug on it. In that context, there are few OS's playing on the same field that can rival it for reliability and stability.

  26. The problem lies not with reliability by Lord+Kano · · Score: 3, Insightful

    but with package and dependency madness.

    I couldn't tell you the number of times I tried to install something and it fails because I was missing "X-Widget-2.41.so.1", so I try to install that "X-Widget-2.41" package and the "X-Widget-2.41-devel" package and they fail because they are missing several other depends as well.

    Linux stability is fine. The GNU software stability is fine. We need a better way to install and maintain software.

    LK

    --
    "Hi. This is my friend, Jack Shit, and you don't know him." - Lord Kano
  27. My experience: Linux survives hard drive crash by crow · · Score: 4, Interesting

    I've been using an old P120 laptop as a firewall/router for my house for the past several years running 2.2.something. I wondered why it rebooted after noticing an uptime of only a day or two, but found that instead I was experiencing the uptime rollover bug (at about 500 days; Windows used to crash on a similar bug after 48 days). About a month ago, it stopped giving out DHCP addresses. I went downstairs to investigate, as I couldn't log in remotely, and found that the hard drive was making that nasty clicking sound. I eventually managed to ssh in (sshd and sh were in ram; I just waited for the logging to time out). I was able to kill syslog and cron, and now dhcp is again giving out addresses.

    It's been running just fine for a month now with a dead hard drive.

    (Yes, I'm getting a replacement because it won't survive an extended power outage on that ancient battery.)