Slashdot Log In
Linux Beats Win2000 In SpecWeb 2000
Posted by
timothy
on Tue Jul 04, 2000 10:48 PM
from the lies-damn-lies-statistics-computer-benchmarks dept.
from the lies-damn-lies-statistics-computer-benchmarks dept.
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.
This discussion has been archived.
No new comments can be posted.
Linux Beats Win2000 In SpecWeb 2000
|
Log In/Create an Account
| Top
| 315 comments
(Spill at 50!) | Index Only
| Search Discussion
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Re:Where's the variations in hardware and software (Score:4)
more info about TUX 1.0 (Score:5)
'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 [spec.org]. 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.
Re:two words.. (Score:4)
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.
--
Why are the backlogs different? (Score:5)
An interesting test... (Score:5)
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...
Re:the crucial difference (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.
Re:And you assume Dell is objective because...? (Score:4)
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 [spec.org] 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.)
Re:two words.. (Score:4)
Yes, that would be reasonable. (Score:3)
Thus, if your personal experience tells you that Linux kicks the shit out of MS operating systems for Web server performance, a benchmark test whose results accord with that experience is more believable than one which contradicts it.
That's just good sense, isn't it?
--
Re: FreeBSD and Linux (Score:3)
Re:Linux moving in the right direction? (Score:4)
http://geocrawler.com/lists/3/Linux/35/150/3977
its VERY important that linux users are aware that the linux devleopment process is hitting a roadblock right now. things dont look too bright.
Looks like Mindcraft is now available for linux (Score:4)
dynamic content benchmarks? (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. I know I'm very interested in seeing how PHP on Linux compares to ASP on W2K.
Re:Ignore this! (Score:5)
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.
Where's the variations in hardware and software? (Score:4)
Re:the crucial difference (Score:3)
How can anyone claim that any MS sponsored benchmark has any legitimacy whatsoever as long as MS insists that there be no benchmarking of their products in the EULAs?
I wonder how SPEC was able to perform this benchmark?
-Jordan Henderson
Re:dynamic content benchmarks? (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.
Re:Linux Zealots: come out and play! (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.
HTTP accelerated by the kernel? (Score:3)
No, i dont think there is any such divide, and i think TUX does not contradict Unix concepts. CPUs get faster and protocols get more complex every day. Right now the HTTP protocol is common enough to be accelerated by kernel-space - just like the TCP/IP protocol got common enough 10-15 years ago to move into the kernel in many other OSs.
The question thus is not 'should we put HTTP into the kernel', but rather '*when* and *how* should we put HTTP into the kernel'. Think of this as an act of 'caching', the OS caches and should cache 'commonly used protocols'.
Where is the limit? There is no clear limit, but the limit is definitely being pushed outwards every day. HTTP is becoming a universal communication standard, with the emergence of XML the role of HTTP cannot be overhyped i think.
And the last but not least argument, if you dont need it, you can always turn CONFIG_TUX off.
Re:dynamic content benchmarks? (Score:3)
of course, what a nightmare that would be to configure for benchmarking.. i guess you'd have to use oracle on NT and on Linux, but it's a DOG on NT, and, as much as i hate windows, it just wouldn't be fair.
maybe SQL Server + IIS on the NT boxen and Oracle + Apache on the leenuchs boxens.
real world (Score:4)
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
Solaris eh? Whats the front page of andover say?
"Leading the linux destination" great example you're setting there.
Re:dynamic content benchmarks? (Score:5)
From http://www.spec.org/osg/web99/ [spec.org]:
It certainly looks like they are testing Dynamic content as well as static. Check out http://www.spec.org/osg/web99/results/ api-src/ [spec.org] for the source for the dynamic content.
Linux leads the way (Score:4)
Now the only advantage Win2K has over linux is a transparent start menu.
Oh please. Disgusting. (Score:3)
These systems, although very similar, are not identical. Different drive arrangements, different scsi controllers.
And, to boot, one is running IIS 5 and one is running Tux 1.0 (whatever that is...).
What does this prove about the individual Operating systems? ABSOLUTELY NOTHING!
It shows that operating system 'A' running web software 'B' on machine 'C' is faster than operating system 'X' running web software 'Y' on machine 'Z'.
What the hell is 'Tux 1.0?' Yes.. I could look it up. WHy not at least benchmark Apache, so at least you could say 'benchmark of most common intenret platform for each OS' or something..
Ignore this! (Score:5)
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.
Linux Zealots: come out and play! (Score:3)
Yes, there were problems with the Mindcraft benchmarks - and yes there are problems with this one. Namely, what in gods name are they comparing? They certainly arent comparing operating systems - there are way too many differences in this case to do that objectively. Next time somebody runs benchmarks between the two OSes, please try to keep the following things in mind:
(1) USE THE SAME HARDWARE! I cannot stress this point enough. What you people may call minor differences may often have a MAJOR effect on the outcome of a benchmark such as this.
(2) Use the same Webserver Software. How in gods name can you blame or claim any of these benchmarks on the operating system? Both are using completely different HTTP servers (one which is isnt even publically available and shouldn't have been used = TUX). If you want a legitimate operating system benchmark and not and HTTP server benchmark - try to compare Win2k running Apache for NT and Linux running Apache. Otherwise climb off your high horses right now - these are webserver benchmarks NOT OS benchmarks. I for one will say that Apache for NT consumes a lot less memory than IIS 5.0 - though on my small intranet site I've yet to notice any speed difference.
(3) The results are unrealistic. What kind of server has 4 gigabytes of bandwith?
(4) Also - make a point to configure both servers equally - it seems to me you guys scrimped here and there on IIS configuration - I wonder why?
If the Linux world wants credibility - its time to grow up and earn it. You guys sure talk a great game - but when it comes down to the numbers you are either whining when you get trounced or creaming in your pants over benchmarks which are obviously flawed.
While Im on my soapbox - let me say this also: Its amazing how many of the news story's of this so-called "News for Nerds" site appear to be blantantly attacking Microsoft and promoting Linux. Its obvious that whatever sense of objectivity Slashdot once had (if ever) has long been lost to the horde of pre-pubescent teenagers who only have one goal: To get something for nothing.
So there you go - take it or leave it - I dont really care. You may either post a reply or email one to darkgamorck@home.com
Gam
Re:Where's the variations in hardware and software (Score:3)
Suns, sure, but Macintoshes? I don't think I'm aware of anybody using Macs for even semi-serious webserving. Neither the OS (OSX is a different ballgame, granted) nor the hardware is designed for this kind of thing. Correct me if I'm wrong, please :)
As regards to the number of HTTP servers, maybe they just ran out of time and money to benchmark ten squillion different configuration, and chose the ones that they believed were in most common usage. Testing more of them would certainly be a good thing, though.
Re:two words.. (Score:5)
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.
the crucial difference (Score:5)
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!
Re:the crucial difference (Score:3)
Interpreting the results: The REAL bubble! (Score:3)
1) the maximum filesize in the SPECweb99 benchmark is 900kb, this is why there is a 1MB limit set. Your claim that there are 1MB objects in the benchmark is false.
2) the CGI executable is mandated by the SPECweb99 Run Rules. A process must be created and destroyed. But the total amount of CGI requests is 0.1%! All the other 99.9% of the workload was handled with IIS 'low application priority' modules, which is a DLL loaded into IIS's address space, not a .EXE.
3) the IIS object cache was set to 2GB (not 2MB). It's set to 2GB because Windows 2000 + IIS has a serious limitation, threads (such as the IIS threads) can only address 2GB. This is a design flaw in Windows 2000, which hunts them in the enterprise now.
4) are you really seriously promoting the idea that the top 4 PC OEMs (Dell, IBM, Compaq, HP) and Microsoft did not tune IIS to the max and somehow conspired in making Linux+TUX numbers look good?
Fact is, the only reason why the TUX result was compared to the same Dell system is that the Dell system also happened to have the fastest Windows 2000 results. Your whole line of argumentation is obviously flawed if you compare IBM's similar Windows 2000 SPECweb99 result to the [spec.org]TUX result [spec.org].
Not everyone wants freedom (I do though) (Score:3)
So while the benchmarks don't directly impact on us, their influence over business computing does give benchmarks some significance.
tangent - art and creation are a higher purpose
Errrm, 4... GIG?? (Score:4)
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
Re:Ignore this! (Score:3)
Think about it from the point of view of someone who is trying to justify a linux web server in a business environment. I'm going to assume that most businesses have a budget dealing with what they're going to spend for the year on equipment and software. Isn't it worth it to prove that you could save hundreds of dollars on Windows and the licenses if linux met the businesses needs?
Say the web server is going to be spitting out static HTML on DSL or a T1, what's the point in having an NT/Win2k box for that when Linux or BSD would do the job for a considerable savings. The money saved would be money for another project