Slashdot Mirror


Linux Beats Win2000 In SpecWeb 2000

PraveenS writes: "While not conclusive, the SPEC group released benchmarks for a variety of systems submitted by various manufacturers (i.e. Dell, Compaq, HP, etc...) and tested their Web-serving capability. Two very similar machines from Dell, one loaded with Linux and the other with Win2000 had very different results; Linux beat Win2000 by a factor of almost 3 . Here's a synopsis of the results from LinuxToday. The actual spec benchmarks are available here for Win2000 and here for Linux."

As Marty of LinuxToday puts it, though, "What does this mean? In the real world, probably not as much as it would seem. Benchmarks in general are typically set up in an ideal environment. Real world environments tend to be quite different. However, this does indicate that Linux is moving in the right direction."

Zoran points out that "[o]ther current SPECweb99 results can be found here." They make an interesting comparison.

23 of 315 comments (clear)

  1. Re:Where's the variations in hardware and software by Imperator · · Score: 4

    If you had bothered to read more of the site, you would have noticed that those results are all submitted by vendors with interests in getting good numbers. If Sun wants to enter a Sparc/Solaris combo, they can do that. If Apple for some reason decided it was in the HTTP server business (which it isn't (yet?) by any stretch of the imagination), it can run the test suite and submit the results.

    --

    Gates' Law: Every 18 months, the speed of software halves.
  2. more info about TUX 1.0 by Ingo+Molnar · · Score: 5
    i'm the one who designed/wrote most of TUX, and here are some facts about it.

    'TUX' comes from 'Threaded linUX webserver', and is a kernel-space HTTP subsystem. TUX was written by Red Hat and is based on the 2.4 kernel series. TUX is under the GPL and will be released in a couple of weeks. TUX's main goal is to enable high-performance webserving on Linux, and while it's not as feature-full as Apache, TUX is a 'full fledged' HTTP/1.1 webserver supporting HTTP/1.1 persistent (keepalive) connections, pipelining, CGI execution, logging, virtual hosting, various forms of modules, and many other webserver features. TUX modules can be user-space or kernel-space.

    The SPECweb99 test was done with a user-space module, the source code can be found

    here. We expect TUX to be integrated into Apache 2.0 or 3.0, as TUX's user-space kernel-space API is capable of supporting a mixed Apache/TUX webspace.

    TUX uses a 'object cache' which is much more than a simple 'static cache'. TUX objects can be freely embedded in other web replies, and can be used by modules, including CGIs. You can 'mix' dynamically generated and static content freely.

    While written by Red Hat, TUX relies on many scalability advances in the 2.4 kernel done also by kernel hackers from SuSE, Mandrake and the Linux Community as a whole. TUX is not one single piece of technology, rather a final product that 'connects the dots' and proves the scalability of Linux's high end features. I'd especially like to highlight the role of extreme TCP/IP networking scalability in 2.4, which was a many months effort lead by David Miller and Alexey Kuznetsov. We'd also like to acknowledge the pioneering role of khttpd - while TUX is independent of khttpd, it was an important experiment we learned alot from.

    Other 2.4 kernel advances TUX uses are: async networking and disk IO, wake-one scheduling, interrupt binding, process affinity (not yet merged patch), per-CPU allocation pools (not yet merged patch), big file support (the TUX logfile can get bigger than 5GB during SPECweb99 runs), highmem support, various VFS enhancements (thanks Al Viro), the new IO-scheduler done by SuSE folks, buffer/pagecache scalability and many many other Linux features.

  3. Re:two words.. by Black+Parrot · · Score: 4

    > Linux zealots scream bloody murder and inspect the process with a microscope. Someone else does a benchmark that shows Linux 3 times faster than Win 2k, and they are content that the Mindcraft fiasco has been avenged.

    Well, it could be that we notice that a standard benchmark was used rather than one tailored by a company with an axe to grind. Or it could be that the benchmarks were submitted by hardware vendors, whose primary interest is in making their hardware look good (i.e., it's really hard to imagine Dell fudging a benchmark to make Linux look better than Windows). Or it could be that c't already told us how Linux and NT measured up on more equitable benchmarks. Or it could be that Microsoft's own tests showed W2K performing worse than NT on systems with > 4Mb of RAM. Or it could be that testers have been saying that W2K needs +300 MHz in hardware to perform as "well" as NT did.

    In short, there's no reason for surprise at all. This benchmark is only quantifying what the attentive already knew qualitatively. If there are flaws with the benchmark, they almost certainly won't be enough to tilt it against what we already knew; if they do, we'll air our suspicions again.

    I do agree that it's still a benchmark, and is therefore susceptible to all the follies associated with benchmarks. But at least this one wasn't obviously rigged.

    --

    --
    Sheesh, evil *and* a jerk. -- Jade
  4. Why are the backlogs different? by khaladan · · Score: 5

    For Linux they set the backlog at 3000. For W2k it's at 1000. Anyone see the difference? AFAIK, W2k can have a higher backlog, or even a dynamic backlog. I'd like to see a test where the backlogs are the same. Then there would actually be similar simultaneous connection counts! Right now, those numbers mean little if they are being compared.

  5. An interesting test... by Greyfox · · Score: 5
    What I'd like to see is how many clients you could serve with the biggest hardware that each OS can run on.

    For instance, on the Windows side you might have an 8 way xeon with 2 gigs of RAM. On the Linux side you might have (for instance) an S390 with a terabyte or two of RAM. Then just start loading them down with network clients until they start to stagger.

    I'd be interested in the oucome...

    --

    I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

  6. Re:the crucial difference by Ingo+Molnar · · Score: 5

    You are confusing two completely different architectural concepts.

    "threads" (which get created) and "processes" (which get forked) are 'context of execution' entities. Linux has both, TUX 1.0 uses both.

    A "threaded TCP/IP stack" is a slightly mis-named thing, it means "SMP-threaded TCP/IP-stack", which in turn means that the TCP/IP stack has been "SMP-deserialized" (in Windows speak) - TCP/IP code on different CPUs can execute in parallel without any interlock/big-kernel-lock overhead or other serialization.

    A 'threaded TCP/IP stack' has no connection whatsoever to a 'threads'.

    FYI, the Linux TCP/IP stack was completely redesigned and deserialized during the 2.3 kernel cycle, this redesign/deserialization was done by David Miller and Alexey Kuznetsov. The TUX webserver of course relies on the deserialization heavily, but this is not the only architectural element TUX relies on.

  7. Re:And you assume Dell is objective because...? by Ingo+Molnar · · Score: 4
    Your argument is flawed. Look here for an IBM/IIS SPECweb99 result done on a similar 4x 700 MHz Xeon system. Check out this IBM result as well. And there are HP and even Mindcraft submissions. Dell has the fastest Windows 2000 numbers, and it's fair to compare the fastest Windows 2000 results to the fastest TUX results, especially if they were done on similar hardware.

    You assume that IBM, HP, Mindcraft and Dell are all in a big conspiracy to make Windows 2000 numbers look bad - are you kidding? The reality is that there is fierce competition for best SPECweb99 numbers, and Linux/TUX is just plain faster.

    The other flaw in your argument is this TUX dynamic module. Check out the source code, TUX does dynamic modules. (besides, the SPECweb99 workload includes 30% dynamic load, so all SPECweb99 webservers must support dynamic applications.)

  8. Re:two words.. by qbasicprogrammer · · Score: 4
    FreeBSD is actually the most high-performace server operating system. This is what FreeBSD vs. Linux vs. NT has to say about Linux and FreeBSD performance:
    :) FreeBSD is the system of choice for high performance network applications. FreeBSD will outperform other systems when running on equivalent hardware. The largest and busiest public server on the Internet, at ftp.cdrom.com, uses FreeBSD to serve more than 800GB/day of downloads. FreeBSD is used by Yahoo, USWest, Xoom.com and many others as their main server OS because of its ability to handle heavy network traffic with high performance and rock stable reliability.
    And Linux:
    :| Linux performs well for most applications, however the performance is not optimal under heavy network load. The network performance of Linux is 20-30% below the capacity of FreeBSD running on the same hardware as Linux. As long as you are not trying to squeeze the last ounce of performance out of your hardware, or performing mission critical transactions, Linux is a very good choice for a server OS.
    Windows NT has this description (Windows 2000 is NT 5.0):
    :( Windows NT is adequate for routine desktop apps, but it is unable to handle heavy network loads. A few organizations try to make it work as an Internet server. For instance, barnesandnoble.com uses Windows-NT, as can be verifyed by the error messages that their webserver produces, such as this recent example: Error Message: [Microsoft][ODBC SQL Server Driver][SQL Server]Can't allocate space for object 'queryHistory' in database 'web' because the 'default' segment is full. For their own "Hotmail" Internet servers, Microsoft uses FreeBSD.

    --

    10 LIST : REM MER : TSIL 01
  9. Re:Linux moving in the right direction? by Zurk · · Score: 4

    NO. see this :
    http://geocrawler.com/lists/3/Linux/35/150/39779 92/

    its VERY important that linux users are aware that the linux devleopment process is hitting a roadblock right now. things dont look too bright.

  10. Looks like Mindcraft is now available for linux by Anonymous Coward · · Score: 4

    It will be interesting to compare the comments of this article to the ones regarding mindcraft. I wouldn't be surprised if two thirds of the people here take this to be the truth simply because linux won.

  11. dynamic content benchmarks? by austad · · Score: 4

    It would be nice if someone would run some benchmarks with the same two machines, only have the W2k box serving up dynamically generated ASP and PHP pages, and the Linux box serving up a comparable PHP page. Whack up some identical code to perform Fast fourier transforms in the page and make it spit out the result. Once you get a database into the mix, you're also measuring the performance of it, and this is just a webserver test. Unless of course you have both boxes hit the exact same database, maybe a nice big Oracle database running on Linux. :)

    Everyone here knows that MS zealots will say "Yeah, but W2k can spit out dynamic content faster...". It would be nice to have proof either way. I know I'm very interested in seeing how PHP on Linux compares to ASP on W2K.

    --
    Need Free Juniper/NetScreen Support? JuniperForum
    1. Re:dynamic content benchmarks? by maelstrom · · Score: 4

      Everyone here knows that MS zealots will say "Yeah, but W2k can spit out dynamic content faster...". It would be nice to have proof either way.

      Kinda like when us Linux zealots said, "Yeah, but Linux can spit out dynamic content faster.." ;) I do agree that it would be more meaningful to see dynamic benchmarks. After all you can saturate a T-1 with a Pentium if you are just spitting out flat HTML.


      --
      The more you know, the less you understand.
    2. Re:dynamic content benchmarks? by ksheff · · Score: 5

      From http://www.spec.org/osg/web99/:

      SPECweb99 is the next-generation SPEC benchmark for evaluating the performance of World Wide Web Servers. As the successor to SPECweb96, SPECweb99 continues the SPEC tradition of giving Web users the most objective and representative benchmark for measuring a system's ability to act as a web server. In response to rapidly advancing Web technology, the SPECweb99 benchmark includes many sophisticated and state-of-the-art enhancements to meet the modern demands of Web users of today and tomorrow:
      • Standardized workload, agreed to by major players in WWW market
      • Full disclosures available on this web site
      • Stable implementation with no incomparable versions
      • Measurement of simultaneous connections rather than HTTP operations
      • Simulation of connections at a limited line speed
      • Dynamic GETs, as well as static GETs; POST operations.
      • Keepalives (HTTP 1.0) and persistent connections (HTTP 1.1).
      • Dynamic ad rotation using cookies and table lookups.
      • File accesses more closely matching today's real-world web server access patterns.
      • An automated installation program for Microsoft Windows NT as well as Unix installation scripts.
      • Inter-client communication using sockets.

      It certainly looks like they are testing Dynamic content as well as static. Check out http://www.spec.org/osg/web99/results/ api-src/ for the source for the dynamic content.

      --
      the good ground has been paved over by suicidal maniacs
  12. Re:Ignore this! by tecnodude · · Score: 5

    I thought about talking about this, but I'd have to use my experience and that is fairly subjective. I'm curious what do you think the difference in human costs are? Lets see, take 30 minutes to install/configure Redhat, Take 10 minutes to install the latest updates, 5 minutes to disable services that are not needed and block the outside world from anything except 80 and 22, 10 minutes to install openssh, 5 minutes to load an existing website on the machine. Reboot the machine just to make sure and you're all set.

    Looks like about an hour to me. Maybe an hour and a half if you want samba and frontpage extentions installed.

    Just for kicks, lets take a look at NT.
    When I installed it yesterday it took about the same about of time to install as redhat, so lets figure 30 minutes. Configure for network and reboot 5 minutes, Setup IIS 15 minutes, add webpage to IIS 5 minutes. Reboot the machine just to make sure.

    Ok looks like a total of 55 minutes. Great, MS just saved you 5 or 35 minutes depending on what you're looking for. Is it really worth a few hundred dollars, if not more for an MS webserver if you really don't need one?

    Also, with the linux box, I can ssh in and fix things remotely, I don't even have to be there to apply a patch when it comes out. As a consultant I find that very appealing. I just scp a file over, install it, restart the service and I'm set. NT I actually have to be there, when some of my clients are almost 2 hours away, I'd much prefer the linux method.

  13. Where's the variations in hardware and software? by queasymoto · · Score: 4

    I find it interesting that there's no Macintoshes or Suns in the test, although there are at least one Alpha and two RS/6000s. How can they claim to be a useful benchmark by concentrating mostly on Intel hardware, and only running three HTTP servers? I'd think that the differences between different servers running on the same hardware could be just as much as between different hardware configurations; hell, even poorly configured vs. properly configured systems would be a huge difference...

  14. Re:Linux Zealots: come out and play! by Jason+Earl · · Score: 4

    First of all, these benchmarks (both the Win2k benchmarks and the Linux benchmarks) were posted by Dell, not by some random Linux zealots. Not only is that the case, but the other WinTel vendors have very similar scores for their WinTel hardware. Does this suddenly mean that all of the W2K vendors are conspiring to make Linux + TUX on Dell hardware look good? Or could it possibly mean that all research that Microsoft funded in the Mindcraft benchmarks is coming to fruition? My guess is that the folks at Microsoft are going to start to truly understand the power of release early, release often. While W2K has sat relatively still basking in its Mindcraft glory the Linux community has targetted the specific problems Linux had that caused it to do poorly in the Mindcraft benchmarks, and has rectified them.

    Second of all this is a SPECweb benchmark. The web part of SPECweb would tend to indicate that it is a benchmark of http performance. If you read the spec you would notice that it specifically measures both static and dynamic http content serving. So while this does not necessarily mean that Linux is better than Windows 2000 it probably does mean that Linux + TUX is better than Windows 2000 + IIS (for the things measured by the benchmarks).

    Your observation that most Internet facing sites don't have anywhere near this sort of bandwidth is certainly correct. However, my Intranet server does have this much bandwidth (not that I would appreciate it if it saturated this bandwidth). Besides, if you are going to let bandwidth be the limiting factor then it really doesn't matter what kind of web server you are using. A 486 running Apache will happily saturate a T1 with static content.

    Not that any of this matters. The two most important features, to me anyway, of Linux are 1) Freedom, and 2) Cost. Linux wins hands-down if these are the factors that you value most.

    From the results you must either conclude that Dell (and the rest of the WinTel vendors) are either trying to make Windows 2000 look bad, or you must conclude that Linux + TUX is going to make one heck of a compelling case as a web platform.

    Either way it looks bad for Windows 2000 as a web server OS.

  15. real world by ArchieBunker · · Score: 4

    Not very close, most busy sites don't have all static content.

    On a side note I think you should all visit this address and see what andover.net is running:

    http://www.netcraft.com/whats/?host=www.andover. net

    Solaris eh? Whats the front page of andover say?
    "Leading the linux destination" great example you're setting there.

    --
    Only the State obtains its revenue by coercion. - Murray Rothbard
  16. Linux leads the way by _underSCORE · · Score: 4

    This is truly fantastic news, for years linux has held the lead over Windows in stability, usability, remote access, and bugfixes. Now it's poised to take the lead in the one area in which it was lacking... meaningless benchmarks.
    Now the only advantage Win2K has over linux is a transparent start menu.

    --
    "This is not a company that appears to be bothered by ethical boundaries."
    Attorney General Mike Hatch on Microsoft
  17. Ignore this! by Billy+Donahue · · Score: 5

    I'd use Linux if Windows was 200% faster..
    A faster Windows still locks me into it's
    stupid upgrade treadmill... Benchmark
    results are just statistics.. and as you
    know, there are "Lies, Damn Lies, and Statistics".

    You can't just jump up and down when Linux
    beats Windows on a benchmark. Then you're
    setting yourself up to hang your head when
    Linux loses one every now and then (Mindcraft)..
    In so doing, you're missing the point:
    The speed, usability, or even stability of
    free software is not the driving force behind
    its existence, It's the FREEDOM!

    On Independence Day, of all days, you lose
    sight of this? I'm so tired of these benchmarks.

    --
    -- The Funk, The Whole Funk, And Nothing But The Funk
  18. Re:two words.. by jonnythan · · Score: 5

    When the Mindcraft benchmarks came out, every Linux zealot screamed and cried that there were problems with the benchmark. They were right. Some sensible people pointed out something interesting I remember..

    They said that when someone performs a benchmark in the future and it shows Linux outperforming Windows NT or 2000 by a sizeable margin, the Linux zealots will claim that THIS benchmark is the correct one and Mindcraft will be PROVEN wrong.

    This post seems to me like exactly that behavior. Mindcraft doesn't tune Linux the right way and WinNT trounces it. Linux zealots scream bloody murder and inspect the process with a microscope. Someone else does a benchmark that shows Linux 3 times faster than Win 2k, and they are content that the Mindcraft fiasco has been avenged.

    Take a look at yourselves. I'm not a Linux lover. I think it has a long long way to go before the mainstream starts to take it seriously. There are so many problems with it right now..installing programs, removing them, x windows interface complexity, simple text editors..the list goes on. Honestly, I don't think it will ever become mainstream - it will get replaced by something else that will before long.

    I don't love Windows either. There are of course many problems with it. However, it's not the spawn of Satan and Linux is not the Great Hope or messiah.

    Be objective, people. Please. You'll do your "cause" some good.

  19. the crucial difference by konstant · · Score: 5

    The two major distinctions between these benchmarks and the unjustly-maligned Mindcraft benchmark that were later confirmed by PC Labs:
    1) these tests compare Win2k to Linux. By contrast, the Mindcraft study compared WinNT4.0 to Linux.

    2) in the "Operating System" column of the Linux boxes, we see a revealing note:
    Operating System: Red Hat Linux 6.2 Threaded Web Server Add-On

    It seems as though RHAT has taken the trouble to render its TCP/IP stack into a multi-threaded model, rather than the forked model I understand it used to be. This was identified as the primary deficiency in the previous benchmarks.

    At the time, Linux afficianados claimed that the superiority would be short lived. Assuming these stats are otherwise legit, it seems as though they were right, and in such a brief period of time as well. I'm impressed! Keep pumping out impressive turn-arounds like this one, and very soon commercial entities will have to give open source its just props as a development model.

    I am slightly curious whether this "web server add-on" is available to consumers, and also whether it is a fully-featured web server. If not, and this is just a hack, that might cast a pall of illegitimacy. Anyone have the inside scoop?

    -konstant
    Yes! We are all individuals! I'm not!

    --
    -konstant
    Yes! We are all individuals! I'm not!
    1. Re:the crucial difference by Black+Parrot · · Score: 4

      > the unjustly-maligned Mindcraft benchmark

      No, the malignance was just. Even though Mindcraft II addressed some of the obvious technical problems with the first round, they still ran an extremely odd benchmark on an extremely odd selection of hardware, which left them open to charges of having tuned the test to provide the desired results. (I.e., "Here's one we can win!") These charges were confirmed by the suite of benchmarks run by c't at about the same time, where Linux won on almost every test, even though there was a realistic and reasonable variety between the specific c't tests, rather than a single bizarre test as in Mindcraft. (Another poster has given a link to those results.)

      Even though Red Hat was foolish enough to participate in Mindcraft II [*] and thereby gave the benchmarks an appearance of legitimacy, many of us said in advance that we would not accept the results if they did not use a more relistic benchmark on a more realistic selection of hardware. I, for one, still stand by that.

      It's absurd to put any stock in a benchmark that is sponsored by a company with a direct interest in the outcome and that does not even reflect a standard benchmark.

      [*] Or not, as the case may be. Perhaps they were just trying to get a close look at the behavior so that they could get started on their "add on". Indeed, this may be what happened - see the details and notice the "Each NIC IRQ bound to a different CPU; Each TUX thread's listening address bound to 1 NIC's associated network", which sound like a direct response to Mindcraft.

      > I am slightly curious whether this "web server add-on" is available to consumers

      The linked page says that the "HTTP Software", "Operating System", and "Supplemetal System" (whatever that is) will be available in August 2000, so it does sound a bit vaprous.

      --

      --
      Sheesh, evil *and* a jerk. -- Jade
  20. Errrm, 4... GIG?? by WasterDave · · Score: 4

    These numbers seem hugely high to me. I mean... 4,200 simultaneous connections at 350kbit/sec is around 1.5Gbit/s. To do that you'd need some fairly serious NIC's. A closer inspection of the test setup reveals the server was pushing 4 networks through 4 gigabit alteon network cards.

    Reality check guys. Does anyone have 4 gig of external connectivity? And doesn't 4,200 simultaneous connections of 350kbit/sec each represent, like, Yahoo? (without doing the sums)

    This would also seem to spurn a more serious debate in terms of web performance testing. If we can get a single server to munge through this kind of quantity of throughput - why have clusters of servers at all? Clearly real world servers perform nothing like as well as this, and we need to have a better look at why.

    Dave :)

    --
    I write a blog now, you should be afraid.